/* =====================================================
   THEME TOKENS — dark only
   ===================================================== */
:root {
  color-scheme: dark;
  --bg:      #000000;
  --bg2:     #141414;
  --bg3:     #111111;
  --bg4:     #181818;
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --text:    #fafafa;
  --text2:   #a3a3a3;
  --text3:   #737373;
  --primary:       #ffffff;
  --primary-soft:  rgba(255,255,255,0.08);
  --green:         #fafafa;
  --green-soft:    rgba(255,255,255,0.06);
  --amber:         #d4d4d4;
  --amber-soft:    rgba(255,255,255,0.05);
  --red:           #a3a3a3;
  --red-soft:      rgba(255,255,255,0.04);
  --on-primary:    #000000;
  --shadow:        0 4px 32px rgba(0,0,0,0.5);
  --shadow-sm:     0 2px 16px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.6);
  --glass:   rgba(0,0,0,0.72);
  --glass2:  rgba(0,0,0,0.88);
  --dot:     #fafafa;
  --font: 'Averia Serif Libre', serif;
  --font-display: 'Nanum Pen Script', cursive;
  --display-text-size: clamp(22px, 2.2vw, 38px);
  --display-text-weight: 400;
  --display-text-leading: 1.55;
  --display-text-tracking: 0;
  --section-pad-y: 180px;
  --section-gap: 140px;
  --hero-pixel-spill: 10vh;
  --philosophy-gap: clamp(80px, 12vh, 140px);
  --showcase-edge-y: 100px;
  --scene-border: rgba(255,255,255,0.18);
  --scene-border-w: 1.5px;
}

/* polish */
.scroll-scene-block > *{
  border:var(--scene-border-w) solid var(--scene-border);
  box-shadow:var(--shadow-lg);
  will-change:transform;
}
.dashboard,
.wf2-wrap,
.ag-wrap{
  --d-r:22px;
  --d-r-sm:14px;
  --d-r-xs:12px;
}
.dashboard .metric-card-new,
.dashboard .chart-card-new,
.dashboard .card-sm,
.dashboard .timeline-section,
.dashboard .dash-agent-status,
.wf2-node,
.wf2-minimap,
.ag-sug,
.ag-msg-ai,
.ag-input-row{
  border:1px solid var(--border);
  box-shadow:var(--d-shadow);
}
.dashboard .dash-nav-item.active,
.wf2-tool.active{
  box-shadow:var(--d-shadow-sm);
}
.dashboard .metric-change-new,
.dashboard .agents-sub,
.dashboard .live-badge,
.wf2-badge{
  text-shadow:none;
}
.wf2-btn-primary{
  font-family:var(--font);font-size:14px;font-weight:600;
  padding:13px 26px;background:var(--primary);color:var(--on-primary);
  border-radius:8px;border:none;cursor:pointer;
  box-shadow:var(--shadow-sm);
}
.wf2-btn-primary:hover{box-shadow:var(--shadow)}
.ag-bot-sphere-wrap{box-shadow:var(--d-shadow);border-radius:50%}
.dashboard .status-dot,
.wf2-status-dot.ok,
.dashboard .agent-online{
  box-shadow:0 0 0 3px rgba(255,255,255,0.08);
}
.dashboard .dash-date-pill,
.wf2-btn-ghost,
.wf2-btn-del,
.wf2-zoom-btn{
  background:var(--d-surface);
}
.ag-msg-user{
  box-shadow:var(--shadow-sm);
}
.dashboard .metric-icon-box.amber{
  background:var(--amber-soft);
  box-shadow:none;
}
.dashboard .metric-icon-svg.amber{
  stroke:var(--amber);
  filter:none;
}

/* =====================================================
   BASE
   ===================================================== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:auto}
body,button,input,textarea,select{
  font-family:var(--font);
}
body{
  background:var(--bg);color:var(--text);
  font-size:15px;line-height:1.6;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
::selection{background:rgba(255,255,255,0.18)}
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--border2);border-radius:2px}

/* =====================================================
   CUSTOM CURSOR — lagging circle (fine pointer only)
   ===================================================== */
@media (pointer:fine) and (hover:hover){
  html.has-custom-cursor,
  html.has-custom-cursor *{
    cursor:none!important;
  }
}
.custom-cursor{
  position:fixed;left:0;top:0;z-index:10001;
  width:0;height:0;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
}
.custom-cursor.is-visible{opacity:1}
.custom-cursor-dot,
.custom-cursor-ring{
  position:absolute;left:0;top:0;
  transform:translate3d(-100px,-100px,0) translate(-50%,-50%);
  will-change:transform;
}
.custom-cursor-dot{
  width:5px;height:5px;border-radius:50%;
  background:var(--text);
  box-shadow:0 0 10px rgba(250,250,250,0.45);
  transition:transform .2s cubic-bezier(.22,1,.36,1),opacity .2s ease,
    background .2s ease,box-shadow .2s ease;
}
.custom-cursor-ring{
  width:34px;height:34px;border-radius:50%;
  border:1.5px solid rgba(250,250,250,0.42);
  background:rgba(250,250,250,0.02);
  box-shadow:0 0 0 1px rgba(250,250,250,0.04),0 0 24px rgba(250,250,250,0.06);
  transition:width .26s cubic-bezier(.22,1,.36,1),
    height .26s cubic-bezier(.22,1,.36,1),
    border-color .26s ease,background .26s ease,
    box-shadow .26s ease;
}
.custom-cursor.is-hover .custom-cursor-ring{
  width:50px;height:50px;
  border-color:rgba(250,250,250,0.78);
  background:rgba(250,250,250,0.06);
  box-shadow:0 0 0 1px rgba(250,250,250,0.08),0 0 32px rgba(250,250,250,0.1);
}
.custom-cursor.is-pressed .custom-cursor-ring{
  width:24px;height:24px;
  border-color:rgba(250,250,250,0.9);
  background:rgba(250,250,250,0.1);
}
.custom-cursor.is-on-menu .custom-cursor-dot{
  background:#111;
  box-shadow:0 0 10px rgba(0,0,0,0.28);
}
.custom-cursor.is-on-menu .custom-cursor-ring{
  border-color:rgba(17,17,17,0.72);
  background:rgba(17,17,17,0.06);
  box-shadow:0 0 0 1px rgba(17,17,17,0.08),0 0 20px rgba(0,0,0,0.12);
}
.custom-cursor.is-on-menu.is-hover .custom-cursor-ring{
  border-color:#111;
  background:rgba(17,17,17,0.1);
  box-shadow:0 0 0 1px rgba(17,17,17,0.12),0 0 28px rgba(0,0,0,0.16);
}
.custom-cursor.is-on-menu.is-pressed .custom-cursor-ring{
  border-color:#111;
  background:rgba(17,17,17,0.16);
}

/* =====================================================
   NOISE GRAIN OVERLAY
   ===================================================== */
.noise-overlay{
  position:fixed;inset:0;width:100%;height:100%;
  opacity:.3;pointer-events:none;z-index:9999;
  will-change:transform;
}
.noise-overlay-inner{
  width:100%;height:100%;position:relative;overflow:hidden;
}
.noise-overlay-grain{
  background:url('assets/noise-grain.png');
  opacity:.09;inset:-200%;width:400%;height:400%;
  position:absolute;
  animation:noise-drift 28s ease-in-out infinite alternate;
}
@keyframes noise-drift{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-1.6%,-1.2%,0)}
}
@media (prefers-reduced-motion:reduce){
  .noise-overlay-grain{animation:none}
}

/* =====================================================
   HERO HEADER — morphs into sticky bar on scroll
   ===================================================== */
:root{--header-h:58px}

/* =====================================================
   HERO
   ===================================================== */
