:root {
  color-scheme: dark;
  --bg: #090a08;
  --panel: #10120e;
  --panel-2: #141711;
  --line: rgba(230, 239, 207, .13);
  --line-strong: rgba(230, 239, 207, .24);
  --text: #f4f5ee;
  --muted: #a0a399;
  --soft: #73776c;
  --lime: #d6ff3f;
  --lime-dim: #a9c83a;
  --page: min(1200px, calc(100% - 72px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); }
::selection { color: #0b0c08; background: var(--lime); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 16px; background: var(--lime); color: #0a0b08; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--page); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(9, 10, 8, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { width: var(--page); height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 30px; overflow: hidden; }
.brand-mark img { width: 34px; height: 30px; object-fit: contain; }
.brand-word { font-size: 17px; font-weight: 760; letter-spacing: -.055em; }
.brand-word span { color: var(--lime); }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 50px); color: #c8c9c1; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.primary-nav a:not(.nav-cta), .footer-links a { transition: color .2s ease; }
.primary-nav a:not(.nav-cta):hover, .footer-links a:hover { color: var(--lime); }
.nav-cta { display: inline-flex; align-items: center; gap: 19px; padding: 12px 17px; color: #11130c; background: var(--lime); border-radius: 99px; font-weight: 800; letter-spacing: .04em; transition: transform .2s, background .2s; }
.nav-cta:hover, .button-primary:hover { transform: translateY(-2px); background: #e2ff76; }
.nav-cta span { font-size: 15px; line-height: 10px; }
.menu-toggle { display: none; }
.hero { position: relative; padding-top: clamp(72px, 9vw, 124px); padding-bottom: 42px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 60px; right: -9%; width: 68%; height: 460px; pointer-events: none; background: radial-gradient(ellipse at 68% 28%, rgba(172, 224, 39, .12), transparent 57%); }
.hero-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 50px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: #aeb1a5; font-size: 10px; font-weight: 720; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.status-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(214, 255, 63, .52); }
.eyebrow-divider { color: #5f625a; }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1 { margin-bottom: 20px; font-size: clamp(51px, 7.4vw, 94px); font-weight: 650; letter-spacing: -.075em; line-height: .97; }
.hero h1 span, h2 span { color: var(--lime); }
.hero-lede { max-width: 590px; margin-bottom: 28px; color: #b7bab0; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 99px; font-size: 12px; font-weight: 720; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button-primary { background: var(--lime); color: #0b0d07; }
.button-primary span { font-size: 16px; }
.button-quiet { border-color: var(--line-strong); color: var(--text); }
.button-quiet:hover { border-color: var(--lime-dim); color: var(--lime); }
.hero-index { min-width: 214px; padding: 16px 0 2px 20px; border-left: 1px solid var(--line-strong); }
.index-label, .index-foot { display: block; color: var(--soft); font-size: 9px; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.index-value { display: block; margin: 13px 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.index-value i { color: var(--lime); font-style: normal; }
.index-foot { color: #b3b7a9; font-size: 9px; letter-spacing: .08em; }
.concept-figure { margin: 0; }
.art-frame { position: relative; overflow: hidden; border: 1px solid rgba(214, 255, 63, .27); background: #10110d; box-shadow: 0 18px 90px rgba(0, 0, 0, .42), 0 0 55px rgba(214, 255, 63, .055); }
.art-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 7, 5, .09), transparent 45%, rgba(5, 7, 5, .08)); }
.art-corner { position: absolute; z-index: 1; width: 22px; height: 22px; border-color: var(--lime); opacity: .8; }
.art-corner-tl { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.art-corner-br { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }
.art-badge { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: rgba(8, 9, 7, .83); border: 1px solid rgba(214, 255, 63, .25); color: #eff2e5; font-size: 9px; font-weight: 750; letter-spacing: .14em; backdrop-filter: blur(8px); }
.art-badge .status-dot { width: 6px; height: 6px; }
figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 13px; color: var(--soft); font-size: 9px; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
figcaption span:first-child { color: #cbd0be; white-space: nowrap; }
.scroll-cue { display: flex; align-items: center; gap: 10px; margin-top: 37px; color: #818579; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.scroll-cue span { display: inline-block; width: 34px; height: 1px; background: var(--lime); }
.intro-section { display: grid; grid-template-columns: 1fr .88fr; gap: clamp(50px, 10vw, 150px); padding-top: clamp(100px, 14vw, 176px); padding-bottom: clamp(100px, 13vw, 160px); }
.section-number { color: var(--lime); }
.section-heading h2, .developer-copy h2, .closing-inner h2 { margin: 0; font-size: clamp(38px, 5.4vw, 66px); font-weight: 560; letter-spacing: -.07em; line-height: 1.05; }
.intro-detail { align-self: end; padding-bottom: 4px; }
.large-copy { margin-bottom: 18px; color: #e8eae2; font-size: clamp(19px, 2.3vw, 25px); font-weight: 450; letter-spacing: -.035em; line-height: 1.5; }
.muted-copy { max-width: 570px; margin-bottom: 26px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid rgba(214, 255, 63, .42); color: var(--lime); font-size: 11px; font-weight: 720; letter-spacing: .025em; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.execution-section { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 82% 34%, rgba(105, 135, 31, .09), transparent 45%), #0d0f0b; }
.execution-section::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(214,255,63,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(214,255,63,.08) 1px, transparent 1px); background-size: 86px 86px; mask-image: linear-gradient(90deg, transparent, black 70%); }
.execution-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 9vw, 130px); padding-top: clamp(85px, 11vw, 128px); padding-bottom: clamp(80px, 10vw, 110px); }
.execution-inner > .section-heading { align-self: start; position: sticky; top: 118px; }
.heading-note { max-width: 390px; margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.flow-list { position: relative; margin: 0; padding: 0; list-style: none; }
.flow-list::before { content: ""; position: absolute; left: 21px; top: 31px; bottom: 31px; width: 1px; background: linear-gradient(var(--lime), rgba(214, 255, 63, .13)); }
.flow-step { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; min-height: 86px; padding: 12px 15px 12px 0; border-bottom: 1px solid var(--line); }
.flow-step:first-child { border-top: 1px solid var(--line); }
.flow-no { position: relative; z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(214, 255, 63, .36); border-radius: 50%; background: #0d0f0b; color: var(--lime); font-size: 10px; font-weight: 720; }
.flow-copy { display: flex; flex-direction: column; gap: 6px; padding-left: 10px; }
.flow-copy strong { font-size: 14px; font-weight: 640; letter-spacing: -.015em; }
.flow-copy small { color: var(--muted); font-size: 11px; }
.flow-mark { color: #777c6e; font-size: 18px; }
.approval-step { margin-block: 8px; padding-left: 10px; border: 1px solid rgba(214, 255, 63, .36); background: linear-gradient(90deg, rgba(214, 255, 63, .08), rgba(214, 255, 63, .015)); }
.approval-step .flow-no { background: var(--lime); color: #11130c; }
.approval-tag { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.execution-note { display: grid; grid-template-columns: 27px 1fr auto; gap: 13px; align-items: start; margin-top: 23px; padding: 17px; border: 1px solid var(--line); background: rgba(6, 7, 5, .55); }
.note-icon { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font-size: 12px; font-weight: 800; }
.execution-note p { margin: 0; color: #aeb2a5; font-size: 10px; line-height: 1.75; }
.execution-note strong { color: var(--text); }
.execution-note > a { color: var(--lime); font-size: 9px; font-weight: 700; white-space: nowrap; }
.interfaces-section { padding-top: clamp(95px, 12vw, 144px); padding-bottom: clamp(92px, 12vw, 140px); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 47px; }
.section-heading-row .eyebrow { margin-bottom: 23px; }
.section-heading-row .heading-note { max-width: 325px; margin: 0 0 4px; }
.interface-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.interface-card { position: relative; grid-column: span 2; min-height: 227px; padding: 21px 21px 18px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.018), transparent 70%); transition: border-color .22s, transform .22s, background .22s; }
.interface-card:hover { transform: translateY(-4px); border-color: rgba(214, 255, 63, .42); background-color: rgba(214,255,63,.025); }
.interface-card:nth-child(4), .interface-card:nth-child(5) { grid-column: span 3; min-height: 210px; }
.card-code { color: #74796c; font-size: 8px; font-weight: 760; letter-spacing: .13em; }
.card-glyph { display: grid; place-items: center; width: 37px; height: 37px; margin: 23px 0 15px; border: 1px solid rgba(214, 255, 63, .33); color: var(--lime); font-size: 18px; }
.interface-card h3 { margin-bottom: 7px; font-size: 16px; font-weight: 620; letter-spacing: -.035em; }
.interface-card p { max-width: 320px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.card-status { position: absolute; right: 18px; bottom: 18px; color: #858a7c; font-size: 8px; font-weight: 720; letter-spacing: .1em; }
.console-card .card-status { color: var(--lime-dim); }
.developer-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0f0b; }
.developer-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(55px, 10vw, 130px); padding-top: clamp(84px, 11vw, 128px); padding-bottom: clamp(84px, 11vw, 128px); }
.developer-copy h2 { margin-bottom: 22px; }
.developer-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.code-panel { border: 1px solid var(--line-strong); background: #090b08; box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.code-head { display: flex; justify-content: space-between; align-items: center; min-height: 43px; padding-inline: 16px; border-bottom: 1px solid var(--line); color: #858a7d; font-size: 8px; font-weight: 730; letter-spacing: .14em; }
.code-head > span:first-child { display: flex; gap: 5px; }
.code-head i { width: 6px; height: 6px; border-radius: 50%; background: #555a4e; }
.code-head i:first-child { background: var(--lime); }
.code-body { padding: 25px 22px 28px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-body p { margin: 0 0 12px; color: #e2e6d7; font-size: clamp(14px, 2vw, 19px); }
.code-body p:last-child { margin-bottom: 0; }
.code-prompt { margin-right: 12px; color: var(--lime); }
.code-foot { display: flex; justify-content: space-between; gap: 15px; padding: 12px 16px; border-top: 1px solid var(--line); color: #82877a; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.roadmap-section { padding-top: clamp(96px, 12vw, 144px); padding-bottom: clamp(90px, 11vw, 128px); }
.roadmap-top { display: flex; align-items: center; gap: 34px; }
.roadmap-top .eyebrow { margin-bottom: 0; white-space: nowrap; }
.roadmap-line { width: 100%; height: 1px; background: var(--line); }
.roadmap-title { margin: 38px 0 50px; font-size: clamp(38px, 5.5vw, 67px); font-weight: 550; letter-spacing: -.07em; line-height: 1.07; }
.roadmap-title span { color: #969a8d; }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.network-card { min-height: 247px; padding: 22px 23px 20px; border: 1px solid var(--line); background: #0d0f0b; }
.network-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.network-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--lime); font-size: 15px; font-weight: 700; }
.network-state { padding: 7px 9px; font-size: 8px; font-weight: 730; letter-spacing: .1em; }
.state-documented { color: var(--lime); border: 1px solid rgba(214,255,63,.27); }
.state-future { color: #bdc0b5; border: 1px solid var(--line-strong); }
.network-card h3 { margin: 24px 0 8px; font-size: 23px; font-weight: 610; letter-spacing: -.05em; }
.network-card p { max-width: 440px; min-height: 44px; margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.future-card { background: linear-gradient(140deg, rgba(255,255,255,.025), transparent 60%), #0b0d0a; }
.future-card h3 { color: #e0e2da; }
.future-note { display: inline-block; color: #92968a; font-size: 9px; font-weight: 720; letter-spacing: .13em; }
.roadmap-disclaimer { margin: 23px 0 0; color: #777c70; font-size: 10px; line-height: 1.6; }
.closing-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 73% 50%, rgba(166, 205, 49, .11), transparent 48%), #0d0f0b; }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-top: clamp(70px, 9vw, 106px); padding-bottom: clamp(74px, 9vw, 110px); }
.closing-inner .eyebrow { margin-bottom: 20px; }
.closing-inner h2 { font-size: clamp(39px, 5.5vw, 67px); }
.closing-actions { max-width: 300px; padding-bottom: 5px; }
.closing-actions .button { white-space: nowrap; }
.closing-actions p { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px 30px; min-height: 96px; padding-block: 18px; }
.footer-brand .brand-word { font-size: 14px; }
.footer-brand .brand-mark, .footer-brand .brand-mark img { width: 29px; height: 26px; }
.footer-inner > p { margin: 0; color: #7e8377; font-size: 9px; letter-spacing: .04em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; color: #aeb2a6; font-size: 9px; }
.footer-mark { grid-column: 3; justify-self: end; color: #62675c; font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.footer-mark span { color: var(--lime-dim); }
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .68s ease, transform .68s cubic-bezier(.2,.7,.3,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 760px) {
  :root { --page: min(100% - 40px, 620px); }
  .header-inner { height: 66px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line-strong); background: transparent; }
  .menu-toggle span { height: 1px; width: 100%; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: rgba(9,10,8,.98); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a:not(.nav-cta) { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-cta { justify-content: center; margin-top: 15px; }
  .hero { padding-top: 64px; }
  .hero-intro { display: block; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(49px, 12vw, 72px); }
  .hero-lede { max-width: 500px; font-size: 16px; }
  .hero-index { display: none; }
  .art-frame img { aspect-ratio: 1.32 / 1; object-fit: cover; object-position: center; }
  .art-badge { right: 10px; bottom: 10px; font-size: 8px; }
  figcaption { flex-direction: column; gap: 5px; font-size: 8px; }
  .scroll-cue { margin-top: 27px; }
  .intro-section { grid-template-columns: 1fr; gap: 30px; padding-top: 92px; padding-bottom: 92px; }
  .section-heading h2, .developer-copy h2, .closing-inner h2 { font-size: clamp(40px, 10vw, 58px); }
  .execution-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 82px; }
  .execution-inner > .section-heading { position: static; }
  .flow-step { grid-template-columns: 42px 1fr auto; min-height: 77px; }
  .approval-step { padding-left: 6px; }
  .approval-step .flow-no { width: 39px; height: 39px; }
  .flow-copy strong { font-size: 12px; }
  .flow-copy small { font-size: 10px; }
  .approval-tag { max-width: 68px; font-size: 7px; text-align: right; }
  .execution-note { grid-template-columns: 25px 1fr; }
  .execution-note > a { grid-column: 2; }
  .section-heading-row { display: block; margin-bottom: 35px; }
  .section-heading-row .heading-note { margin-top: 18px; }
  .interface-grid { grid-template-columns: 1fr 1fr; }
  .interface-card, .interface-card:nth-child(4), .interface-card:nth-child(5) { grid-column: span 1; min-height: 220px; padding: 17px 15px; }
  .interface-card:nth-child(5) { grid-column: span 2; min-height: 185px; }
  .card-status { right: 12px; bottom: 13px; font-size: 7px; }
  .card-glyph { margin-top: 19px; }
  .developer-inner { grid-template-columns: 1fr; gap: 37px; padding-block: 82px; }
  .roadmap-top { gap: 15px; }
  .roadmap-title { margin-block: 32px 35px; font-size: clamp(40px, 10vw, 58px); }
  .network-grid { grid-template-columns: 1fr; }
  .network-card { min-height: 225px; padding: 18px; }
  .network-card p { min-height: 0; }
  .closing-inner { display: block; padding-block: 68px; }
  .closing-actions { max-width: none; margin-top: 30px; }
  .closing-actions .button { white-space: normal; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 14px 12px; padding-block: 21px; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; gap: 12px 18px; }
  .footer-mark { grid-column: 2; grid-row: 1; }
}
@media (max-width: 420px) {
  :root { --page: calc(100% - 32px); }
  .eyebrow { font-size: 8px; letter-spacing: .13em; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .button { width: 100%; }
  .art-frame img { aspect-ratio: 1.12 / 1; }
  .interface-grid { grid-template-columns: 1fr; }
  .interface-card, .interface-card:nth-child(4), .interface-card:nth-child(5) { grid-column: span 1; min-height: 190px; }
  .interface-card:nth-child(5) { min-height: 190px; }
  .network-top { align-items: flex-start; flex-direction: column; }
  .network-card h3 { margin-top: 18px; }
  .footer-links { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}


/* Motion pass: a lightweight, explicitly conceptual 3D layer over the existing artwork. */
.site-header { position: sticky; }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: var(--page-progress, 0%); height: 2px; background: var(--lime); box-shadow: 0 0 12px rgba(214,255,63,.52); transition: width .12s linear; }
.hero::before { animation: ambient-bloom 9s ease-in-out infinite alternate; }
.art-frame {
  isolation: isolate;
  perspective: 1200px;
  transform: perspective(1200px) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2,.7,.25,1), border-color .4s, box-shadow .5s;
  will-change: transform;
}
.art-frame:hover { border-color: rgba(214,255,63,.5); box-shadow: 0 28px 105px rgba(0,0,0,.52), 0 0 70px rgba(214,255,63,.095); }
.art-frame img {
  position: relative;
  z-index: 0;
  transform: translateZ(-8px) scale(1.035);
  animation: artwork-drift 10s ease-in-out infinite alternate;
  will-change: transform;
}
.art-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 56% 52%, rgba(214,255,63,.12), transparent 27%), linear-gradient(115deg, transparent 35%, rgba(214,255,63,.08) 49%, transparent 57%);
  background-size: 100% 100%, 220% 100%;
  background-position: center, 180% 0;
  mix-blend-mode: screen;
  animation: light-scan 8s ease-in-out infinite;
}
.art-frame::after { z-index: 1; }
.scene-canvas { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.art-corner { z-index: 3; transition: width .35s, height .35s, opacity .35s; }
.art-frame:hover .art-corner { width: 30px; height: 30px; opacity: 1; }
.art-badge { z-index: 4; box-shadow: 0 0 24px rgba(214,255,63,.08); }
.scroll-cue span { transform-origin: left; animation: cue-pulse 2.2s ease-in-out infinite; }
.js-ready .reveal { transform: translate3d(0, 24px, 0) rotateX(1.4deg); transition-delay: var(--reveal-delay, 0ms); }
.js-ready .reveal.is-visible { transform: translate3d(0, 0, 0) rotateX(0); }
.interface-card, .network-card, .code-panel {
  transform-style: preserve-3d;
  transition: transform .32s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s, background-color .3s;
  will-change: transform;
}
.interface-card { overflow: hidden; }
.interface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(214,255,63,.105), transparent 70%);
  transition: opacity .35s;
}
.interface-card:hover::before { opacity: 1; }
.interface-card:hover { transform: perspective(900px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)) translateY(-5px); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.network-card { position: relative; overflow: hidden; }
.network-card:hover { transform: perspective(900px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)) translateY(-4px); border-color: rgba(214,255,63,.38); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.network-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -95% 35%;
  height: 180px;
  border-radius: 50%;
  background: rgba(214,255,63,.055);
  filter: blur(35px);
  pointer-events: none;
  transition: transform .55s ease, opacity .55s ease;
  opacity: .55;
}
.network-card:hover::after { transform: translateY(-24px); opacity: 1; }
.flow-step { transition: background .35s, border-color .35s, transform .35s; }
.flow-step:hover { transform: translateX(5px); background: rgba(214,255,63,.025); }
.flow-no { transition: box-shadow .3s, transform .3s, background .3s; }
.flow-step:hover .flow-no { transform: scale(1.08); box-shadow: 0 0 20px rgba(214,255,63,.2); }
.button-primary { box-shadow: 0 0 0 rgba(214,255,63,0); }
.button-primary:hover { box-shadow: 0 7px 28px rgba(214,255,63,.2); }

@keyframes artwork-drift {
  from { transform: translate3d(0, 0, -8px) scale(1.035); }
  to { transform: translate3d(0, -5px, -8px) scale(1.052); }
}
@keyframes ambient-bloom { from { opacity: .6; transform: translate3d(0, 0, 0) scale(.96); } to { opacity: 1; transform: translate3d(-1.5%, 2%, 0) scale(1.04); } }
@keyframes light-scan { 0%, 20% { background-position: center, 180% 0; opacity: .45; } 65%, 100% { background-position: center, -150% 0; opacity: .82; } }
@keyframes cue-pulse { 0%, 100% { transform: scaleX(.58); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }
@media (max-width: 760px) {
  .art-frame { perspective: 900px; }
  .art-frame:hover .art-corner { width: 22px; height: 22px; }
  .scene-canvas { opacity: .77; }
  .js-ready .reveal { transform: translate3d(0, 18px, 0); }
  .interface-card:hover, .network-card:hover { transform: translateY(-3px); }
  .flow-step:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .art-frame img, .art-frame::before, .scroll-cue span { animation: none !important; }
  .art-frame, .interface-card, .network-card, .code-panel, .flow-step, .flow-no { transition: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; transition: none !important; }
}

/* Keep the ambient hero glow inside the responsive page bounds. */
.hero::before { right: 0; }


/* Modular World motion pass: a lightweight, scroll-reactive depth field behind the story. */
body { position: relative; isolation: isolate; background: #090a08; }
.world-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 72% 22%, rgba(118, 151, 38, .065), transparent 36%), radial-gradient(ellipse at 16% 78%, rgba(50, 83, 42, .045), transparent 40%);
}
.world-backdrop::before, .world-backdrop::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.world-backdrop::before {
  background: radial-gradient(ellipse at 69% 48%, rgba(214,255,63,.075), transparent 32%), radial-gradient(ellipse at 52% 50%, transparent 38%, rgba(2,4,3,.68) 100%);
  opacity: .8;
}
.world-backdrop::after {
  background-image: linear-gradient(rgba(214,255,63,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(214,255,63,.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at 72% 48%, black 0%, transparent 70%);
  opacity: .34;
}
.world-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: .74; mix-blend-mode: screen; }
.site-header, main, .site-footer { position: relative; }
.site-header { z-index: 10; }
main, .site-footer { z-index: 1; }
.hero { z-index: 1; }
.execution-section { background: radial-gradient(ellipse at 82% 34%, rgba(105,135,31,.09), transparent 45%), rgba(13,15,11,.82); backdrop-filter: blur(2px); }
.developer-section { background: rgba(13,15,11,.84); backdrop-filter: blur(2px); }
.closing-section { background: radial-gradient(ellipse at 73% 50%, rgba(166,205,49,.11), transparent 48%), rgba(13,15,11,.76); }
.art-frame { transform-style: preserve-3d; }
.art-frame img { backface-visibility: hidden; }
.interface-card, .network-card { backface-visibility: hidden; }
@media (max-width: 760px) {
  .world-canvas { opacity: .46; }
  .world-backdrop::after { background-size: 58px 58px; opacity: .22; }
  .execution-section, .developer-section { backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .world-canvas { opacity: .24; }
  .world-backdrop::before { opacity: .45; }
}
