/* Kiln: content blocks after the hero ( D ) … ( J ) */
.block { position: relative; padding: 18vh var(--gut) 14vh; max-width: 1360px; margin: 0 auto; }
.label { display: flex; gap: 14px; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); text-transform: lowercase; margin-bottom: 28px; }
.label span { color: var(--ink); letter-spacing: .3em; text-transform: uppercase; }
.title { margin: 0 0 16px; font-weight: 500; font-size: clamp(30px, 4.4vw, 68px); line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
.title em, .story em, .huge em { font-style: italic; font-weight: 300; }
.lede { max-width: 46ch; color: var(--ink-2); font-size: 16px; margin: 0 0 48px; }
.fine { font-size: 11px; color: var(--muted); }

/* ( D ) origin: words light up as you scroll */
.origin { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; }
.story { margin: 0; max-width: 24ch; font-size: clamp(28px, 4vw, 60px); line-height: 1.08; letter-spacing: -.025em; font-weight: 400; }
.story .w { opacity: .14; }

/* ( E ) workshop */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { position: relative; padding: 26px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; overflow: hidden; }
.tool::after { content: ""; position: absolute; right: 22px; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px 3px rgba(255, 180, 60, .7); opacity: 0; transform: scale(.4); transition: .35s; }
.tool:hover { background: rgba(255, 255, 255, .28); }
.tool:hover::after { opacity: 1; transform: none; }
.tool svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: transform .5s cubic-bezier(.2, .9, .2, 1); }
.tool:hover svg { transform: translateY(-4px) rotate(-6deg); }
.tool span { display: block; font-size: 11px; color: var(--muted); }
.tool b { display: block; margin: 4px 0 6px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.tool p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 30ch; }