.hero-section{
  position:relative;width:100%;min-height:100vh;min-height:100dvh;
  background:var(--bg);color:var(--text);
  display:grid;
  grid-template-rows:auto 1fr auto;
  overflow:visible;
}
.hero-header-wrap{
  position:absolute;inset:0;z-index:380;
  pointer-events:none;
}
.hero-header{
  position:relative;
  height:100%;
  display:flex;align-items:flex-start;justify-content:space-between;
  padding:16px 24px 0;
  pointer-events:none;box-sizing:border-box;
  isolation:isolate;
}
.hero-header.is-morphed{
  padding:16px 24px;
  align-items:center;
}
.hero-header.is-fixed{
  position:fixed;top:0;left:0;right:0;
  z-index:380;
  height:auto;
  justify-content:space-between;
  align-items:center;
  padding-top:max(16px,env(safe-area-inset-top));
  pointer-events:auto;
}
.hero-header-spacer{display:block;height:0;pointer-events:none}
.hero-header::before{
  content:'';position:absolute;inset:0;z-index:-1;
  background:var(--glass);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid transparent;
  opacity:var(--header-bg-opacity,0);
  pointer-events:none;
  transition:opacity .28s ease,border-color .28s ease;
}
.hero-header.is-fixed.is-morphed::before{
  border-bottom-color:var(--border);
}
.hero-brand{
  font-family:var(--font-display);
  font-size:38px;
  font-weight:700;line-height:1;
  letter-spacing:0.04em;
  color:var(--text);text-decoration:none;text-transform:uppercase;
  opacity:0;
  pointer-events:none;
  z-index:2;
}
.hero-header.is-fixed .hero-brand{
  cursor:pointer;
}
.hero-header.is-morphed .hero-brand:hover{opacity:.75}
.hero-nav{display:flex!important;align-items:center;gap:6px;padding-top:0;pointer-events:auto;z-index:2}
.sm-toggle{
  display:inline-flex;align-items:center;gap:10px;
  margin:0;padding:6px 2px 6px 10px;
  border:0;background:none;cursor:pointer;
  font-family:var(--font);font-size:20px;font-weight:400;
  color:var(--text);line-height:1;
  pointer-events:auto;
}
.sm-toggle-text{
  display:block;overflow:hidden;height:1.15em;
}
.sm-toggle-inner{
  display:flex;flex-direction:column;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
body.is-menu-open .sm-toggle-inner{transform:translateY(-50%)}
.sm-icon{
  position:relative;width:14px;height:14px;flex-shrink:0;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
.sm-icon-h,.sm-icon-v{
  position:absolute;background:currentColor;border-radius:1px;
}
.sm-icon-h{width:14px;height:1.5px;left:0;top:50%;margin-top:-0.75px}
.sm-icon-v{width:1.5px;height:14px;top:0;left:50%;margin-left:-0.75px}
body.is-menu-open .sm-icon{transform:rotate(45deg)}
body.is-menu-open .sm-toggle{color:#111}

.sm-root{
  position:fixed;inset:0;z-index:360;
  pointer-events:none;
  overflow:hidden;
}
body.is-menu-open .sm-root{pointer-events:auto}
.sm-backdrop{
  position:absolute;inset:0;
  background:transparent;
  pointer-events:none;
}
body.is-menu-open .sm-backdrop{pointer-events:auto}
.sm-prelayers,.sm-panel{
  position:absolute;top:0;right:0;bottom:0;
  width:clamp(280px,40vw,460px);
  transform:translateX(110%);
}
.sm-prelayers{z-index:1;pointer-events:none}
.sm-prelayer{
  position:absolute;inset:0;
  transform:translateX(110%);
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
.sm-prelayer:nth-child(1){background:#3a3a3a;transition-delay:0s}
.sm-prelayer:nth-child(2){background:#1a1a1a;transition-delay:.07s}
.sm-panel{
  z-index:2;
  background:#f3f3f3;color:#111;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:clamp(88px,14vh,120px) 36px 36px;
  box-sizing:border-box;
  overflow-y:auto;
  pointer-events:none;
  transition:transform .65s cubic-bezier(.16,1,.3,1) .12s;
}
body.is-menu-open .sm-prelayer,
body.is-menu-open .sm-panel{transform:translateX(0)}
body.is-menu-open .sm-panel{pointer-events:auto}
.sm-list{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:4px;
  counter-reset:sm;
}
.sm-item{counter-increment:sm;overflow:hidden}
.sm-link{
  position:relative;display:block;
  text-decoration:none;color:#111;
  padding:4px 2.4em 4px 0;
}
.sm-label{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(32px,4.4vw,52px);
  font-weight:500;line-height:1.12;
  letter-spacing:.01em;text-transform:uppercase;
  transform:translateY(120%) rotate(8deg);
  transform-origin:left bottom;
  transition:transform 1s cubic-bezier(.16,1,.3,1),color .2s;
}
.sm-list[data-numbering] .sm-link::after{
  content:counter(sm,decimal-leading-zero);
  position:absolute;right:0;top:.35em;
  font-family:var(--font);font-size:11px;font-weight:500;
  letter-spacing:.08em;color:#888;
  opacity:0;
  transition:opacity .6s ease;
}
body.is-menu-open .sm-item:nth-child(1) .sm-label{transition-delay:.28s}
body.is-menu-open .sm-item:nth-child(2) .sm-label{transition-delay:.38s}
body.is-menu-open .sm-item:nth-child(3) .sm-label{transition-delay:.48s}
body.is-menu-open .sm-item:nth-child(4) .sm-label{transition-delay:.58s}
body.is-menu-open .sm-item:nth-child(5) .sm-label{transition-delay:.68s}
body.is-menu-open .sm-label{transform:none}
body.is-menu-open .sm-list[data-numbering] .sm-link::after{
  opacity:1;transition-delay:.4s;
}
.sm-link:hover .sm-label{color:#555}
.sm-socials{margin-top:32px}
.sm-socials-title{
  margin:0 0 10px;
  font-family:var(--font);font-size:11px;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:#888;
  opacity:0;transition:opacity .5s ease;
}
.sm-socials-list{display:flex;flex-wrap:wrap;gap:16px}
.sm-socials-link{
  font-family:var(--font);font-size:14px;font-weight:500;
  color:#111;text-decoration:none;
  opacity:0;transform:translateY(16px);
  transition:opacity .5s ease,transform .55s cubic-bezier(.16,1,.3,1),color .2s;
}
.sm-socials-link:hover{color:#555}
body.is-menu-open .sm-socials-title{opacity:1;transition-delay:.42s}
body.is-menu-open .sm-socials-link{opacity:1;transform:none}
body.is-menu-open .sm-socials-link:nth-child(1){transition-delay:.46s}
body.is-menu-open .sm-socials-link:nth-child(2){transition-delay:.54s}
html.is-menu-open,body.is-menu-open{overflow:hidden}
.hero-pixelblast{
  position:absolute;top:0;left:0;right:0;z-index:1;
  width:100%;
  height:calc(100% + var(--hero-pixel-spill));
  overflow:visible;pointer-events:none;
}
.hero-mobile-brand{display:none}
.hero-ambient{
  position:fixed;inset:0;z-index:3;pointer-events:none;
  width:100%;height:100%;
  opacity:var(--ambient-opacity,1);
  will-change:opacity;
}
.hero-pixelblast canvas{
  width:100%;height:100%;
  display:block;
  pointer-events:none;
}
/* Touch — PixelBlast không chặn scroll */
@media (hover:none),(pointer:coarse){
  .hero-pixelblast,
  .hero-pixelblast canvas{
    pointer-events:none!important;
    touch-action:pan-y;
  }
  /* Intro text hiện ngay, không chờ hiệu ứng */
  .hero-section .hero-intro-item{
    opacity:1!important;
    transform:none!important;
    animation:none!important;
  }
}
.hero-stage{
  position:absolute;inset:0;z-index:10;
  display:flex;align-items:center;justify-content:center;
  padding:0 24px;
  pointer-events:none;
}
.hero-identity{
  display:flex;flex-direction:column;align-items:center;
  gap:0;
  text-align:center;
  will-change:transform;
}
.hero-wordmark{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(100px,14vw,360px);
  font-weight:500;line-height:0.78;
  letter-spacing:0.02em;
  color:var(--text);text-transform:uppercase;
  white-space:nowrap;
}
.hero-tagline,
.philosophy-phrase,
.showcase-heading,
.work-heading,
.contact-h2{
  font-family:var(--font);
  font-size:var(--display-text-size);
  font-weight:var(--display-text-weight);
  line-height:var(--display-text-leading);
  letter-spacing:var(--display-text-tracking);
}
.hero-tagline,
.playground-lede{
  color:#fff;margin:0;padding:0;
  white-space:nowrap;
  text-align:center;
  max-width:none;
  font-family:var(--font);
  font-size:clamp(10px,2.2vw,22px);
  font-weight:500;
  line-height:1.5;
  letter-spacing:0;
  text-transform:uppercase;
}
.playground-lede{
  margin:0 auto clamp(20px,3vh,36px);
  padding:0 24px;
}
.hero-tagline-br{display:none}

/* hero intro — text after PixelBlast paints */
.hero-intro-item{
  opacity:0;
  transform:translateY(20px);
}
.hero-section.is-ready .hero-intro-item{
  animation:heroIntroIn 1.15s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:.15s;
}
.hero-section.is-ready .hero-tagline.hero-intro-item{
  animation-delay:.28s;
}
@keyframes heroIntroIn{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

/* reveal + parallax */
.reveal{
  opacity:0;transform:translateY(32px);
  transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(var(--reveal-d,0)*.08s);
  will-change:opacity,transform;
}
.reveal.is-visible{opacity:1;transform:translateY(0)}
.reveal-line-wrap{display:block;overflow:hidden;padding-bottom:.06em}
.reveal-line{
  display:block;transform:translateY(108%);opacity:0;
  transition:transform 1s cubic-bezier(.22,1,.36,1),opacity .75s ease;
  transition-delay:calc(var(--reveal-d,0)*.11s + .12s);
}
.reveal-line-wrap.is-visible .reveal-line{transform:translateY(0);opacity:1}
@media (prefers-reduced-motion:reduce){
  .reveal,.reveal-line{opacity:1!important;transform:none!important;transition:none!important}
  .hero-intro-item{opacity:1!important;transform:none!important;animation:none!important}
  .hero-section.is-ready .hero-intro-item{opacity:1!important;transform:none!important;animation:none!important}
  .scroll-scene-block > *{transform:none!important}
}

/* =====================================================
   SHARED
   ===================================================== */
.section-label{
  font-family:var(--font);font-size:10px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--text3);margin-bottom:60px;
  display:flex;align-items:center;gap:12px;
}
.section-label::before{content:'';display:block;width:24px;height:.5px;background:var(--text3)}
.section-label--center{justify-content:center;margin-bottom:28px}

/* =====================================================
   APP SHELL — shared Shopeers tokens (scenes 1–3)
   ===================================================== */
.dashboard,.wf2-wrap,.ag-wrap{
  --d-bg:var(--bg2);
  --d-surface:var(--bg4);
  --d-surface-2:var(--bg3);
  --d-text:var(--text);
  --d-text-2:var(--text2);
  --d-text-3:var(--text3);
  --d-border:var(--border);
  --d-primary:var(--primary);
  --d-primary-soft:var(--primary-soft);
  --d-green:var(--green);
  --d-green-soft:var(--green-soft);
  --d-red:var(--red);
  --d-red-soft:var(--red-soft);
  --d-amber:var(--amber);
  --d-amber-soft:var(--amber-soft);
  --d-shadow:var(--shadow);
  --d-shadow-sm:var(--shadow-sm);
  --d-shadow-lg:var(--shadow-lg);
  --d-r:16px;
  --d-r-sm:12px;
  --d-r-xs:10px;
  font-family:var(--font);
  color:var(--d-text);
  background:var(--d-bg);
}

/* =====================================================
   DASHBOARD — scene 1
   ===================================================== */
.dashboard{
  overflow:hidden;
  display:grid;
  grid-template-columns:220px 1fr;
  min-height:100vh;
  width:100%;
  background:var(--d-bg);
}

/* LEFT SIDEBAR */
.dashboard .dash-sidebar-new{
  border-right:1px solid var(--d-border);
  background:var(--d-surface);
  display:flex;flex-direction:column;overflow:hidden;
}
.dashboard .dash-sidebar-section{
  font-family:var(--font);font-size:11px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--d-text-3);
  padding:0 16px;margin:18px 0 8px;
}
.dashboard .dash-nav-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;margin:0 10px 4px;
  border-radius:var(--d-r-xs);
  font-size:14px;font-weight:500;color:var(--d-text-2);
  cursor:pointer;transition:all .18s ease;
  position:relative;
}
.dashboard .dash-nav-item.active{
  background:var(--d-primary-soft);color:var(--d-primary);
  box-shadow:var(--d-shadow-sm);
}
.dashboard .dash-nav-item.active::before{
  content:'';position:absolute;left:-10px;top:50%;transform:translateY(-50%);
  width:3px;height:20px;border-radius:0 3px 3px 0;background:var(--d-primary);
}
.dashboard .dash-nav-item:hover:not(.active){color:var(--d-text);background:var(--d-surface-2)}
.dashboard .dash-nav-icon{width:18px;height:18px;flex-shrink:0;opacity:.55;stroke-width:1.5}
.dashboard .dash-nav-item.active .dash-nav-icon{opacity:1;stroke:var(--d-primary)}
.dashboard .dash-sidebar-footer{margin-top:auto;padding:16px;border-top:1px solid var(--d-border)}
.dashboard .dash-agent-status{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;background:var(--d-surface-2);
  border-radius:var(--d-r-sm);border:none;
  box-shadow:var(--d-shadow-sm);
}
.dashboard .status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:var(--d-green);box-shadow:0 0 0 3px rgba(255,255,255,0.08)}
.dashboard .status-dot.amber{background:var(--d-amber);box-shadow:0 0 0 3px rgba(255,255,255,0.06)}
.dashboard .status-dot.red{background:var(--d-red);box-shadow:0 0 0 3px rgba(255,255,255,0.05)}
.dashboard .dash-sidebar-footer > div:first-child{
  font-family:var(--font);font-size:11px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--d-text-3)!important;margin-bottom:8px;
}
.dashboard .a-circle .status-dot{width:6px!important;height:6px!important;box-shadow:none!important}
.dashboard .spark-bar{width:5px}
.dashboard .dash-agent-label{font-size:13px;font-weight:500;color:var(--d-text)}
.dashboard .dash-agent-sub{font-family:var(--font);font-size:11px;color:var(--d-text-3);margin-top:2px}

/* MAIN AREA */
.dashboard .dash-main-new{overflow-y:auto;display:flex;flex-direction:column;background:var(--d-bg)}
.dashboard .dash-topbar-new{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 28px;border-bottom:none;background:var(--d-bg);flex-shrink:0;
}
.dashboard .dash-title-text{
  font-family:var(--font);font-size:24px;font-weight:500;
  color:var(--d-text);letter-spacing:-.03em;line-height:1.2;
}
.dashboard .dash-title-sub{font-size:13px;color:var(--d-text-2);margin-top:4px;font-weight:400}
.dashboard .dash-topbar-right{display:flex;align-items:center;gap:10px}
.dashboard .dash-date-pill{
  padding:8px 14px;border:1px solid var(--d-border);
  border-radius:var(--d-r-xs);background:var(--d-surface);
  font-family:var(--font);font-size:12px;font-weight:500;
  color:var(--d-text-2);display:flex;align-items:center;gap:8px;
  box-shadow:var(--d-shadow-sm);
}
.dashboard .dash-content{padding:0 28px 28px;display:flex;flex-direction:column;gap:20px}

/* METRIC CARDS */
.dashboard .metrics-row-new{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dashboard .metric-card-new{
  background:var(--d-surface);border:none;border-radius:var(--d-r);
  padding:20px;display:flex;align-items:flex-start;gap:14px;
  box-shadow:var(--d-shadow);
}
.dashboard .metric-icon-box{
  width:40px;height:40px;border-radius:var(--d-r-xs);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.dashboard .metric-icon-box.purple{background:var(--d-primary-soft)}
.dashboard .metric-icon-box.teal{background:var(--green-soft)}
.dashboard .metric-icon-box.amber{background:var(--d-amber-soft)}
.dashboard .metric-icon-box.blue{background:var(--primary-soft)}
.dashboard .metric-icon-svg{width:18px;height:18px}
.dashboard .metric-icon-svg.purple{stroke:var(--d-primary)}
.dashboard .metric-icon-svg.teal{stroke:var(--green)}
.dashboard .metric-icon-svg.amber{stroke:var(--d-amber)}
.dashboard .metric-icon-svg.blue{stroke:var(--primary)}
.dashboard .metric-body{flex:1;min-width:0}
.dashboard .metric-label-new{font-size:12px;font-weight:500;color:var(--d-text-2);margin-bottom:6px}
.dashboard .metric-value-new{
  font-family:var(--font);font-size:26px;font-weight:500;
  color:var(--d-text);letter-spacing:-.03em;line-height:1;
  font-variant-numeric:tabular-nums;
}
.dashboard .metric-footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:8px}
.dashboard .metric-change-new{
  font-family:var(--font);font-size:11px;font-weight:600;
  color:var(--d-green);letter-spacing:0;
  padding:3px 8px;border-radius:999px;background:var(--d-green-soft);
}
.dashboard .metric-sparkline{height:28px;display:flex;align-items:flex-end;gap:3px}
.dashboard .spark-bar{border-radius:4px 4px 0 0;background:rgba(255,255,255,0.12)!important}
.dashboard .spark-bar.hi{background:var(--d-primary)!important}

/* MIDDLE ROW: charts */
.dashboard .charts-row{display:grid;grid-template-columns:1fr 260px;gap:16px}
.dashboard .chart-card-new{
  background:var(--d-surface);border:none;border-radius:var(--d-r);
  padding:22px 24px;box-shadow:var(--d-shadow);
}
.dashboard .chart-hdr{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.dashboard .chart-title-new{font-size:15px;font-weight:600;color:var(--d-text)}
.dashboard .chart-period-pill{
  padding:6px 12px;border:1px solid var(--d-border);border-radius:var(--d-r-xs);
  background:var(--d-surface);font-family:var(--font);
  font-size:11px;font-weight:500;color:var(--d-text-2);cursor:pointer;
  box-shadow:var(--d-shadow-sm);
}
.dashboard .area-chart-wrap{height:120px;position:relative}
.dashboard .area-chart-axis{display:flex;justify-content:space-between;margin-top:8px}
.dashboard .axis-label{font-family:var(--font);font-size:10px;font-weight:500;color:var(--d-text-3)}
.dashboard .health-donut-area{display:flex;flex-direction:column;align-items:center;padding-top:4px}
.dashboard .health-ring-wrap{position:relative;width:110px;height:110px;margin:0 auto 14px}
.dashboard .health-label-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}
.dashboard .health-pct{font-family:var(--font);font-size:22px;font-weight:500;color:var(--d-text);line-height:1;font-variant-numeric:tabular-nums}
.dashboard .health-sub{font-family:var(--font);font-size:10px;font-weight:500;color:var(--d-text-3);margin-top:3px}
.dashboard .health-legend{display:flex;flex-direction:column;gap:8px;width:100%}
.dashboard .health-legend-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;color:var(--d-text-2)}
.dashboard .health-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}

/* BOTTOM ROW */
.dashboard .bottom-row{display:grid;grid-template-columns:1fr 1fr 160px;gap:16px}
.dashboard .card-sm{
  background:var(--d-surface);border:none;border-radius:var(--d-r);
  padding:20px 22px;box-shadow:var(--d-shadow);
}
.dashboard .card-sm-title{
  font-size:14px;font-weight:600;color:var(--d-text);margin-bottom:14px;
  display:flex;align-items:center;justify-content:space-between;
}
.dashboard .card-sm-more{opacity:.35;cursor:pointer;font-size:18px;line-height:1;color:var(--d-text-3)}
.dashboard .card-sm-more:hover{opacity:.7}

/* activity */
.dashboard .activity-row-new{
  display:flex;align-items:center;gap:10px;padding:10px 0;
  border-bottom:1px solid var(--d-border);font-size:13px;font-weight:500;color:var(--d-text-2);
}
.dashboard .activity-row-new:last-child{border-bottom:none;padding-bottom:0}
.dashboard .a-circle{
  width:22px;height:22px;border-radius:50%;
  border:none;background:var(--d-surface-2);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.dashboard .a-time{font-family:var(--font);font-size:11px;font-weight:500;color:var(--d-text-3);margin-left:auto;white-space:nowrap}

/* automations */
.dashboard .auto-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--d-border)}
.dashboard .auto-row:last-child{border-bottom:none}
.dashboard .auto-name{font-size:13px;font-weight:500;color:var(--d-text-2);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard .auto-bar-wrap{width:80px;height:6px;background:var(--d-surface-2);border-radius:999px;flex-shrink:0}
.dashboard .auto-bar-fill{height:100%;border-radius:999px;background:var(--d-primary);width:0}
.dashboard .auto-pct{font-family:var(--font);font-size:11px;font-weight:600;color:var(--d-text-3);min-width:30px;text-align:right;font-variant-numeric:tabular-nums}

/* agents */
.dashboard .agents-count{font-family:var(--font);font-size:32px;font-weight:500;color:var(--d-text);letter-spacing:-.03em;margin-bottom:2px;font-variant-numeric:tabular-nums}
.dashboard [data-count-to]{font-variant-numeric:tabular-nums}

/* Scene 1 — stats enter + count-up */
.scroll-scene-block[data-scene="1"] .metric-card-new,
.scroll-scene-block[data-scene="1"] .chart-card-new,
.scroll-scene-block[data-scene="1"] .card-sm,
.scroll-scene-block[data-scene="1"] .timeline-section{
  opacity:0;transform:translateY(18px);
}
.scroll-scene-block[data-scene="1"].is-stats-active .metric-card-new,
.scroll-scene-block[data-scene="1"].is-stats-active .chart-card-new,
.scroll-scene-block[data-scene="1"].is-stats-active .card-sm,
.scroll-scene-block[data-scene="1"].is-stats-active .timeline-section{
  opacity:1;transform:none;
  transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1);
}
.scroll-scene-block[data-scene="1"].is-stats-active .metric-card-new:nth-child(1){transition-delay:.04s}
.scroll-scene-block[data-scene="1"].is-stats-active .metric-card-new:nth-child(2){transition-delay:.1s}
.scroll-scene-block[data-scene="1"].is-stats-active .metric-card-new:nth-child(3){transition-delay:.16s}
.scroll-scene-block[data-scene="1"].is-stats-active .metric-card-new:nth-child(4){transition-delay:.22s}
.scroll-scene-block[data-scene="1"].is-stats-active .charts-row .chart-card-new:nth-child(1){transition-delay:.28s}
.scroll-scene-block[data-scene="1"].is-stats-active .charts-row .chart-card-new:nth-child(2){transition-delay:.34s}
.scroll-scene-block[data-scene="1"].is-stats-active .bottom-row .card-sm:nth-child(1){transition-delay:.38s}
.scroll-scene-block[data-scene="1"].is-stats-active .bottom-row .card-sm:nth-child(2){transition-delay:.44s}
.scroll-scene-block[data-scene="1"].is-stats-active .bottom-row .card-sm:nth-child(3){transition-delay:.5s}
.scroll-scene-block[data-scene="1"].is-stats-active .timeline-section{transition-delay:.56s}
.dashboard .area-chart-wrap svg path[data-chart-line]{
  stroke-dasharray:var(--chart-len,1200);
  stroke-dashoffset:var(--chart-len,1200);
  transition:stroke-dashoffset 1.25s cubic-bezier(.22,1,.36,1);
}
.scroll-scene-block[data-scene="1"].is-stats-active .area-chart-wrap svg path[data-chart-line]{stroke-dashoffset:0}
.dashboard .spark-bar{transition:height .7s cubic-bezier(.22,1,.36,1)}
@media (prefers-reduced-motion:reduce){
  .scroll-scene-block[data-scene="1"] .metric-card-new,
  .scroll-scene-block[data-scene="1"] .chart-card-new,
  .scroll-scene-block[data-scene="1"] .card-sm,
  .scroll-scene-block[data-scene="1"] .timeline-section{opacity:1;transform:none;transition:none}
  .dashboard .auto-bar-fill{width:var(--bar-target,auto)!important;transition:none!important}
  .dashboard .area-chart-wrap svg path[data-chart-line]{stroke-dashoffset:0!important;transition:none!important}
}

.dashboard .agents-sub{font-family:var(--font);font-size:11px;font-weight:600;color:var(--d-green);letter-spacing:0;margin-bottom:14px}
.dashboard .agent-avatar-row{display:flex;flex-wrap:wrap;gap:8px}
.dashboard .agent-avatar{
  width:36px;height:36px;border-radius:var(--d-r-xs);
  background:var(--d-surface-2);border:none;
  display:flex;align-items:center;justify-content:center;position:relative;
  box-shadow:var(--d-shadow-sm);
}
.dashboard .agent-online{
  position:absolute;bottom:-1px;right:-1px;width:9px;height:9px;
  border-radius:50%;background:var(--d-green);border:2px solid var(--d-surface);
}

/* TIMELINE */
.dashboard .timeline-section{
  background:var(--d-surface);border:none;border-radius:var(--d-r);
  padding:22px 24px;box-shadow:var(--d-shadow);
}
.dashboard .timeline-hdr{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.dashboard .timeline-title{font-size:15px;font-weight:600;color:var(--d-text)}
.dashboard .live-badge{
  display:flex;align-items:center;gap:6px;padding:5px 10px;
  border:none;border-radius:999px;background:var(--d-green-soft);
  font-family:var(--font);font-size:11px;font-weight:600;
  color:var(--d-green);letter-spacing:0;
}
.dashboard .timeline-track{display:flex;align-items:flex-start;gap:0;overflow-x:auto;padding-bottom:4px}
.dashboard .timeline-item{flex:1;min-width:130px;position:relative;padding:0 16px}
.dashboard .timeline-item::before{content:'';position:absolute;top:13px;left:0;right:0;height:1px;background:var(--d-border)}
.dashboard .timeline-item:first-child::before{left:50%}
.dashboard .timeline-item:last-child::before{right:50%}
.dashboard .tl-time{font-family:var(--font);font-size:10px;font-weight:500;color:var(--d-text-3);text-align:center;margin-bottom:10px}
.dashboard .tl-node{
  width:28px;height:28px;border-radius:50%;border:none;
  background:var(--d-surface-2);box-shadow:var(--d-shadow-sm);
  display:flex;align-items:center;justify-content:center;margin:0 auto 10px;position:relative;z-index:1;
}
.dashboard .tl-label{font-size:12px;font-weight:600;color:var(--d-text);text-align:center;margin-bottom:3px}
.dashboard .tl-sub{font-family:var(--font);font-size:10px;font-weight:500;color:var(--d-text-3);text-align:center}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section{
  position:relative;z-index:4;
  min-height:100vh;min-height:100dvh;
  display:flex;flex-direction:column;justify-content:flex-end;align-items:center;
  gap:clamp(20px,4vh,40px);
  padding:var(--header-h) 64px 0;
  scroll-margin-top:calc(var(--header-h) + 32px);
  text-align:center;background:var(--bg);
  overflow:hidden;
}
.contact-inner{
  position:relative;z-index:1;flex:0 0 auto;
  width:100%;max-width:900px;
  display:flex;flex-direction:column;align-items:center;
}
.contact-footer{
  position:relative;z-index:1;flex:0 0 auto;
  display:flex;flex-direction:column;align-items:center;
  width:100%;overflow:visible;
}
.contact-footer-wave{
  position:relative;z-index:3;
  width:100vw;max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  height:clamp(112px,22vh,200px);
  flex-shrink:0;pointer-events:none;
  margin-bottom:clamp(4px,1.5vh,16px);
  image-rendering:pixelated;
}
.contact-footer-wave canvas{display:block;width:100%;height:100%}
.contact-footer-stack{
  position:relative;z-index:1;width:100%;
  min-height:clamp(200px,32vh,380px);
  display:grid;align-content:end;justify-items:center;
  overflow:hidden;
  padding-top:clamp(8px,2vh,24px);
}
.contact-section .section-label{justify-content:center;margin-bottom:28px}
.contact-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.contact-circle{position:absolute;border-radius:50%;border:.5px solid var(--border);transform:translate(calc(-50% + var(--para-x,0px)),calc(-50% + var(--para-y,0px)))}
.contact-h2{
  color:var(--text);margin-bottom:24px;
  text-align:center;width:100%;
}
.contact-h2 span{color:var(--text3)}
.contact-h2 .contact-muted{color:var(--text3)}
.contact-sub{font-size:16px;color:var(--text2);margin-bottom:48px;font-weight:300}
.contact-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin-bottom:0}
.contact-link{display:flex;align-items:center;gap:8px;padding:10px 20px;border:.5px solid var(--border2);border-radius:10px;font-family:var(--font);font-size:12px;color:var(--text2);text-decoration:none;transition:all .2s}
.contact-link:hover{border-color:var(--text3);color:var(--text);background:var(--glass)}

.contact-footer-brand{
  grid-area:1/1;
  align-self:end;
  font-family:var(--font-display);
  font-size:clamp(320px,20vw,720px);
  font-weight:400;line-height:.82;
  letter-spacing:.02em;
  color:var(--bg3);text-transform:uppercase;
  transform:translateY(16%);
}
.contact-footer-copy{
  grid-area:1/1;
  position:relative;z-index:2;
  font-family:var(--font);font-size:13px;font-weight:400;
  color:var(--text3);line-height:1.4;
  text-align:center;white-space:nowrap;
  align-self:end;justify-self:center;
  margin-bottom:clamp(28px,6vh,52px);
}

/* =====================================================
   PHILOSOPHY — scroll-driven phrase reveal
   ===================================================== */
.philosophy-section{
  position:relative;
  height:auto;
  padding:calc(var(--philosophy-gap) + var(--hero-pixel-spill)) 0 var(--philosophy-gap);
  max-width:none;margin:0;
  background:transparent;
  z-index:2;
}
.philosophy-pin{
  position:relative;
  height:auto;
  display:flex;align-items:center;justify-content:center;
  padding:0 24px;
  box-sizing:border-box;
}
.philosophy-stage{
  width:100%;max-width:min(1680px,96vw);margin:0 auto;
  display:flex;align-items:center;justify-content:center;
}
.philosophy-lines{
  display:flex;flex-direction:column;
  align-items:center;
  gap:4px;
  width:100%;max-width:100%;
}
.philosophy-phrase{
  margin:0;width:100%;max-width:100%;
  text-align:center;white-space:nowrap;
  font-family:var(--font-display);
  font-size:clamp(26px,3.4vw,62px);
  font-weight:500;
  line-height:0.95;
  letter-spacing:0.02em;
  text-transform:uppercase;
  opacity:var(--line-op,1);
  background:linear-gradient(90deg,
    var(--text) 0%,
    var(--text) var(--wipe,0%),
    var(--text3) var(--wipe,0%),
    var(--text3) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
#showcase.showcase-scroll-wrap{
  opacity:var(--showcase-reveal,0);
  transform:translateY(calc((1 - var(--showcase-reveal,0)) * 32px));
  will-change:opacity,transform;
}
#showcase.showcase-scroll-wrap.is-revealed{
  --showcase-reveal:1;
  opacity:1;
  transform:none;
}

/* =====================================================
   WORK — case studies
   ===================================================== */
.work-section{
  position:relative;z-index:2;
  background:var(--bg);
  padding:0 0 clamp(48px,6vh,88px);
  scroll-margin-top:calc(var(--header-h) + 16px);
}
.work-warp-defs{
  position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;
}
.work-inner{
  width:100%;max-width:none;margin:0;
}
.work-heading{
  margin:0 0 12px;
  padding:0 24px;
  text-align:center;color:var(--text);
}
.work-lede{
  margin:0 auto clamp(28px,4vh,48px);
  padding:0 24px;
  max-width:36em;text-align:center;
  font-size:15px;line-height:1.6;color:var(--text2);
}
.work-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  padding:0 24px;
}
.work-card{
  display:block;
  width:100%;padding:0;margin:0;
  border:0;
  border-radius:8px;
  background:var(--bg2);
  color:inherit;text-align:left;
  font:inherit;cursor:pointer;
  overflow:hidden;
  appearance:none;-webkit-appearance:none;
  position:relative;
  isolation:isolate;
  opacity:0;transform:translateY(14px);
  transition:opacity .45s ease,transform .45s cubic-bezier(.22,1,.36,1);
}
.work-section.is-inview .work-card{
  opacity:1;transform:none;
}
.work-section.is-inview .work-card:nth-child(1){transition-delay:.03s}
.work-section.is-inview .work-card:nth-child(2){transition-delay:.08s}
.work-section.is-inview .work-card:nth-child(3){transition-delay:.13s}
.work-section.is-inview .work-card:nth-child(4){transition-delay:.18s}
.work-section.is-inview .work-card:nth-child(5){transition-delay:.23s}
.work-section.is-inview .work-card:nth-child(6){transition-delay:.28s}
.work-card:hover,
.work-card:focus-visible{
  outline:none;
  z-index:2;
}
.work-card-cover{
  position:relative;aspect-ratio:6/7;overflow:hidden;
  background:var(--bg2);
}
.work-card-cover img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.work-card.is-warping .work-card-cover img{
  filter:url(#work-warp-filter);
}
.work-card-body{
  position:absolute;inset:0;z-index:2;
  display:flex;flex-direction:column;justify-content:flex-end;gap:8px;
  padding:22px 20px 20px;
  background:linear-gradient(180deg,transparent 28%,rgba(0,0,0,.72) 100%);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .28s ease,transform .28s cubic-bezier(.22,1,.36,1);
}
.work-card:hover .work-card-body,
.work-card:focus-visible .work-card-body{
  opacity:1;transform:none;
}
.work-card-meta{
  font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(250,250,250,.72);
}
.work-card-title{
  margin:0;
  font-family:var(--font);
  font-size:clamp(17px,1.6vw,20px);
  font-weight:500;letter-spacing:-.02em;line-height:1.3;
  color:#fafafa;
}
.work-card-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.work-card-tags{
  display:flex;flex-wrap:wrap;gap:6px;min-width:0;
}
.work-card-tag{
  font-size:11px;font-weight:500;color:#fafafa;
  padding:4px 8px;border-radius:999px;
  background:rgba(255,255,255,.14);border:0;
}
.work-card-year{
  flex-shrink:0;
  font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(250,250,250,.72);
}
@media (hover:none){
  .work-card-body{opacity:1;transform:none}
}

/* =====================================================
   VIBE APPS — featured vibe-coded builds
   ===================================================== */
.vibe-section{
  --vibe-lock-pad: 0px;
  position:relative;z-index:2;
  background:var(--bg);
  padding:0 0 clamp(48px,6vh,88px);
  scroll-margin-top:var(--header-h);
}
.vibe-pin{
  position:sticky;
  top:var(--header-h);
  z-index:3;
  height:calc(100svh - var(--header-h));
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  padding:12px 0 20px;
  overflow:hidden;
}
.vibe-intro{
  display:flex;flex-direction:column;align-items:center;
  gap:2px;
  margin:0 0 12px;
  padding:0 24px;
  flex-shrink:0;
  width:100%;box-sizing:border-box;
}
.vibe-phrase{
  margin:0;width:100%;max-width:100%;
  text-align:center;white-space:nowrap;
  font-family:var(--font-display);
  font-size:clamp(26px,3.4vw,62px);
  font-weight:500;
  line-height:0.95;
  letter-spacing:0.02em;
  text-transform:uppercase;
  opacity:var(--line-op,1);
  background:linear-gradient(90deg,
    var(--text) 0%,
    var(--text) var(--wipe,0%),
    var(--text3) var(--wipe,0%),
    var(--text3) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.vibe-stage-slot{
  flex:1 1 auto;
  min-height:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.vibe-stage{
  position:relative;
  flex:none;
  width:auto;
  height:min(640px,100%);
  max-width:min(1400px,calc(100% - 48px));
  aspect-ratio:1400/640;
  margin:0 auto;
  overflow:visible;
}
.vibe-spacer{
  height:calc(var(--vibe-stack-n, 3) * 100vh);
  pointer-events:none;
}
.vibe-card{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;margin:0;
  border:0;border-radius:16px;
  background:var(--bg2);
  color:inherit;text-align:left;
  font:inherit;cursor:pointer;
  overflow:hidden;
  appearance:none;-webkit-appearance:none;
  isolation:isolate;
  transform-origin:center top;
  will-change:transform;
  box-shadow:0 18px 48px rgba(0,0,0,.35);
}
.vibe-card:hover,
.vibe-card:focus-visible,
.vibe-card.is-active{
  outline:none;
}
.vibe-card-cover{
  position:absolute;inset:0;overflow:hidden;
  background:var(--bg2);
}
.vibe-card-cover img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.vibe-card-body{
  position:absolute;inset:0;z-index:2;
  display:flex;flex-direction:column;justify-content:flex-end;gap:8px;
  padding:28px 24px 24px;
  background:linear-gradient(180deg,transparent 32%,rgba(0,0,0,.78) 100%);
  pointer-events:none;
}
.vibe-card-title{
  margin:0;
  font-family:var(--font);
  font-size:clamp(22px,2.4vw,32px);
  font-weight:500;letter-spacing:-.02em;line-height:1.25;
  color:#fafafa;
}
.vibe-card-line{
  margin:0;font-size:13px;line-height:1.5;color:rgba(250,250,250,.78);
}
.vibe-card-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.vibe-card-tags{
  display:flex;flex-wrap:wrap;gap:6px;min-width:0;
}
.vibe-card-tag{
  font-size:11px;font-weight:500;color:#fafafa;
  padding:4px 8px;border-radius:999px;
  background:rgba(255,255,255,.14);border:0;
}
.vibe-card-tag.is-vibe{
  background:rgba(255,255,255,.22);
}
.vibe-card-year{
  flex-shrink:0;
  font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(250,250,250,.72);
}
.vibe-detail{
  margin:clamp(20px,3vw,28px) 24px 0;
  padding:0;
  border:0;
  border-radius:12px;
  background:var(--bg2);
  overflow:hidden;
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .35s cubic-bezier(.22,1,.36,1),opacity .28s ease;
}
.vibe-detail.is-open{
  grid-template-rows:1fr;
  opacity:1;
}
.vibe-detail-inner{
  min-height:0;overflow:hidden;
}
.vibe-detail-content{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:28px 48px;
  padding:28px clamp(20px,3vw,36px);
}
.vibe-detail-label{
  display:block;margin:0 0 8px;
  font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text3);
}
.vibe-detail-title{
  margin:0 0 10px;
  font-family:var(--font);
  font-size:clamp(22px,2.4vw,28px);
  font-weight:500;letter-spacing:-.025em;line-height:1.25;
  color:var(--text);
}
.vibe-detail-line{
  margin:0 0 18px;
  font-size:15px;line-height:1.6;color:var(--text2);
}
.vibe-detail-blocks{display:flex;flex-direction:column;gap:16px}
.vibe-detail-block p{
  margin:0;font-size:14px;line-height:1.65;color:var(--text2);
}
.vibe-detail-actions{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px;
}
.vibe-detail-link{
  display:inline-flex;align-items:center;
  font-size:13px;font-weight:500;color:var(--text);
  text-decoration:none;
  border-bottom:1px solid var(--border2);
  padding-bottom:1px;
}
.vibe-detail-link:hover{border-bottom-color:var(--text)}
.vibe-detail-close{
  margin-left:auto;padding:6px 10px;
  border:1px solid var(--border);border-radius:8px;
  background:var(--bg);color:var(--text2);
  font:inherit;font-size:12px;font-weight:500;cursor:pointer;
}
.vibe-detail-close:hover,
.vibe-detail-close:focus-visible{
  color:var(--text);outline:none;border-color:var(--border2);
}

@media (max-width: 900px){
  .vibe-detail-content{grid-template-columns:1fr;gap:18px}
}
@media (max-width: 720px){
  .vibe-card{border-radius:14px}
  .vibe-pin{padding:8px 0 12px}
  .vibe-stage{
    max-width:calc(100% - 32px);
  }
}
@media (prefers-reduced-motion:reduce){
  .vibe-card,
  .vibe-detail,
  .work-card{transition:none;opacity:1;transform:none}
  .work-card-cover img,
  .work-card.is-warping .work-card-cover img{
    filter:none!important;
  }
  .work-card-body{opacity:1;transform:none}
}

/* Case study page — Explora-style longform */
.case-page{
  display:none;
  position:relative;z-index:4;
  background:var(--bg);
  min-height:100vh;
  padding:calc(var(--header-h) + 28px) 24px clamp(80px,10vh,140px);
  scroll-margin-top:var(--header-h);
}
body.is-case-view .case-page{display:block}
body.is-case-view #philosophy,
body.is-case-view #work,
body.is-case-view #vibe-apps,
body.is-case-view #showcase,
body.is-case-view #playground,
body.is-case-view #contact,
body.is-case-view .scroll-thread,
body.is-case-view .hero-ambient,
body.is-case-view .noise-overlay,
body.is-case-view .hero-pixelblast,
body.is-case-view .hero-mobile-brand,
body.is-case-view .hero-stage,
body.is-case-view .hero-header-spacer{
  display:none!important;
}
body.is-case-view #hero{
  display:block;
  min-height:0;
  height:auto;
  overflow:visible;
}
body.is-case-view .hero-header{
  position:fixed;top:0;left:0;right:0;z-index:380;
  height:auto;
  justify-content:space-between;
  padding:16px 24px;
  align-items:center;
  pointer-events:auto;
}
body.is-case-view .hero-header::before{
  opacity:1;
  border-bottom-color:var(--border);
}
body.is-case-view .hero-header-wrap{
  display:block!important;
  position:relative;
  inset:auto;
  pointer-events:auto;
  z-index:380;
}
body.is-case-view .hero-brand{
  opacity:1!important;
  font-size:28px!important;
  cursor:pointer;
  pointer-events:auto;
}
.case-page-inner{
  width:100%;max-width:920px;margin:0 auto;
}
.case-back{
  display:inline-flex;align-items:center;gap:8px;
  margin:0 0 36px;padding:0;
  border:0;background:none;cursor:pointer;
  font-family:var(--font);font-size:13px;font-weight:500;
  color:var(--text3);text-decoration:none;
  transition:color .2s;
}
.case-back:hover,
.case-back:focus-visible{color:var(--text);outline:none}
.case-eyebrow{
  margin:0 0 14px;
  font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text3);
}
.case-title{
  margin:0 0 18px;
  font-family:var(--font);
  font-size:clamp(32px,5vw,52px);
  font-weight:500;letter-spacing:-.035em;line-height:1.12;
  color:var(--text);
}
.case-lede{
  margin:0 0 28px;
  font-size:clamp(16px,1.7vw,19px);
  line-height:1.65;color:var(--text2);font-weight:400;
}
.case-meta-line{
  margin:0 0 40px;
  font-size:13px;font-weight:500;color:var(--text3);
  letter-spacing:.02em;
}
.case-cover{
  width:100%;margin:0 0 48px;
  border-radius:16px;overflow:hidden;
  border:1px solid var(--border);background:var(--bg2);
}
.case-cover img{
  width:100%;height:auto;display:block;aspect-ratio:16/10;object-fit:cover;
}
.case-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 28px;
  margin:0 0 56px;
  padding:28px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.case-detail-label{
  font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text3);margin-bottom:6px;
}
.case-detail-value{
  font-size:14px;line-height:1.5;color:var(--text);font-weight:500;
}
.case-impact{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:0 0 64px;
}
.case-impact-item{
  padding:22px 18px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--bg4);
}
.case-impact-value{
  font-family:var(--font);
  font-size:clamp(28px,3vw,40px);
  font-weight:500;letter-spacing:-.03em;line-height:1.1;
  color:var(--text);margin-bottom:8px;
}
.case-impact-label{
  font-size:13px;line-height:1.45;color:var(--text2);
}
.case-article{
  font-size:16px;line-height:1.7;color:var(--text2);
}
.case-article .case-block{margin:0 0 48px}
.case-article .case-block-label{
  display:block;margin:0 0 12px;
  font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text3);
}
.case-article h2,
.case-article h3{
  margin:0 0 14px;
  font-family:var(--font);
  font-size:clamp(22px,2.2vw,26px);
  font-weight:500;letter-spacing:-.025em;line-height:1.3;
  color:var(--text);
}
.case-article .case-block--split{
  margin:0 0 48px;
  padding:24px 0 0;
  border-top:1px solid var(--border);
}
.case-article .case-block--split:first-child{border-top:0;padding-top:0}
.case-article .case-block--split .case-block-label{
  margin:0 0 16px;
}
.case-article .case-block-split{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);
  gap:24px 36px;
  align-items:start;
}
.case-article .case-block--split h2{
  margin:0;
}
.case-article .case-block--split .case-block-body{
  font-size:inherit;line-height:inherit;color:inherit;
}
.case-article .case-block--split .case-block-body>:last-child{margin-bottom:0}
.case-article hr,
.case-article .case-divider{
  display:block;border:0;margin:40px 0;
  height:1px;background:var(--border);
}
.case-article p{margin:0 0 1em}
.case-article ul{margin:0 0 1em;padding-left:1.2em}
.case-article li{margin-bottom:.45em}
.case-article figure{
  margin:28px 0;
  border-radius:14px;overflow:hidden;
  border:1px solid var(--border);background:var(--bg2);
}
.case-article figure img{
  width:100%;height:auto;display:block;
}
.case-article figcaption{
  padding:12px 14px;
  font-size:12px;color:var(--text3);
  border-top:1px solid var(--border);
  background:var(--bg4);
}
.case-article code{
  font-size:.92em;padding:1px 5px;border-radius:4px;
  background:var(--bg2);border:1px solid var(--border);
}
.case-fin{
  margin:64px 0 0;
  padding-top:28px;
  border-top:1px solid var(--border);
  font-size:13px;color:var(--text3);letter-spacing:.06em;text-transform:uppercase;
}

@media (max-width: 1100px){
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 720px){
  .work-grid{grid-template-columns:1fr}
  .case-page{padding:calc(var(--header-h) + 18px) 16px 72px}
  .case-details{grid-template-columns:1fr;gap:18px}
  .case-impact{grid-template-columns:1fr}
  .case-article .case-block-split{
    grid-template-columns:1fr;
    gap:14px;
  }
}

/* SHOWCASE HEADING — above scenes */
.showcase-heading{
  margin:0 auto 20px;
  padding:0 24px;
  max-width:none;
  text-align:center;color:var(--text);
}
.showcase-tabs{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:8px;
  margin:0 auto clamp(28px,4vh,48px);
  padding:0 24px;
}
.showcase-tab{
  appearance:none;-webkit-appearance:none;
  margin:0;padding:8px 16px;
  border:1px solid var(--border2);
  border-radius:999px;
  background:transparent;
  color:var(--text2);
  font-family:var(--font);font-size:14px;font-weight:500;
  cursor:pointer;
  transition:color .2s,background .2s,border-color .2s;
}
.showcase-tab:hover{color:var(--text);border-color:var(--text3)}
.showcase-tab.is-active{
  color:var(--bg);
  background:var(--text);
  border-color:var(--text);
}
.showcase-scroll-wrap.is-tabbed{
  padding:clamp(72px,10vh,140px) 0 clamp(64px,8vh,120px);
  scroll-margin-top:calc(var(--header-h) + 16px);
}
.showcase-scroll-wrap.is-tabbed .scroll-showcase{
  grid-template-columns:minmax(240px,300px) minmax(0,1fr);
  gap:24px;
  max-width:none;width:100%;margin:0;padding:0 24px;
  align-items:stretch;
}
.showcase-scroll-wrap.is-tabbed .scroll-left-sticky{
  position:relative;top:auto;height:auto;
  padding:8px 8px 8px 0;
  border-right:.5px solid var(--border);
}
.showcase-scroll-wrap.is-tabbed .scroll-right-panels{
  display:grid;
  padding:0;gap:0;
}
.showcase-scroll-wrap.is-tabbed .scroll-scene-block{
  grid-area:1/1;
  display:flex;
  width:100%;
  min-height:0;
  visibility:hidden;
  pointer-events:none;
  z-index:0;
  content-visibility:visible;
  contain:none;
}
.showcase-scroll-wrap.is-tabbed .scroll-scene-block.is-active{
  visibility:visible;
  pointer-events:auto;
  z-index:1;
}
.showcase-scroll-wrap.is-tabbed .scroll-scene-block > *,
.showcase-scroll-wrap.is-tabbed .scroll-scene-block > .dashboard,
.showcase-scroll-wrap.is-tabbed .scroll-scene-block > .wf2-wrap,
.showcase-scroll-wrap.is-tabbed .scroll-scene-block > .ag-wrap{
  min-height:100%;
  height:100%;
  max-height:none;
}
.showcase-scroll-wrap.is-tabbed .scroll-scene-block > .dashboard{
  height:auto;
  min-height:100%;
  overflow:hidden;
}
.showcase-scroll-wrap.is-tabbed .dashboard{
  min-height:0;
}
.showcase-scroll-wrap.is-tabbed .dashboard .dash-main-new{
  overflow:hidden;
}