/* ( F ) studio window */
.window { border-radius: 18px; overflow: hidden; background: #f3f2f0; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e9e8e5; font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; }
.win-bar span { margin-left: 10px; }
.win-state { margin-left: auto; font-weight: 500; color: #c46a12; }
.win-state.done { color: #3a8a4a; }
.win-body { display: grid; grid-template-columns: 1fr 1.25fr 1fr; min-height: 420px; }
.pane { position: relative; padding: 14px; border-right: 1px solid var(--line); min-width: 0; }
.pane:last-child { border-right: 0; }
.pane-h { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.bubble { font-size: 13.5px; line-height: 1.45; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.bubble.me { background: var(--ink); color: #f3f2f0; border-bottom-right-radius: 4px; margin-left: 14%; }
.bubble.bot { background: #fff; display: grid; gap: 6px; }
.step { font-size: 11.5px; color: var(--ink-2); }
.step.live { color: #c46a12; }
.code pre { margin: 0; font-size: 11.5px; line-height: 1.6; color: #2b2b2b; white-space: pre-wrap; word-break: break-word; height: 360px; overflow: hidden; }
.code pre .k { color: #b5510c; }
.code pre .s { color: #3f7a3a; }
.code pre .c { color: #9a9a9a; }
.code pre::after { content: "▍"; color: #c46a12; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.preview { display: flex; flex-direction: column; background: #fff7ef; }
.tomato-app { flex: 1; display: grid; place-items: center; align-content: center; gap: 10px; }
.tomato { position: relative; width: 120px; height: 108px; border-radius: 50% 50% 46% 46%; background: #e8452c; display: grid; place-items: center; box-shadow: inset -12px -14px 0 rgba(0, 0, 0, .1); transition: background .6s; }
.tomato .leaf { position: absolute; top: -10px; width: 34px; height: 16px; border-radius: 50%; background: #3e8f3a; }
.tomato .face { font: 600 22px var(--sans); color: #fff; }
.tomato.angry { background: #c8231a; animation: shake .25s linear infinite; }
@keyframes shake { 25% { transform: translateX(-2px) rotate(-2deg); } 75% { transform: translateX(2px) rotate(2deg); } }
.clock { font-size: 34px; letter-spacing: -.02em; }
.mini { font-size: 11px; color: var(--muted); }
.console { font-size: 11px; color: #3a8a4a; border-top: 1px solid var(--line); padding-top: 8px; }
.console span { color: var(--muted); margin-right: 8px; }

/* ( G ) heat */
.heats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.heatcard { position: relative; overflow: hidden; border-radius: 20px; padding: 30px; min-height: 260px; background: rgba(255, 255, 255, .3); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.heatcard.hot { background: #141414; color: #f1efea; }
.heatcard span { font-size: 11px; color: var(--muted); }
.heatcard b { font-size: 32px; font-weight: 500; letter-spacing: -.02em; margin: 6px 0 8px; }
.heatcard p { margin: 0; max-width: 32ch; font-size: 14px; opacity: .75; }
.flame { position: absolute; right: 30px; top: 30px; width: 70px; height: 90px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; filter: blur(2px); animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.flame.low { background: radial-gradient(60% 70% at 50% 70%, #ffd27a, rgba(255, 160, 50, .2) 70%, transparent); width: 46px; height: 60px; }
.flame.high { background: radial-gradient(60% 70% at 50% 70%, #fff3cf, #ffb43c 35%, #e2561c 65%, transparent 72%); }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.94, 1.08) skewX(3deg); } 100% { transform: scale(1.04, .96) skewX(-3deg); } }
.heat .fine { margin-top: 18px; }

/* ( H ) vault */
.facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { border-top: 1px solid var(--ink); padding-top: 16px; }
.facts b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 6px; }
.facts p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ( I ) fund */
.flow { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); }
.flow li { position: relative; padding: 22px 26px 26px 0; border-top: 1px solid var(--line); }
.flow li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.flow li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px 2px rgba(255, 180, 60, .7); }
.flow li + li::before { left: 26px; }
.flow span { font-size: 11px; color: var(--muted); }
.flow b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 6px 0; }
.flow p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 28ch; }
.bounties { border-radius: 18px; background: #141414; color: #f1efea; padding: 24px 26px; }
.b-h { font-size: 11px; color: #8d8a84; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .12em; }
.b-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.b-row b { font-weight: 500; font-size: 17px; }
.b-row span { font-size: 12px; color: #a9a59d; text-align: right; }
.bounties .fine { margin: 14px 0 0; color: #8d8a84; }

/* ( J ) closing */
.cta { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.cta .label { justify-content: center; }
.huge { margin: 0 0 34px; font-weight: 500; font-size: clamp(44px, 8.4vw, 140px); line-height: .9; letter-spacing: -.045em; }
.huge .ln { display: block; overflow: hidden; }
.huge .ln > span { display: inline-block; }
.pill.big { padding: 13px 28px; font-size: 13px; background: var(--ink); color: var(--bg-1); }
.pill.big:hover { background: transparent; color: var(--ink); }
.surfaces { margin-top: 12vh; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.surfaces > div { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--bg-1); }
.surfaces span { font-size: 11px; color: var(--muted); }
.surfaces b { display: block; font-size: 20px; font-weight: 500; margin: 4px 0; }
.surfaces p { margin: 0; font-size: 13px; color: var(--ink-2); }
.surfaces i { position: absolute; right: 16px; top: 16px; font-style: normal; font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.surfaces i.on { color: #c46a12; border-color: rgba(196, 106, 18, .4); }

.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; padding: 28px var(--gut) calc(var(--gut) + 56px); border-top: 1px solid var(--line); font-size: 12px; background: var(--bg-1); }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--ink-2); }
.foot .fine { width: 100%; margin: 0; }

@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr 1fr; }
  .win-body { grid-template-columns: 1fr; }
  .pane.code { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .block { padding: 12vh var(--gut) 10vh; }
  .tools, .heats, .flow, .facts, .surfaces { grid-template-columns: 1fr; }
  .flow li + li { padding-left: 0; border-left: 0; }
  .flow li + li::before { left: 0; }
  .b-row { flex-direction: column; gap: 4px; }
  .b-row span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .flame, .tomato.angry, .code pre::after { animation: none; }
}