@media (prefers-reduced-motion:reduce){
  .philosophy-section{height:auto}
  .philosophy-pin{position:relative;height:auto;padding:0 24px}
  .philosophy-phrase,
  .vibe-phrase{
    --wipe:100%!important;
    --line-op:1!important;
    opacity:1!important;
  }
  #showcase.showcase-scroll-wrap{opacity:1!important;transform:none!important}
}

/* =====================================================
   SCROLL SHOWCASE — STICKY LEFT + SCROLL RIGHT — FULL SCREEN
   ===================================================== */
.showcase-scroll-wrap{position:relative;z-index:2;background:var(--bg);transition:background .35s;padding:var(--showcase-edge-y) 0 32px}
.scroll-showcase{display:grid;grid-template-columns:340px minmax(0,1fr);height:100%;align-items:start}

/* STICKY LEFT */
.scroll-left-sticky{position:sticky;top:58px;height:calc(100vh - 58px);overflow:hidden;padding:40px 36px 32px 44px;display:grid;align-content:start;border-right:.5px solid var(--border)}
.scroll-left-panel{
  grid-area:1 / 1;
  display:flex;flex-direction:column;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(10px);
  transition:opacity .45s ease,transform .45s ease,visibility 0s linear .45s;
  will-change:opacity,transform;
}
.scroll-left-panel.active{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateY(0);
  transition:opacity .45s ease,transform .45s ease,visibility 0s linear 0s;
}
.slp-scene-num{font-family:var(--font);font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:var(--text3);margin-bottom:12px}
.slp-title{font-family:var(--font);font-size:clamp(28px,2.4vw,38px);font-weight:500;letter-spacing:-.04em;color:var(--text);line-height:1.16;margin-bottom:14px}
.slp-desc{font-size:13px;color:var(--text2);line-height:1.7;margin-bottom:20px}
.slp-divider{height:.5px;background:var(--border);margin-bottom:20px}
.slp-features{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.slp-feat{display:flex;align-items:flex-start;gap:12px}
.slp-feat-icon{width:30px;height:30px;border:none;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--primary);background:var(--primary-soft)}
.slp-feat-title{font-size:13px;font-weight:500;color:var(--text);margin-bottom:2px}
.slp-feat-desc{font-size:11px;color:var(--text3);line-height:1.5}

/* RIGHT SCROLL PANELS */
.scroll-right-panels{
  display:flex;flex-direction:column;gap:var(--section-gap);
  padding:80px 48px 32px 32px;
  max-width:100%;min-width:0;box-sizing:border-box;
}
.scroll-scene-block{
  min-height:0;display:flex;align-items:stretch;padding:0;border-bottom:none;max-width:100%;
  overflow:hidden;border-radius:16px;background:var(--bg2);
  content-visibility:auto;
  contain-intrinsic-size:auto 900px;
}
.scroll-scene-block > *{
  width:100%;max-width:100%;box-sizing:border-box;
  min-height:calc(100vh - 58px - 96px);
  border-radius:16px;
  overflow:hidden;
  background:var(--bg2);
}
.scroll-scene-block > .dashboard,
.scroll-scene-block > .wf2-wrap,
.scroll-scene-block > .ag-wrap{
  min-height:calc(100vh - 58px - 96px);
}
.scroll-scene-block > .wf2-wrap,
.scroll-scene-block > .ag-wrap{
  height:calc(100vh - 58px - 96px);
  max-height:calc(100vh - 58px - 96px);
}
.scroll-scene-block[data-scene="3"] > .ag-wrap{
  overflow:hidden;
  background:var(--bg2);
}
.scroll-scene-block[data-scene="3"] > .ag-wrap .ag-chat{
  height:100%;
  background:var(--d-bg);
  border:none;box-shadow:none;border-radius:16px;
  overflow:hidden;
}

/* =====================================================
   WF2 — scene 2 (Automation)
   ===================================================== */
.wf2-wrap{
  width:100%;overflow:hidden;
  display:flex;flex-direction:column;
  transition:background .35s;
  background:var(--d-bg);
  min-height:calc(100vh - 58px - 96px);
  height:calc(100vh - 58px - 96px);
  max-height:calc(100vh - 58px - 96px);
}
.wf2-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 28px;border-bottom:1px solid var(--d-border);
  background:var(--d-surface);flex-shrink:0;
}
.wf2-topbar-title{font-size:24px;font-weight:500;color:var(--d-text);letter-spacing:-.03em;line-height:1.2}
.wf2-badge{
  padding:5px 10px;border:none;border-radius:999px;
  font-family:var(--font);font-size:11px;font-weight:600;
  color:var(--d-green);background:var(--d-green-soft);
}
.wf2-btn-ghost{
  display:flex;align-items:center;gap:6px;padding:8px 14px;
  border:1px solid var(--d-border);border-radius:var(--d-r-xs);
  background:var(--d-surface);color:var(--d-text-2);
  font-size:12px;font-weight:500;cursor:pointer;font-family:var(--font);
  transition:all .15s;box-shadow:var(--d-shadow-sm);
}
.wf2-btn-ghost:hover{color:var(--d-text);box-shadow:var(--d-shadow)}
.wf2-btn-primary{
  padding:8px 16px;background:var(--d-primary);color:var(--on-primary);
  border:none;border-radius:var(--d-r-xs);font-size:12px;font-weight:600;
  cursor:pointer;font-family:var(--font);transition:opacity .2s;
  box-shadow:var(--d-shadow-sm);
}
.wf2-btn-primary:hover{opacity:.88}
.wf2-body{display:grid;grid-template-columns:56px 1fr;flex:1;min-height:0;overflow:hidden}
.wf2-tools{
  border-right:1px solid var(--d-border);background:var(--d-surface);
  padding:16px 0;display:flex;flex-direction:column;align-items:center;gap:4px;
  transition:background .35s;overflow:hidden;
}
.wf2-tool{
  width:36px;height:36px;border-radius:var(--d-r-xs);
  display:flex;align-items:center;justify-content:center;
  color:var(--d-text-3);cursor:pointer;transition:all .15s;position:relative;
}
.wf2-tool.active{background:var(--d-primary-soft);color:var(--d-primary);box-shadow:var(--d-shadow-sm)}
.wf2-tool.active::before{
  content:'';position:absolute;left:-8px;top:50%;transform:translateY(-50%);
  width:3px;height:18px;border-radius:0 3px 3px 0;background:var(--d-primary);
}
.wf2-tool:hover:not(.active){color:var(--d-text-2);background:var(--d-surface-2)}
.wf2-canvas{
  position:relative;overflow:hidden;background:var(--d-bg);
  transition:background .35s;min-height:0;height:100%;
  cursor:grab;touch-action:none;
}
.wf2-canvas.is-panning{cursor:grabbing;user-select:none}
.wf2-viewport{position:absolute;inset:0;overflow:hidden}
.wf2-stage{
  transform-origin:0 0;will-change:transform;
  padding:28px;width:max-content;box-sizing:border-box;
}
.wf2-node-list{display:flex;flex-direction:column;gap:0;width:580px;max-width:580px;flex-shrink:0;margin:0 auto}
.wf2-node{
  display:grid;grid-template-columns:44px 1fr auto auto;gap:14px;align-items:center;
  background:var(--d-surface);border:1px solid transparent;border-radius:var(--d-r);
  padding:18px 20px;cursor:pointer;transition:border-color .25s,box-shadow .25s,background .2s;
  box-shadow:var(--d-shadow);
}
.wf2-node:hover{box-shadow:var(--d-shadow-lg)}
.wf2-node.is-running{
  border-color:var(--d-green);
  box-shadow:var(--d-shadow),0 0 0 1px var(--d-green),0 0 24px rgba(255,255,255,0.06);
}
.wf2-node.is-done{
  border-color:color-mix(in srgb,var(--d-green) 45%,transparent);
  box-shadow:var(--d-shadow),0 0 16px rgba(255,255,255,0.04);
}
.wf2-node.is-running .wf2-node-icon-wrap{
  background:var(--d-green-soft);color:var(--d-green);
}
.wf2-node.is-done .wf2-node-icon-wrap{
  background:var(--d-green-soft);color:var(--d-green);
}
.wf2-node-icon-wrap{
  width:40px;height:40px;border-radius:var(--d-r-xs);border:none;
  display:flex;align-items:center;justify-content:center;background:var(--d-primary-soft);
  color:var(--d-primary);
}
.wf2-node-name{font-size:14px;font-weight:600;color:var(--d-text);margin-bottom:4px}
.wf2-node-sub{font-family:var(--font);font-size:11px;font-weight:500;color:var(--d-text-3)}
.wf2-node-status-wrap{text-align:right}
.wf2-node-status{
  display:flex;align-items:center;gap:6px;font-family:var(--font);
  font-size:11px;font-weight:600;color:var(--d-text-3);justify-content:flex-end;margin-bottom:4px;
}
.wf2-status-label{line-height:1.2}
.wf2-node-status.run{color:var(--d-green)}
.wf2-node-stat{font-family:var(--font);font-size:11px;font-weight:500;color:var(--d-text-3)}
.wf2-node-stat.is-run-time{color:var(--d-green);font-weight:600;font-variant-numeric:tabular-nums}
.wf2-status-dot{width:6px;height:6px;border-radius:50%;background:var(--d-text-3);flex-shrink:0}
.wf2-status-dot.ok{background:var(--d-green);box-shadow:0 0 0 3px rgba(255,255,255,0.08)}
.wf2-status-dot.run{background:var(--d-green);box-shadow:0 0 0 3px rgba(255,255,255,0.1);animation:wf2-pulse 1s ease-in-out infinite}
@keyframes wf2-pulse{0%,100%{opacity:1}50%{opacity:.45}}
.wf2-node-more{font-size:18px;color:var(--d-text-3);cursor:pointer;opacity:.35;padding-left:4px}
.wf2-node-more:hover{opacity:.7}
.wf2-node-actions{display:flex;align-items:center;justify-content:flex-end}
.wf2-btn-del{
  width:32px;height:32px;border:1px solid var(--d-border);border-radius:var(--d-r-xs);
  background:var(--d-surface);color:var(--d-text-3);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:17px;line-height:1;transition:all .15s;flex-shrink:0;box-shadow:var(--d-shadow-sm);
}
.wf2-btn-del:hover:not(:disabled){border-color:var(--d-red);color:var(--d-red);background:var(--d-red-soft)}
.wf2-btn-del:disabled{opacity:.22;cursor:not-allowed}
.wf2-wrap.is-running .wf2-btn-primary,.wf2-wrap.is-running .wf2-btn-del{pointer-events:none;opacity:.45}
.wf2-connector{display:flex;justify-content:center;padding:2px 0;position:relative;flex-shrink:0}
.wf2-conn-line{
  width:2px;height:28px;background:var(--d-border);position:relative;
  transition:background .35s ease,box-shadow .35s ease;
}
.wf2-conn-line::after{
  content:'';position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);
  width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid var(--d-text-3);
  transition:border-top-color .35s ease,filter .35s ease;
}
.wf2-connector.is-lit .wf2-conn-line{
  background:var(--d-green);
  box-shadow:0 0 10px rgba(255,255,255,0.2);
}
.wf2-connector.is-lit .wf2-conn-line::after{
  border-top-color:var(--d-green);
  filter:none;
}
.wf2-minimap{
  position:absolute;top:16px;right:16px;background:var(--d-surface);border:none;
  border-radius:var(--d-r-sm);padding:12px;width:110px;box-shadow:var(--d-shadow);
}
.wf2-minimap-zoom{
  display:flex;align-items:center;gap:4px;margin-top:8px;
  font-family:var(--font);font-size:10px;font-weight:500;color:var(--d-text-3);
}
.wf2-bottombar{
  display:flex;align-items:center;gap:8px;padding:12px 28px;
  border-top:1px solid var(--d-border);background:var(--d-surface);
  transition:background .35s;flex-shrink:0;
}
.wf2-zoom-btn{
  width:32px;height:32px;border:1px solid var(--d-border);border-radius:var(--d-r-xs);
  background:var(--d-surface);color:var(--d-text-2);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:13px;
  transition:all .15s;box-shadow:var(--d-shadow-sm);
}
.wf2-zoom-btn:hover{color:var(--d-primary);background:var(--d-primary-soft);border-color:transparent}
.wf2-zoom-mini{width:24px;height:24px;font-size:12px;padding:0}
.wf2-zoom-label{font-family:var(--font);font-size:11px;font-weight:500;color:var(--d-text-3);min-width:36px;text-align:center}

/* =====================================================
   AG — scene 3 (AI Agent)
   ===================================================== */
.ag-wrap{
  width:100%;overflow:hidden;
  display:flex;flex-direction:column;
  background:var(--d-bg);
  min-height:calc(100vh - 58px - 96px);
  height:calc(100vh - 58px - 96px);
  max-height:calc(100vh - 58px - 96px);
  transition:background .35s;
}
.ag-chat{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--d-bg);min-height:0;height:100%;
}
.ag-chat-inner{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:32px 28px;text-align:center;min-height:0;overflow-y:auto;
}
.ag-bot-sphere-wrap{
  --ag-sphere-size:120px;
  width:var(--ag-sphere-size);height:var(--ag-sphere-size);
  margin-bottom:20px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
}
.ag-bot-sphere-wrap canvas{
  width:var(--ag-sphere-size)!important;height:var(--ag-sphere-size)!important;
  pointer-events:auto;cursor:crosshair;touch-action:none;display:block;
}
.ag-chat-title{
  font-family:var(--font);font-size:24px;font-weight:500;
  letter-spacing:-.03em;color:var(--d-text);margin-bottom:10px;
}
.ag-chat-sub{font-size:13px;color:var(--d-text-2);line-height:1.65;margin-bottom:24px;font-weight:400}
.ag-suggestion-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-width:460px}
.ag-sug{
  display:flex;align-items:center;gap:8px;width:100%;
  padding:14px 16px;border:none;
  border-radius:var(--d-r-sm);font-family:var(--font);
  font-size:13px;font-weight:500;color:var(--d-text-2);
  cursor:pointer;text-align:left;background:var(--d-surface);
  transition:all .15s;box-shadow:var(--d-shadow-sm);
  appearance:none;-webkit-appearance:none;
  pointer-events:auto;
}
.ag-sug svg{flex-shrink:0;pointer-events:none}
.ag-sug span{margin-left:auto;opacity:.45;pointer-events:none}
.ag-sug:hover{color:var(--d-primary);background:var(--d-primary-soft);box-shadow:var(--d-shadow-sm)}
.ag-sug:active{transform:scale(.98)}
.ag-messages{
  display:none;flex:1;flex-direction:column;gap:16px;
  min-height:0;overflow-y:auto;padding:20px;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
}
.ag-messages.is-active{display:flex}
.ag-messages.is-drag-scrolling{cursor:grabbing;user-select:none}
.ag-msg-user{
  align-self:flex-end;max-width:75%;padding:12px 16px;
  background:var(--d-primary);border:none;border-radius:var(--d-r-sm);
  font-size:13px;line-height:1.6;color:var(--on-primary);box-shadow:var(--d-shadow-sm);
}
.ag-msg-ai{
  align-self:flex-start;max-width:88%;padding:14px 18px;
  background:var(--d-surface);border:none;border-radius:var(--d-r-sm);
  font-size:13px;line-height:1.65;color:var(--d-text);box-shadow:var(--d-shadow-sm);
  white-space:pre-line;
}
.ag-msg-block{align-self:flex-start;max-width:88%;display:flex;flex-direction:column;gap:0}
.ag-msg-block .ag-msg-ai{max-width:100%}
.ag-followups{
  align-self:flex-start;max-width:100%;width:100%;
  margin-top:4px;padding:0 0 4px;
  animation:agFadeIn .35s ease;
}
@keyframes agFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ag-followups-label{
  font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--d-text-3);margin-bottom:10px;
}
.ag-followup-row{display:flex;flex-wrap:wrap;gap:8px;max-width:520px}
.ag-followup-sug{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 14px;border:1px solid var(--d-border);border-radius:999px;
  background:var(--d-surface-2);color:var(--d-text-2);
  font-family:var(--font);font-size:12px;font-weight:500;
  cursor:pointer;transition:all .15s;box-shadow:var(--d-shadow-sm);
}
.ag-followup-sug:hover{
  color:var(--d-primary);background:var(--d-primary-soft);
  border-color:color-mix(in srgb,var(--d-primary) 30%,transparent);
}
.ag-followup-sug::after{content:'→';opacity:.4;font-size:11px}
.ag-input-wrap{
  padding:16px 24px 20px;border-top:1px solid var(--d-border);
  background:var(--d-bg);flex-shrink:0;
}
.ag-input-row{
  display:flex;align-items:center;gap:10px;
  background:var(--d-surface);border:1px solid var(--d-border);
  border-radius:var(--d-r-sm);padding:12px 16px;margin-bottom:10px;
  box-shadow:var(--d-shadow-sm);
}
.ag-input{flex:1;background:none;border:none;outline:none;font-family:var(--font);font-size:13px;color:var(--d-text)}
.ag-input::placeholder{color:var(--d-text-3)}
.ag-send{
  width:32px;height:32px;min-width:32px;padding:0;
  background:var(--d-primary);border:none;border-radius:var(--d-r-xs);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:opacity .15s;color:var(--on-primary);flex-shrink:0;
  box-shadow:var(--d-shadow-sm);
}
.ag-send svg{display:block;flex-shrink:0;pointer-events:none}
.ag-send:hover{opacity:.88}
.ag-privacy{
  display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;
  color:var(--d-text-3);justify-content:center;
}

/* =====================================================
   PLAYGROUND — Dribbble shots marquee
   ===================================================== */
.playground-section{
  position:relative;z-index:2;
  background:var(--bg);
  padding:clamp(72px,10vh,140px) 0 clamp(64px,8vh,120px);
  scroll-margin-top:calc(var(--header-h) + 16px);
  overflow-x:clip;
}
.playground-inner{
  width:100%;max-width:none;margin:0 auto;
  padding:0 24px;
  text-align:center;
}
.playground-heading{
  margin:0 0 4px;
  padding:0 16px 6px;
  text-align:center;color:var(--text);
  font-family:var(--font-display);
  font-size:clamp(72px,10.5vw,240px);
  font-weight:500;line-height:0.9;
  letter-spacing:0.01em;
  text-transform:uppercase;
  overflow:visible;
}
.playground-viewport{
  overflow:hidden;width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
}
.playground-track{
  display:flex;align-items:stretch;gap:22px;width:max-content;
  padding:4px 24px;
  animation:playground-marquee 180s linear infinite;
  will-change:transform;
}
.playground-section.is-paused .playground-track,
.playground-section.is-static .playground-track{
  animation-play-state:paused;
}
.playground-track:has(.playground-shot:hover),
.playground-track:has(.playground-shot:focus-visible){
  animation-play-state:paused;
}
.playground-shot{
  flex:0 0 auto;
  display:block;
  width:min(520px,84vw);
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--bg2);
  transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease,border-color .2s ease;
}
.playground-shot:hover,
.playground-shot:focus-visible{
  transform:translateY(-3px);
  border-color:var(--border2);
  box-shadow:var(--shadow-sm);
  outline:none;
}
.playground-shot img{
  width:100%;height:auto;display:block;
  aspect-ratio:4/3;object-fit:cover;
}
@keyframes playground-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion:reduce){
  .playground-track{animation:none}
}

/* =====================================================
   RESPONSIVE — SHOWCASE
   ===================================================== */
@media (max-width: 1200px){
  .scroll-showcase{grid-template-columns:300px minmax(0,1fr)}
  .scroll-left-sticky{padding:36px 24px 36px 28px}
  .scroll-right-panels{gap:112px;padding:64px 40px 32px 28px}
  .scroll-scene-block > *,
  .scroll-scene-block > .dashboard,
  .scroll-scene-block > .wf2-wrap,
  .scroll-scene-block > .ag-wrap{min-height:calc(100vh - 58px - 72px)}
  .scroll-scene-block > .wf2-wrap,
  .scroll-scene-block > .ag-wrap{
    height:calc(100vh - 58px - 72px);
    max-height:calc(100vh - 58px - 72px);
  }
  .dashboard .metrics-row-new{grid-template-columns:repeat(2,1fr)}
  .dashboard .charts-row{grid-template-columns:1fr}
  .dashboard .bottom-row{grid-template-columns:1fr 1fr}
  .showcase-scroll-wrap.is-tabbed .scroll-showcase{
    grid-template-columns:minmax(220px,260px) minmax(0,1fr);
    padding:0 20px;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-left-sticky{
    position:relative;top:auto;height:auto;
    padding:8px 12px 8px 0;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-right-panels{display:grid;padding:0;gap:0}
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block > *,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block > .dashboard,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block > .wf2-wrap,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block > .ag-wrap{
    min-height:100%;
    height:100%;
    max-height:none;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block > .dashboard{
    height:auto;
    min-height:100%;
    overflow:hidden;
  }
  .showcase-scroll-wrap.is-tabbed .dashboard .dash-main-new{
    overflow:hidden;
  }
}

@media (max-width: 980px){
  :root{
    --showcase-edge-y:0;
    --section-gap:72px;
    --philosophy-gap: clamp(56px, 8vh, 96px);
    --display-text-size:clamp(15px,4.2vw,24px);
    --display-text-weight:600;
    --display-text-leading:1.25;
    --display-text-tracking:-.03em;
  }
  .hero-section{
    display:flex;flex-direction:column;justify-content:space-between;
    min-height:100vh;min-height:100dvh;
  }
  .hero-header-wrap{
    display:block;
    position:fixed;inset:0 0 auto 0;height:auto;
    z-index:380;
  }
  .hero-header{
    height:auto;
    padding:14px 16px;
    padding-top:max(14px,env(safe-area-inset-top));
    align-items:center;
  }
  .hero-brand{
    opacity:1;
    font-size:22px;
    pointer-events:auto;
    cursor:pointer;
  }
  .sm-toggle{font-size:16px}
  .sm-prelayers,.sm-panel{width:100%;left:0;right:0}
  body.is-menu-open .hero-brand{color:#111}
  .hero-mobile-brand{display:none}
  .hero-wordmark{font-size:clamp(72px,18vw,128px)}
  .playground-heading{font-size:clamp(52px,14vw,96px)}
  .hero-tagline,
  .playground-lede{
    max-width:none;
    white-space:nowrap;
    font-size:clamp(9px,2.7vw,18px);
    font-weight:400;
  }
  .showcase-scroll-wrap{padding:0 0 24px}
  .showcase-heading{
    margin-top:0;
    padding-top:clamp(20px,4vh,32px);
  }
  .showcase-scroll-wrap.is-tabbed{padding:clamp(56px,8vh,96px) 0 48px}
  .showcase-tabs{margin-bottom:20px;padding:0 16px}
  .scroll-showcase{grid-template-columns:1fr}
  .showcase-scroll-wrap.is-tabbed .scroll-showcase{
    grid-template-columns:1fr;padding:0 16px;
  }
  .scroll-left-sticky{
    position:sticky;top:0;z-index:4;
    height:auto;max-height:none;
    padding:16px 16px 14px;
    padding-top:max(14px,env(safe-area-inset-top));
    background:var(--bg);
    border-right:none;border-bottom:.5px solid var(--border);
  }
  .showcase-scroll-wrap.is-tabbed .scroll-left-sticky{
    position:relative;top:auto;height:auto;
    padding:0 0 16px;
  }
  .scroll-left-panel.active{transform:none}
  .slp-desc{margin-bottom:12px}
  .slp-features{gap:10px;margin-bottom:0}
  .slp-feat-desc{display:none}
  .slp-divider{margin-bottom:14px}
  .scroll-right-panels{gap:var(--section-gap);padding:32px 16px 32px}
  .showcase-scroll-wrap.is-tabbed .scroll-right-panels{display:grid;padding:16px 0 0;gap:0}
  .scroll-scene-block > *,
  .scroll-scene-block > .dashboard,
  .scroll-scene-block > .wf2-wrap,
  .scroll-scene-block > .ag-wrap{min-height:auto;height:auto;max-height:none}
  .dashboard,.wf2-wrap,.ag-wrap{min-height:auto}
  .wf2-wrap,.ag-wrap{height:min(72vh,640px);max-height:min(72vh,640px);min-height:420px}
  .dashboard{grid-template-columns:1fr}
  .dashboard .dash-sidebar-new{border-right:none;border-bottom:1px solid var(--d-border)}
  .dashboard .dash-topbar-new{flex-wrap:wrap;align-items:flex-start;gap:12px}
  .dashboard .dash-content{padding:18px}
  .dashboard .metrics-row-new,.dashboard .bottom-row{grid-template-columns:1fr}
  /* Scene 1 — mobile dashboard shell */
  .scroll-scene-block[data-scene="1"] > .dashboard{
    display:flex;flex-direction:column;
    height:auto;max-height:none;min-height:0;
    overflow:hidden;
  }
  .scroll-scene-block[data-scene="1"] .dash-sidebar-new{
    flex:0 0 auto;flex-direction:row;align-items:center;
    overflow-x:auto;overflow-y:hidden;
    padding:8px 10px;gap:4px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .scroll-scene-block[data-scene="1"] .dash-sidebar-new::-webkit-scrollbar{display:none}
  .scroll-scene-block[data-scene="1"] .dash-sidebar-section,
  .scroll-scene-block[data-scene="1"] .dash-sidebar-footer{display:none}
  .scroll-scene-block[data-scene="1"] .dash-nav-item{
    flex:0 0 auto;margin:0;padding:8px 12px;font-size:12px;white-space:nowrap;
  }
  .scroll-scene-block[data-scene="1"] .dash-nav-item.active::before{display:none}
  .scroll-scene-block[data-scene="1"] .dash-nav-icon{width:16px;height:16px}
  .scroll-scene-block[data-scene="1"] .dash-main-new{
    flex:1;min-height:0;overflow:hidden;
  }
  .scroll-scene-block[data-scene="1"] .dash-title-text{font-size:20px}
  .scroll-scene-block[data-scene="1"] .dash-title-sub{font-size:12px}
  .scroll-scene-block[data-scene="1"] .dash-topbar-new{padding:16px 16px 12px}
  .scroll-scene-block[data-scene="1"] .dash-content{padding:0 16px 16px;gap:14px}
  .scroll-scene-block[data-scene="1"] .metric-value-new{font-size:22px}
  .scroll-scene-block[data-scene="1"] .area-chart-wrap{height:96px}
  .scroll-scene-block[data-scene="1"] .timeline-section{padding:16px}
  .wf2-topbar{flex-wrap:wrap;gap:10px;padding:14px 16px}
  .wf2-topbar > div{flex-wrap:wrap;gap:8px}
  .wf2-topbar-title{font-size:18px}
  .wf2-btn-ghost,.wf2-btn-primary{font-size:11px;padding:7px 12px}
  /* Scene 2 — mobile workflow: native scroll, no pan/zoom transform */
  .scroll-scene-block[data-scene="2"] > .wf2-wrap{
    height:min(78vh,720px);max-height:min(78vh,720px);min-height:420px;
  }
  .scroll-scene-block[data-scene="2"] .wf2-body{flex:1;min-height:0}
  .scroll-scene-block[data-scene="2"] .wf2-canvas{
    overflow-y:auto;overflow-x:hidden;
    touch-action:pan-y;cursor:default;
    -webkit-overflow-scrolling:touch;
  }
  .scroll-scene-block[data-scene="2"] .wf2-canvas.is-panning{
    touch-action:pan-y;cursor:default;
  }
  .scroll-scene-block[data-scene="2"] .wf2-viewport{
    position:relative;inset:auto;overflow:visible;height:auto;
  }
  .scroll-scene-block[data-scene="2"] .wf2-stage{
    transform:none!important;
    width:100%;max-width:100%;padding:14px 12px;box-sizing:border-box;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-list{
    width:100%;max-width:100%;margin:0;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node{
    width:100%;max-width:100%;box-sizing:border-box;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    grid-template-areas:
      "icon info actions"
      "icon status status";
    gap:5px 10px;padding:12px 10px;align-items:start;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-icon-wrap{
    grid-area:icon;width:34px;height:34px;align-self:start;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-icon-wrap svg{
    width:15px;height:15px;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-info{
    grid-area:info;min-width:0;overflow:hidden;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-name{
    font-size:clamp(12px,3.5vw,14px);
    line-height:1.3;margin-bottom:2px;
    overflow-wrap:anywhere;word-break:break-word;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-sub{
    font-size:clamp(10px,2.8vw,11px);
    line-height:1.35;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-status-wrap{
    grid-area:status;min-width:0;
    display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;
    text-align:left;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-status{
    justify-content:flex-start;margin-bottom:0;
    font-size:clamp(10px,2.8vw,11px);gap:5px;
    flex-shrink:0;
  }
  .scroll-scene-block[data-scene="2"] .wf2-status-label{
    white-space:nowrap;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-stat{
    font-size:clamp(10px,2.8vw,11px);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    min-width:0;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-actions{
    grid-area:actions;align-self:start;
  }
  .scroll-scene-block[data-scene="2"] .wf2-btn-del{
    width:28px;height:28px;min-width:28px;font-size:15px;
  }
  .scroll-scene-block[data-scene="2"] .wf2-connector{padding:1px 0}
  .scroll-scene-block[data-scene="2"] .wf2-conn-line{height:22px}
  .scroll-scene-block[data-scene="2"] .wf2-minimap{display:none}
  .scroll-scene-block[data-scene="2"] .wf2-bottombar{padding:10px 14px}
  .scroll-scene-block[data-scene="2"] .wf2-zoom-btn,
  .scroll-scene-block[data-scene="2"] #wf2-zoom-slider,
  .scroll-scene-block[data-scene="2"] #wf2-zoom-label{display:none}
  /* Scene 3 — mobile chat shell */
  .scroll-scene-block[data-scene="3"] > .ag-wrap{
    display:flex;flex-direction:column;
    height:min(78vh,720px);max-height:min(78vh,720px);min-height:420px;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="1"] > .dashboard,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="2"] > .wf2-wrap,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="3"] > .ag-wrap{
    height:100%;
    max-height:none;
    min-height:100%;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="1"] > .dashboard{
    height:auto;
  }
  .scroll-scene-block[data-scene="3"] .ag-chat{flex:1;min-height:0}
  .scroll-scene-block[data-scene="3"] .ag-chat-inner{
    justify-content:flex-start;padding-top:18px;
    overflow-y:auto;-webkit-overflow-scrolling:touch;
  }
  .scroll-scene-block[data-scene="3"] .ag-bot-sphere-wrap{--ag-sphere-size:88px;margin-bottom:14px}
  .scroll-scene-block[data-scene="3"] .ag-chat-title{font-size:20px}
  .scroll-scene-block[data-scene="3"] .ag-chat-sub{font-size:12px;margin-bottom:16px}
  .wf2-body{grid-template-columns:1fr}
  .wf2-tools{
    order:2;border-right:none;border-top:.5px solid var(--border);
    padding:12px 16px;flex-direction:row;justify-content:flex-start;overflow-x:auto
  }
  .wf2-canvas{padding:0}
  .wf2-stage{padding:20px}
  .wf2-minimap{display:none}
  .hero-tagline,
  .playground-lede{
    max-width:none;
    white-space:nowrap;
    text-align:center;
    color:#fff;
    opacity:1;
    padding:0;
    font-size:clamp(9px,2.6vw,18px);
    font-weight:400;
  }
  .hero-tagline-br{display:none}
  .philosophy-pin{padding:0 16px}
  .philosophy-lines{width:100%;align-items:center}
  .philosophy-phrase,
  .vibe-phrase{
    width:100%;max-width:100%;
    white-space:normal;
    font-size:clamp(30px,7.4vw,48px);
  }
  .showcase-heading{
    margin-bottom:clamp(32px,5vh,64px);
    padding:0 16px;
  }
  .contact-section{
    padding:var(--header-h) 20px 0;
    gap:clamp(16px,3vh,32px);
  }
  .contact-h2{margin-bottom:18px}
  .contact-links{gap:12px}
  .contact-footer-stack{min-height:clamp(140px,28vh,280px)}
  .contact-footer-brand{font-size:clamp(160px,40vw,280px);transform:translateY(12%)}
  .contact-footer-copy{
    white-space:nowrap;
    max-width:none;width:max-content;
    font-size:clamp(8px,2.35vw,11px);
    letter-spacing:-.01em;
    line-height:1.3;padding:0 12px;
  }
}

@media (max-width: 720px){
  :root{
    --showcase-edge-y:0;
    --section-gap:48px;
    --philosophy-gap: 48px;
  }
  .hero-wordmark{font-size:clamp(60px,16vw,104px)}
  .playground-heading{font-size:clamp(44px,12vw,80px)}
  .contact-section{
    padding:var(--header-h) 16px max(0px,env(safe-area-inset-bottom));
    gap:clamp(12px,2.5vh,24px);
    scroll-margin-top:calc(var(--header-h) + 24px);
  }
  .contact-inner{padding:0 4px}
  .contact-h2{margin-bottom:14px}
  .contact-links{
    flex-direction:column;width:100%;max-width:300px;
    align-items:stretch;
  }
  .contact-link{justify-content:center;width:100%;font-size:11px;padding:12px 16px}
  .contact-footer-wave{height:clamp(64px,14vh,120px);margin-bottom:clamp(2px,1vh,8px)}
  .contact-footer-stack{min-height:clamp(100px,22vh,180px);padding-top:clamp(4px,1vh,10px)}
  .contact-footer-brand{font-size:clamp(120px,36vw,210px);transform:translateY(10%)}
  .contact-footer-copy{
    font-size:clamp(7.5px,2.2vw,10px);
    letter-spacing:-.02em;
    margin-bottom:clamp(16px,4vh,32px);
  }
  .philosophy-pin{padding:0 12px}
  .showcase-heading{margin-bottom:clamp(20px,3vh,40px);padding-top:16px}
  .scroll-left-sticky{padding:14px 14px 12px;padding-top:max(12px,env(safe-area-inset-top))}
  .slp-title{font-size:clamp(22px,7vw,30px);margin-bottom:10px}
  .slp-desc{font-size:12px;margin-bottom:8px}
  .scroll-right-panels{gap:var(--section-gap);padding:24px 12px 40px}
  .scroll-scene-block{border-radius:12px}
  .scroll-scene-block > *{border-radius:12px}
  .wf2-wrap,.ag-wrap{height:min(68vh,560px);max-height:min(68vh,560px);min-height:360px}
  .scroll-scene-block[data-scene="1"] > .dashboard,
  .scroll-scene-block[data-scene="2"] > .wf2-wrap{
    height:min(72vh,640px);max-height:min(72vh,640px);min-height:380px;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="1"] > .dashboard,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="2"] > .wf2-wrap,
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="3"] > .ag-wrap{
    height:100%;
    max-height:none;
    min-height:100%;
  }
  .showcase-scroll-wrap.is-tabbed .scroll-scene-block[data-scene="1"] > .dashboard{
    height:auto;
  }
  .scroll-scene-block[data-scene="1"] .dash-sidebar-new{padding:6px 8px}
  .scroll-scene-block[data-scene="1"] .dash-nav-item{padding:7px 10px;font-size:11px}
  .scroll-scene-block[data-scene="1"] .dash-topbar-new{padding:12px 12px 10px}
  .scroll-scene-block[data-scene="1"] .dash-title-text{font-size:17px}
  .scroll-scene-block[data-scene="1"] .dash-content{padding:0 12px 12px;gap:12px}
  .scroll-scene-block[data-scene="1"] .metrics-row-new{grid-template-columns:repeat(2,1fr);gap:10px}
  .scroll-scene-block[data-scene="1"] .metric-card-new{padding:12px;gap:10px}
  .scroll-scene-block[data-scene="1"] .metric-icon-box{width:32px;height:32px}
  .scroll-scene-block[data-scene="1"] .metric-value-new{font-size:18px}
  .scroll-scene-block[data-scene="1"] .metric-label-new{font-size:11px}
  .scroll-scene-block[data-scene="1"] .chart-card-new{padding:16px}
  .scroll-scene-block[data-scene="1"] .area-chart-wrap{height:80px}
  .scroll-scene-block[data-scene="1"] .dash-date-pill{font-size:10px;padding:6px 10px}
  .scroll-scene-block[data-scene="2"] .wf2-topbar{padding:12px 12px}
  .scroll-scene-block[data-scene="2"] .wf2-topbar-title{font-size:15px}
  .scroll-scene-block[data-scene="2"] .wf2-badge{font-size:10px;padding:4px 8px}
  .scroll-scene-block[data-scene="2"] .wf2-topbar > div:last-child > span{display:none}
  .scroll-scene-block[data-scene="2"] .wf2-btn-primary{padding:7px 10px}
  .scroll-scene-block[data-scene="2"] .wf2-tools{padding:8px 10px;gap:2px}
  .scroll-scene-block[data-scene="2"] .wf2-tool{width:32px;height:32px}
  .scroll-scene-block[data-scene="2"] .wf2-stage{padding:10px 8px}
  .scroll-scene-block[data-scene="2"] .wf2-node{
    grid-template-columns:30px minmax(0,1fr) auto;
    gap:4px 8px;padding:10px 8px;
  }
  .scroll-scene-block[data-scene="2"] .wf2-node-icon-wrap{width:30px;height:30px}
  .scroll-scene-block[data-scene="2"] .wf2-node-icon-wrap svg{width:14px;height:14px}
  .scroll-scene-block[data-scene="2"] .wf2-btn-del{width:26px;height:26px;min-width:26px;font-size:14px}
  .scroll-scene-block[data-scene="2"] .wf2-conn-line{height:18px}
  .scroll-scene-block[data-scene="3"] .ag-bot-sphere-wrap{--ag-sphere-size:76px}
  .scroll-scene-block[data-scene="3"] .ag-chat-title{font-size:18px}
  .scroll-scene-block[data-scene="3"] .ag-input-wrap{padding:12px 14px 14px}
  .scroll-scene-block[data-scene="2"] .wf2-bottombar{padding:8px 12px;gap:6px}
  .scroll-scene-block[data-scene="2"] .wf2-zoom-btn{width:28px;height:28px;font-size:12px}
  .dashboard .dash-sidebar-new,.dash-content,.wf2-canvas,.ag-chat-inner,.ag-input-wrap{padding-left:14px;padding-right:14px}
  .dashboard .dash-topbar-new{padding:16px 14px}
  .dashboard .dash-content{padding:14px}
  .dashboard .timeline-track{-webkit-overflow-scrolling:touch}
  .metric-card-new{padding:14px}
  .scroll-scene-block[data-scene="1"] .dash-sidebar-new,
  .scroll-scene-block[data-scene="1"] .dash-content{padding-left:0;padding-right:0}
  .scroll-scene-block[data-scene="2"] .wf2-canvas{padding-left:0;padding-right:0}
  .ag-chat-sub br{display:none}
  .ag-suggestion-grid{grid-template-columns:1fr}
  .ag-msg-user,.ag-msg-ai,.ag-msg-block{max-width:92%}
  .ag-followup-row{max-width:100%}
}



