/* Kiyravo — Cyber EV Lab design system */
:root{
  --tcm-obsidian:#020617;
  --tcm-panel:#0F172A;
  --tcm-neon:#39FF14;
  --tcm-cyan:#00E5FF;
  --tcm-mist:#E8FFF0;
  --tcm-muted:rgba(232,255,240,.6);
  --tcm-line:rgba(232,255,240,.12);
  --tcm-disp:"Space Grotesk",sans-serif;
  --tcm-sans:"Noto Sans JP",sans-serif;
  --tcm-ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
body.tcm-body{font-family:var(--tcm-sans);font-weight:400;background:var(--tcm-obsidian);color:var(--tcm-mist);line-height:1.7;overflow-x:hidden;position:relative}
img{max-width:100%;display:block;object-fit:cover}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
h1,h2,h3{font-weight:500;line-height:1.3}
h1{font-family:var(--tcm-disp);font-size:clamp(1.75rem,2.2vw,2rem);letter-spacing:.04em}
h2{font-family:var(--tcm-disp);font-size:clamp(1.375rem,1.8vw,1.625rem);margin-bottom:.7rem}
h3{font-family:var(--tcm-disp);font-size:clamp(1.125rem,1.3vw,1.25rem);margin:.5rem 0;font-weight:500}
p{font-weight:400;font-size:clamp(.875rem,1.1vw,1rem)}
small,.tcm-meta,.tcm-eye,figcaption{font-size:.75rem}
.tcm-wrap{width:min(1140px,92vw);margin:0 auto;position:relative;z-index:2}
.tcm-eye{color:var(--tcm-cyan);font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;font-weight:500;margin-bottom:.8rem;display:flex;align-items:center;gap:.5rem}
.tcm-eye::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tcm-neon);box-shadow:0 0 10px var(--tcm-neon);flex-shrink:0}
.tcm-meta{color:var(--tcm-muted);font-size:.8rem}

/* Noise / grid textures */
.tcm-noise{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.035;background-image:radial-gradient(rgba(232,255,240,.9) .5px,transparent .5px);background-size:3px 3px}
.tcm-grid-bg{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.55;
  background-image:linear-gradient(rgba(0,229,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(0,229,255,.08) 1px,transparent 1px);
  background-size:42px 42px;mask-image:radial-gradient(circle at 50% 30%,#000 0%,transparent 75%);}

/* Buttons / links */
.tcm-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.7rem;background:var(--tcm-neon);color:#02170a;font-weight:500;border-radius:2px;box-shadow:0 0 0 1px rgba(57,255,20,.4),0 0 30px rgba(57,255,20,.4);transition:transform .35s var(--tcm-ease),box-shadow .35s var(--tcm-ease);border:0;cursor:pointer;font-size:.92rem;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}
.tcm-btn:hover{transform:translateY(-3px);box-shadow:0 0 0 1px rgba(57,255,20,.6),0 0 46px rgba(57,255,20,.6)}
.tcm-btn--ghost{background:transparent;color:var(--tcm-mist);box-shadow:inset 0 0 0 1px rgba(0,229,255,.5)}
.tcm-btn--ghost:hover{box-shadow:inset 0 0 0 1px var(--tcm-cyan),0 0 24px rgba(0,229,255,.35)}
.tcm-link{color:var(--tcm-cyan);border-bottom:1px solid rgba(0,229,255,.5);font-weight:500;display:inline-flex;align-items:center;gap:.4rem;margin-top:1.1rem;transition:border-color .3s,gap .3s}
.tcm-link:hover{border-color:var(--tcm-cyan);gap:.65rem}

/* Header + mobile nav (nav is sibling of .tcm-bar, not trapped inside it) */
.tcm-header{
  position:fixed;top:0;left:0;right:0;z-index:200;height:68px;
  display:flex;align-items:center;
  background:rgba(2,6,23,.78);
  border-bottom:1px solid rgba(232,255,240,.08);
  transition:background .35s,box-shadow .35s,border-color .35s;
}
.tcm-header::before{
  content:"";position:absolute;inset:0;z-index:-1;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  pointer-events:none;
}
.tcm-header.on{
  background:rgba(2,6,23,.94);
  box-shadow:0 10px 30px rgba(0,0,0,.4);
  border-color:rgba(232,255,240,.14);
}
.tcm-bar{
  width:min(1200px,94vw);margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;
  gap:1rem;position:relative;z-index:220;height:68px;
}
.tcm-logo{
  display:flex;gap:.7rem;align-items:center;
  font-family:var(--tcm-disp);font-weight:500;letter-spacing:.03em;
  color:var(--tcm-mist);line-height:1;position:relative;z-index:221;
}
.tcm-logo__ring{
  width:16px;height:16px;border-radius:50%;
  border:1.5px solid var(--tcm-neon);
  box-shadow:0 0 12px rgba(57,255,20,.6);
  flex-shrink:0;position:relative;
}
.tcm-logo__ring::after{
  content:"";position:absolute;inset:4px;border-radius:50%;
  background:var(--tcm-neon);box-shadow:0 0 8px rgba(57,255,20,.9);
}
.tcm-logo__ring--sm{width:12px;height:12px}

/* Desktop nav — sits in header row on the right */
.tcm-nav{
  position:absolute;top:0;right:0;height:68px;
  width:min(1200px,94vw);left:50%;transform:translateX(-50%);
  display:flex;align-items:center;justify-content:flex-end;
  pointer-events:none;z-index:210;
}
.tcm-nav ul{
  display:flex;gap:1.35rem;align-items:center;
  list-style:none;margin:0;padding:0;
  pointer-events:auto;
}
.tcm-nav a{
  font-size:.85rem;font-weight:500;
  color:rgba(232,255,240,.78);transition:color .3s;
  line-height:1;white-space:nowrap;position:relative;
}
.tcm-nav a::after{
  content:"";position:absolute;left:0;bottom:-8px;width:0;height:1px;
  background:var(--tcm-cyan);transition:width .3s var(--tcm-ease);
}
.tcm-nav a:hover,.tcm-nav a.is-active{color:#fff}
.tcm-nav a:hover::after,.tcm-nav a.is-active::after{width:100%}
.tcm-nav__cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.55rem 1.2rem;border:1px solid var(--tcm-neon);border-radius:2px;
  color:var(--tcm-neon)!important;line-height:1;white-space:nowrap;
  box-shadow:0 0 16px rgba(57,255,20,.25);
}
.tcm-nav__cta::after{display:none!important}
.tcm-nav__cta:hover{background:rgba(57,255,20,.14);color:#fff!important}
.tcm-nav__meta{display:none}

.tcm-burger{
  display:none;background:transparent;border:0;
  width:48px;height:48px;padding:0;
  flex-direction:column;justify-content:center;align-items:center;gap:6px;
  cursor:pointer;position:relative;z-index:230;
  -webkit-tap-highlight-color:transparent;
}
.tcm-burger span{
  display:block;height:2px;width:22px;background:var(--tcm-mist);
  transition:transform .3s var(--tcm-ease),opacity .25s;
  pointer-events:none;
}
.tcm-burger.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.tcm-burger.is-open span:nth-child(2){opacity:0}
.tcm-burger.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

body.is-nav-open{overflow:hidden;touch-action:none}
/* Hero */
.tcm-hero{position:relative;min-height:100vh;display:grid;align-items:end;overflow:hidden;background:var(--tcm-obsidian)}
.tcm-hero--s{min-height:70vh}
.tcm-hero__media{position:absolute;inset:0}
.tcm-hero__media img{width:100%;height:100%;filter:saturate(1.1) contrast(1.05) brightness(.9)}
.tcm-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.5) 0%,rgba(2,6,23,.15) 38%,rgba(2,6,23,.85) 100%);pointer-events:none}
.tcm-hero__glow{position:absolute;inset:auto -10% -25% 35%;height:55%;background:radial-gradient(circle,rgba(57,255,20,.22),transparent 70%);z-index:1;pointer-events:none;filter:blur(10px)}
.tcm-hero__glow--cyan{inset:-10% 40% auto -15%;height:45%;background:radial-gradient(circle,rgba(0,229,255,.18),transparent 70%)}
.tcm-rings{position:absolute;right:6vw;top:50%;transform:translateY(-50%);width:min(46vw,560px);aspect-ratio:1;pointer-events:none;z-index:1}
.tcm-rings span{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(0,229,255,.28)}
.tcm-rings span:nth-child(2){inset:8%;border-color:rgba(57,255,20,.22)}
.tcm-rings span:nth-child(3){inset:16%;border-style:dashed;border-color:rgba(232,255,240,.18)}
.tcm-hero__content{position:relative;z-index:2;padding:0 6vw 12vh;max-width:760px}
.tcm-hero__content .tcm-eye{color:var(--tcm-cyan)}
.tcm-hero__content p{margin:.9rem 0 1.6rem;color:#cfe9dd;font-size:1.05rem;max-width:560px}

/* Sections */
.tcm-sec{position:relative;padding:clamp(3.6rem,7vw,6.2rem) 0;overflow:hidden}
.tcm-sec--panel{background:var(--tcm-panel)}
.tcm-sec--neon{background:linear-gradient(115deg,#031007,#02131a)}
.tcm-sec--grid{background:var(--tcm-obsidian)}
.tcm-intro{max-width:700px}
.tcm-intro p:last-child{color:var(--tcm-muted)}
.tcm-intro--wide{max-width:900px}

/* Orbit layout */
.tcm-orbit{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.tcm-orbit--flip{direction:rtl}.tcm-orbit--flip>*{direction:ltr}
.tcm-orbit__stage{position:relative;display:grid;place-items:center;padding:2rem}
.tcm-orbit-ring{position:absolute;border:1px dashed rgba(0,229,255,.35);border-radius:50%;inset:0}
.tcm-orbit-ring--in{inset:10%;border-color:rgba(57,255,20,.3);border-style:solid}
.tcm-orbit-ring--dot{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--tcm-neon);box-shadow:0 0 12px var(--tcm-neon);top:0;left:50%;margin-left:-5px}
.tcm-circle{width:min(420px,80vw);aspect-ratio:1;border-radius:50%;overflow:hidden;border:1px solid rgba(57,255,20,.35);box-shadow:0 0 44px rgba(57,255,20,.14),inset 0 0 30px rgba(0,229,255,.08);margin-inline:auto;position:relative;z-index:2}
.tcm-circle img{width:100%;height:100%}
.tcm-circle--sm{width:170px;margin-bottom:1.1rem}
.tcm-circle--md{width:240px}

/* Stat grid / models grid */
.tcm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2rem}
.tcm-stats__item{padding:1.6rem 1rem;text-align:center;border:1px solid var(--tcm-line);border-radius:18px;background:rgba(15,23,42,.5);position:relative}
.tcm-stats__item strong{display:block;font-family:var(--tcm-disp);font-size:clamp(1.6rem,3vw,2.3rem);color:var(--tcm-neon);font-weight:500}
.tcm-stats__item span{color:var(--tcm-muted);font-size:.82rem}
.tcm-models{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;margin-top:1.6rem}
.tcm-models article{text-align:center;padding:1.2rem 1rem 1.4rem;border-radius:18px;transition:transform .35s var(--tcm-ease)}
.tcm-models article:hover{transform:translateY(-6px)}
.tcm-models p{color:var(--tcm-muted);font-size:.88rem}
.tcm-models .tcm-spec{color:var(--tcm-cyan);font-size:.76rem;letter-spacing:.08em;margin-top:.3rem}

/* Quote / neon */
.tcm-quote{text-align:center;position:relative;z-index:2}
.tcm-quote h2{color:var(--tcm-neon);font-size:clamp(1.35rem,3vw,2.1rem);text-shadow:0 0 24px rgba(57,255,20,.35)}
.tcm-quote p{color:var(--tcm-muted);margin-top:.6rem}

/* Glass cards */
.tcm-glass{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem}
.tcm-glass__card{background:rgba(232,255,240,.045);border:1px solid rgba(0,229,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:1.1rem;border-radius:18px;transition:border-color .35s,transform .35s}
.tcm-glass__card:hover{border-color:var(--tcm-neon);transform:translateY(-5px)}
.tcm-glass__card img{width:100%;height:180px;margin-bottom:.9rem;border-radius:12px}
.tcm-glass__card p{color:var(--tcm-muted);font-size:.92rem}

/* Split */
.tcm-split{display:grid;grid-template-columns:1fr 1fr;gap:2.2rem;align-items:center}
.tcm-split--flip{direction:rtl}.tcm-split--flip>*{direction:ltr}
.tcm-split img{width:100%;height:400px;border-radius:20px;border:1px solid rgba(0,229,255,.25);box-shadow:0 0 40px rgba(0,229,255,.1)}
.tcm-split p{color:var(--tcm-muted)}

/* Timeline */
.tcm-timeline{margin-top:1.8rem;border-left:1px solid var(--tcm-line);padding-left:2rem;display:grid;gap:2.1rem}
.tcm-timeline__item{position:relative}
.tcm-timeline__item::before{content:"";position:absolute;left:-2.05rem;top:.3rem;width:10px;height:10px;border-radius:50%;background:var(--tcm-neon);box-shadow:0 0 10px var(--tcm-neon)}
.tcm-timeline__item time{color:var(--tcm-cyan);font-family:var(--tcm-disp);font-size:.9rem}
.tcm-timeline__item p{color:var(--tcm-muted);margin-top:.3rem}

/* Team / testimonials */
.tcm-team{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;margin-top:1.6rem}
.tcm-team__card{text-align:center;padding:1.4rem 1rem;border-radius:18px;background:rgba(15,23,42,.5);border:1px solid var(--tcm-line)}
.tcm-team__card .tcm-circle--sm{width:120px}
.tcm-team__card p{color:var(--tcm-muted);font-size:.86rem}
.tcm-team__card .tcm-role{color:var(--tcm-cyan);font-size:.78rem;letter-spacing:.08em;margin-bottom:.4rem}
.tcm-testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;margin-top:1.6rem}
.tcm-testimonials article{padding:1.4rem;border-radius:18px;border:1px solid rgba(57,255,20,.2);background:rgba(232,255,240,.03)}
.tcm-testimonials article p:first-child{color:var(--tcm-mist)}
.tcm-testimonials .tcm-t-name{display:flex;align-items:center;gap:.6rem;margin-top:1rem}
.tcm-testimonials .tcm-t-name img{width:36px;height:36px;border-radius:50%}
.tcm-testimonials .tcm-t-name span{color:var(--tcm-muted);font-size:.82rem}

/* Posts */
.tcm-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;margin-top:1.6rem}
.tcm-posts article{border:1px solid var(--tcm-line);border-radius:18px;padding:1rem;transition:border-color .3s,transform .3s}
.tcm-posts article:hover{border-color:var(--tcm-cyan);transform:translateY(-4px)}
.tcm-posts img{width:100%;height:190px;margin-bottom:.8rem;border-radius:14px}
.tcm-posts p{color:var(--tcm-muted)}
.tcm-tag{display:inline-block;color:var(--tcm-neon);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.4rem}

/* Strip / gallery */
.tcm-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.tcm-strip img{width:100%;height:290px;border-radius:50% 50% 14px 14px;border:1px solid rgba(0,229,255,.2)}

/* CTA band */
.tcm-cta-band{position:relative;min-height:50vh;display:grid;place-items:center;text-align:center;overflow:hidden}
.tcm-cta__bg{position:absolute;inset:0}
.tcm-cta__bg img{width:100%;height:100%}
.tcm-cta__bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(2,6,23,.35),rgba(2,6,23,.88));}
.tcm-cta__body{position:relative;z-index:2;padding:2rem}
.tcm-cta__body p{margin:.8rem 0 1.4rem;color:#cfe9dd}

/* Contact / form */
.tcm-contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:2.2rem}
.tcm-contact address p{color:var(--tcm-muted);margin:.35rem 0}
.tcm-form{display:grid;gap:.9rem;background:rgba(232,255,240,.04);border:1px solid rgba(57,255,20,.28);padding:1.6rem;border-radius:20px;backdrop-filter:blur(8px)}
.tcm-form label{display:grid;gap:.35rem;font-size:.85rem;font-weight:500}
.tcm-form input,.tcm-form textarea,.tcm-form select{background:#020617;border:1px solid #1e2b45;color:#fff;padding:.85rem;border-radius:10px;font:inherit}
.tcm-form input:focus,.tcm-form textarea:focus,.tcm-form select:focus{outline:none;border-color:var(--tcm-cyan);box-shadow:0 0 0 3px rgba(0,229,255,.15)}
.tcm-ok{background:rgba(57,255,20,.14);border:1px solid rgba(57,255,20,.4);color:var(--tcm-mist);padding:.85rem 1rem;border-radius:10px;font-size:.9rem}
.tcm-map{width:100%;height:400px;border:0;border-radius:20px;filter:grayscale(.55) saturate(1.3) invert(.92) contrast(.9);border:1px solid var(--tcm-line)}
.tcm-faq details{background:var(--tcm-panel);margin-bottom:.7rem;padding:1.1rem 1.2rem;border-left:2px solid var(--tcm-neon);border-radius:0 12px 12px 0}
.tcm-faq summary{cursor:pointer;font-weight:500;list-style:none}
.tcm-faq summary::-webkit-details-marker{display:none}
.tcm-faq summary::after{content:"+";float:right;color:var(--tcm-cyan)}
.tcm-faq details[open] summary::after{content:"−"}
.tcm-faq p{margin-top:.6rem;color:var(--tcm-muted)}

/* Floating orbs */
.tcm-orb{position:absolute;border-radius:50%;filter:blur(50px);opacity:.35;pointer-events:none;z-index:0}
.tcm-orb--neon{background:var(--tcm-neon);width:260px;height:260px}
.tcm-orb--cyan{background:var(--tcm-cyan);width:220px;height:220px}

/* Reveal animation hooks */
[data-tcm]{opacity:0;transform:translateY(24px);transition:opacity .85s var(--tcm-ease),transform .85s var(--tcm-ease)}
[data-tcm].in{opacity:1;transform:none}
/* Hero / kenburns media must stay visible even before JS reveal */
.tcm-hero__media[data-tcm],.tcm-cta__bg[data-tcm],[data-tcm="kb"]{opacity:1;transform:none}
[data-tcm="stagger"] > *{transition-delay:calc(var(--i,0) * 90ms)}

/* Footer */
.tcm-footer{position:relative;padding:4rem 0 1.6rem;border-top:1px solid var(--tcm-line);background:var(--tcm-panel);overflow:hidden}
.tcm-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;gap:1.5rem}
.tcm-footer__brand{font-family:var(--tcm-disp);font-size:1.5rem;margin-bottom:.3rem;display:flex;align-items:center;gap:.6rem}
.tcm-footer__ja{color:var(--tcm-cyan);font-size:.8rem;margin-bottom:.7rem}
.tcm-footer h3{color:var(--tcm-neon);font-size:.78rem;letter-spacing:.16em;margin-bottom:.8rem;font-weight:500}
.tcm-footer ul{list-style:none}
.tcm-footer a{opacity:.75;font-size:.9rem}
.tcm-footer a:hover{color:var(--tcm-neon);opacity:1}
.tcm-footer address{font-style:normal;opacity:.75;font-size:.9rem;display:grid;gap:.3rem}
.tcm-social{display:flex;flex-wrap:wrap;gap:.7rem .9rem;list-style:none;margin-top:0}
.tcm-copy{margin-top:2.4rem;padding-top:1.1rem;border-top:1px solid var(--tcm-line);opacity:.55;font-size:.8rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}

@media(max-width:980px){
  .tcm-orbit,.tcm-split{grid-template-columns:1fr;gap:2rem}
  .tcm-stats,.tcm-models,.tcm-glass,.tcm-team,.tcm-testimonials,.tcm-posts,.tcm-strip{grid-template-columns:repeat(2,1fr)}
  .tcm-contact{grid-template-columns:1fr}
  .tcm-footer__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .tcm-burger{display:flex}

  /* Fullscreen mobile menu — escapes header bar */
  .tcm-nav{
    position:fixed;inset:0;left:0;right:0;top:0;bottom:0;
    width:100%;height:100%;
    min-height:100vh;min-height:100dvh;
    transform:none;
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;
    background:rgba(2,6,23,.97);
    z-index:210;
    opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .3s ease,visibility .3s ease;
    padding:5rem 1.5rem 3rem;
  }
  .tcm-nav.open{
    opacity:1;visibility:visible;pointer-events:auto;
  }
  .tcm-nav ul{
    flex-direction:column;gap:1.35rem;
    font-size:clamp(1.2rem,5.5vw,1.5rem);
    text-align:center;padding:0;width:100%;
    pointer-events:auto;
  }
  .tcm-nav li{width:100%;display:flex;justify-content:center}
  .tcm-nav a{
    color:#fff;opacity:1;font-size:inherit;
    padding:.5rem 1rem;display:inline-flex;
  }
  .tcm-nav a::after{display:none}
  .tcm-nav__cta{
    width:min(260px,80vw);margin:.4rem auto 0;
    padding:.85rem 1.2rem;font-size:1rem;
  }
  .tcm-nav__meta{
    display:block;margin-top:2.5rem;text-align:center;
    color:var(--tcm-muted);font-size:.82rem;
  }
  .tcm-nav__meta p:first-child{
    color:var(--tcm-cyan);letter-spacing:.1em;margin-bottom:.35rem;
  }
  .tcm-logo__text{font-size:.95rem}
  .tcm-header{z-index:200}
  .tcm-bar{z-index:220}
  .tcm-burger{z-index:230}
}
@media(max-width:640px){
  .tcm-stats,.tcm-models,.tcm-glass,.tcm-team,.tcm-testimonials,.tcm-posts,.tcm-strip{grid-template-columns:1fr}
  .tcm-circle{width:min(320px,74vw)}
  .tcm-strip img{border-radius:18px}
  .tcm-footer__grid{grid-template-columns:1fr}
  .tcm-rings{display:none}
}
/* ===== HOME REDESIGN v3 — Corner HUD / bento lab ===== */

/* 1. Corner HUD hero */
.kyr-home-hud{position:relative;min-height:100vh;min-height:100dvh;background:var(--tcm-obsidian);color:var(--tcm-mist);overflow:hidden}
.kyr-home-hud__media{position:absolute;inset:0;z-index:0}
.kyr-home-hud__media img{width:100%;height:100%;object-fit:cover;filter:saturate(1.2) contrast(1.08) brightness(.55)}
.kyr-home-hud__vignette{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(2,6,23,.72) 0%,transparent 28%,transparent 62%,rgba(2,6,23,.78) 100%),
  linear-gradient(90deg,rgba(2,6,23,.75) 0%,transparent 22%,transparent 78%,rgba(2,6,23,.75) 100%),
  radial-gradient(ellipse at 50% 45%,transparent 30%,rgba(2,6,23,.55) 100%);
  pointer-events:none}
.kyr-home-hud__scan{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--tcm-cyan),transparent);top:18%;animation:kyrHudScan 5.5s linear infinite;z-index:1;opacity:.85;box-shadow:0 0 18px rgba(0,229,255,.55)}
.kyr-home-hud__media::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,229,255,.03) 2px,rgba(0,229,255,.03) 4px);pointer-events:none;z-index:1}
@keyframes kyrHudScan{0%{top:10%;opacity:.2}40%{opacity:.9}100%{top:90%;opacity:.15}}
.kyr-home-hud__tl,.kyr-home-hud__tr,.kyr-home-hud__bl,.kyr-home-hud__br{position:absolute;z-index:2;max-width:min(420px,42vw)}
.kyr-home-hud__tl{top:clamp(5.5rem,10vh,7rem);left:clamp(1.2rem,4vw,3.2rem)}
.kyr-home-hud__tl h1{font-size:clamp(2.4rem,6vw,4.2rem);letter-spacing:.06em;text-shadow:0 0 40px rgba(0,229,255,.35);margin-bottom:.35rem}
.kyr-home-hud__tag{color:var(--tcm-cyan);font-size:clamp(.9rem,1.4vw,1.05rem);max-width:28ch;line-height:1.55}
.kyr-home-hud__tr{top:clamp(5.5rem,10vh,7rem);right:clamp(1.2rem,4vw,3.2rem);display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end;max-width:min(340px,46vw)}
.kyr-home-hud__chip{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .7rem;border:1px solid rgba(0,229,255,.4);background:rgba(2,6,23,.72);font-family:var(--tcm-disp);font-size:.68rem;letter-spacing:.12em;color:var(--tcm-mist);backdrop-filter:blur(8px)}
.kyr-home-hud__chip--live{border-color:rgba(57,255,20,.55);color:var(--tcm-neon)}
.kyr-home-hud__chip--live i{width:7px;height:7px;border-radius:50%;background:var(--tcm-neon);box-shadow:0 0 10px var(--tcm-neon);animation:kyrHudPulse 1.6s ease-in-out infinite}
@keyframes kyrHudPulse{0%,100%{opacity:.45}50%{opacity:1}}
.kyr-home-hud__bl{bottom:clamp(1.8rem,5vh,3.2rem);left:clamp(1.2rem,4vw,3.2rem);display:flex;flex-wrap:wrap;gap:.7rem;max-width:min(480px,90vw)}
.kyr-home-hud__br{bottom:clamp(1.8rem,5vh,3.2rem);right:clamp(1.2rem,4vw,3.2rem);padding:1rem 1.15rem;border:1px solid rgba(0,229,255,.28);background:rgba(2,6,23,.78);backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(57,255,20,.08) inset}
.kyr-home-hud__br p{font-size:.86rem;color:rgba(232,255,240,.88);line-height:1.75}

/* 2. Giant bento board */
.kyr-home-bento{padding:clamp(3.5rem,7vw,6rem) 0;background:var(--tcm-panel);border-top:1px solid rgba(0,229,255,.12)}
.kyr-home-bento__head{margin-bottom:1.4rem}
.kyr-home-bento__head p.kyr-home-bento__lead,.kyr-home-bento__head+p{color:var(--tcm-muted)}
.kyr-home-bento__grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(110px,auto);gap:.7rem}
.kyr-home-bento__cell{border:1px solid rgba(0,229,255,.22);background:rgba(2,6,23,.55);overflow:hidden;position:relative;min-height:0}
.kyr-home-bento__cell--photo{grid-column:1/3;grid-row:1/4;min-height:320px}
.kyr-home-bento__cell--photo img,.kyr-home-bento__cell--night img,.kyr-home-bento__cell--detail img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:saturate(1.1) brightness(.88)}
.kyr-home-bento__cell figcaption{position:absolute;left:.8rem;bottom:.7rem;z-index:2;font-family:var(--tcm-disp);font-size:.68rem;letter-spacing:.14em;color:var(--tcm-cyan);background:rgba(2,6,23,.7);padding:.3rem .55rem;border:1px solid rgba(0,229,255,.3)}
.kyr-home-bento__cell--photo::after,.kyr-home-bento__cell--night::after,.kyr-home-bento__cell--detail::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(2,6,23,.75));pointer-events:none;z-index:1}
.kyr-home-bento__cell--stat{padding:1rem 1.05rem;display:flex;flex-direction:column;justify-content:center}
.kyr-home-bento__cell--s0{grid-column:3;grid-row:1}
.kyr-home-bento__cell--s1{grid-column:4;grid-row:1}
.kyr-home-bento__cell--s2{grid-column:3;grid-row:2}
.kyr-home-bento__cell--s3{grid-column:4;grid-row:2}
.kyr-home-bento__cell--stat strong{font-family:var(--tcm-disp);font-size:clamp(1.35rem,2.4vw,1.85rem);color:var(--tcm-neon);text-shadow:0 0 18px rgba(57,255,20,.35);line-height:1.15;margin-bottom:.25rem}
.kyr-home-bento__cell--stat span{font-size:.72rem;color:var(--tcm-muted);letter-spacing:.04em}
.kyr-home-bento__cell--copy{grid-column:3/5;grid-row:3/5;padding:1.25rem 1.35rem;background:linear-gradient(145deg,rgba(57,255,20,.07),rgba(2,6,23,.85))}
.kyr-home-bento__cell--copy h3{margin:.15rem 0 .7rem;color:var(--tcm-mist)}
.kyr-home-bento__cell--copy p:last-child{color:var(--tcm-muted);font-size:.9rem}
.kyr-home-bento__cell--night{grid-column:1/3;grid-row:4/6;min-height:220px}
.kyr-home-bento__cell--link{grid-column:3/5;grid-row:5;padding:1.25rem 1.35rem;display:flex;flex-direction:column;justify-content:center;border-color:rgba(57,255,20,.35);box-shadow:0 0 28px rgba(57,255,20,.08) inset}
.kyr-home-bento__cell--link h3{margin:.1rem 0 .55rem}
.kyr-home-bento__cell--link p{color:var(--tcm-muted);font-size:.9rem}
.kyr-home-bento__cell--detail{grid-column:1/5;grid-row:6;min-height:170px}

/* 3. Vertical charge timeline */
.kyr-home-charge{padding:clamp(3.8rem,8vw,6.5rem) 0;background:var(--tcm-obsidian);position:relative;overflow:hidden}
.kyr-home-charge__lead{color:var(--tcm-muted);max-width:640px;margin-bottom:2.2rem}
.kyr-home-charge__track{position:relative;width:min(1140px,92vw);margin:0 auto;padding:1rem 0 2rem}
.kyr-home-charge__line{position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;background:linear-gradient(180deg,transparent,var(--tcm-cyan) 8%,var(--tcm-neon) 50%,var(--tcm-cyan) 92%,transparent);box-shadow:0 0 16px rgba(0,229,255,.45)}
.kyr-home-charge__step{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:center;margin-bottom:clamp(2.2rem,5vw,3.5rem);padding:0 clamp(0rem,2vw,1rem)}
.kyr-home-charge__step:last-child{margin-bottom:0}
.kyr-home-charge__node{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid var(--tcm-cyan);background:var(--tcm-obsidian);display:grid;place-items:center;box-shadow:0 0 20px rgba(0,229,255,.35)}
.kyr-home-charge__node span{font-family:var(--tcm-disp);font-size:.72rem;color:var(--tcm-neon);letter-spacing:.06em}
.kyr-home-charge__media{border:1px solid rgba(0,229,255,.28);overflow:hidden;aspect-ratio:16/11;background:var(--tcm-panel)}
.kyr-home-charge__media img{width:100%;height:100%;object-fit:cover;filter:saturate(1.12) brightness(.9);transition:transform .6s var(--tcm-ease)}
.kyr-home-charge__step:hover .kyr-home-charge__media img{transform:scale(1.04)}
.kyr-home-charge__body{padding:.4rem .2rem}
.kyr-home-charge__num{font-family:var(--tcm-disp);font-size:.68rem;letter-spacing:.18em;color:var(--tcm-cyan);margin-bottom:.45rem}
.kyr-home-charge__body h3{margin-bottom:.55rem}
.kyr-home-charge__body p{color:var(--tcm-muted);font-size:.92rem}
.kyr-home-charge__step.is-left .kyr-home-charge__media{order:1}
.kyr-home-charge__step.is-left .kyr-home-charge__body{order:2;text-align:left;padding-left:1rem}
.kyr-home-charge__step.is-right .kyr-home-charge__media{order:2}
.kyr-home-charge__step.is-right .kyr-home-charge__body{order:1;text-align:right;padding-right:1rem}
.kyr-home-charge__step.is-right .kyr-home-charge__num{justify-content:flex-end}

/* 4. Stacked model slabs */
.kyr-home-slabs{padding:clamp(3.5rem,7vw,6rem) 0;background:var(--tcm-panel);border-block:1px solid rgba(0,229,255,.1)}
.kyr-home-slabs__lead{color:var(--tcm-muted);max-width:680px;margin-bottom:1.8rem}
.kyr-home-slabs__stack{display:flex;flex-direction:column;gap:.85rem;width:min(1140px,92vw);margin:0 auto}
.kyr-home-slabs__item{display:grid;grid-template-columns:2fr 3fr;border:1px solid rgba(0,229,255,.35);background:rgba(2,6,23,.65);box-shadow:0 0 0 1px rgba(57,255,20,.06) inset,0 0 28px rgba(0,229,255,.06);min-height:240px;overflow:hidden;transition:border-color .35s,box-shadow .35s}
.kyr-home-slabs__item:hover{border-color:var(--tcm-neon);box-shadow:0 0 0 1px rgba(57,255,20,.18) inset,0 0 36px rgba(57,255,20,.12)}
.kyr-home-slabs__img{position:relative;min-height:220px}
.kyr-home-slabs__img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:saturate(1.1) brightness(.88)}
.kyr-home-slabs__idx{position:absolute;top:.8rem;left:.8rem;z-index:2;font-family:var(--tcm-disp);font-size:.75rem;letter-spacing:.16em;color:var(--tcm-neon);padding:.3rem .55rem;border:1px solid rgba(57,255,20,.45);background:rgba(2,6,23,.75)}
.kyr-home-slabs__text{padding:clamp(1.3rem,3vw,2rem) clamp(1.2rem,3vw,2.2rem);display:flex;flex-direction:column;justify-content:center}
.kyr-home-slabs__text p{color:var(--tcm-muted)}
.kyr-home-slabs__text .tcm-spec{color:var(--tcm-cyan);font-size:.8rem;letter-spacing:.1em;margin-top:1rem;font-family:var(--tcm-disp)}

/* 5. Service signal list */
.kyr-home-signals{padding:clamp(3.8rem,8vw,6.5rem) 0;background:var(--tcm-obsidian)}
.kyr-home-signals__head{max-width:640px;margin-bottom:1.8rem}
.kyr-home-signals__head p:last-child{color:var(--tcm-muted)}
.kyr-home-signals__list{list-style:none;margin:0 0 1.4rem;padding:0;display:flex;flex-direction:column;gap:0}
.kyr-home-signals__row{display:grid;grid-template-columns:auto 120px 1fr;gap:1.1rem;align-items:center;padding:1.15rem 0;border-top:1px solid rgba(0,229,255,.18);transition:background .3s}
.kyr-home-signals__row:last-child{border-bottom:1px solid rgba(0,229,255,.18)}
.kyr-home-signals__row:hover{background:rgba(0,229,255,.04)}
.kyr-home-signals__num{font-family:var(--tcm-disp);font-size:1.35rem;color:var(--tcm-neon);letter-spacing:.08em;min-width:2.4rem;text-shadow:0 0 14px rgba(57,255,20,.35)}
.kyr-home-signals__row img{width:120px;height:80px;object-fit:cover;border:1px solid rgba(0,229,255,.3)}
.kyr-home-signals__row h3{margin:0 0 .4rem}
.kyr-home-signals__row p{color:var(--tcm-muted);font-size:.9rem}

/* 6. Voice stream */
.kyr-home-stream{padding:clamp(3.2rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem);background:linear-gradient(180deg,var(--tcm-panel),var(--tcm-obsidian));overflow:hidden}
.kyr-home-stream__lead{color:var(--tcm-muted);max-width:560px;margin-bottom:1.4rem}
.kyr-home-stream__rail{display:flex;gap:.85rem;width:max-content;max-width:none;padding:0 max(4vw,1.2rem) 1rem;animation:kyrVoiceFlow 42s linear infinite}
.kyr-home-stream__rail:hover{animation-play-state:paused}
@keyframes kyrVoiceFlow{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.kyr-home-stream__bubble{display:flex;gap:.75rem;align-items:flex-start;width:min(340px,78vw);flex:0 0 auto;padding:1rem 1.1rem;border:1px solid rgba(0,229,255,.22);background:rgba(15,23,42,.85);border-radius:4px 18px 18px 18px}
.kyr-home-stream__bubble.is-b{border-radius:18px 4px 18px 18px;border-color:rgba(57,255,20,.28);background:rgba(2,6,23,.9)}
.kyr-home-stream__bubble img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid rgba(0,229,255,.4);flex-shrink:0}
.kyr-home-stream__bubble p{font-size:.88rem;line-height:1.65;margin-bottom:.45rem}
.kyr-home-stream__bubble span{font-size:.72rem;color:var(--tcm-cyan);letter-spacing:.04em}

/* 7. Terminal close */
.kyr-home-term{padding:clamp(3rem,7vw,5.5rem) 0 clamp(4rem,8vw,6.5rem);background:var(--tcm-obsidian)}
.kyr-home-term__panel{border:1px solid rgba(0,229,255,.35);background:#030712;box-shadow:0 0 40px rgba(0,229,255,.1),0 0 0 1px rgba(57,255,20,.08) inset;overflow:hidden;max-width:760px;margin:0 auto}
.kyr-home-term__bar{display:flex;align-items:center;gap:.45rem;padding:.7rem 1rem;background:rgba(15,23,42,.95);border-bottom:1px solid rgba(0,229,255,.2)}
.kyr-home-term__bar span{width:10px;height:10px;border-radius:50%;background:rgba(232,255,240,.2)}
.kyr-home-term__bar span:nth-child(1){background:#ff5f56}
.kyr-home-term__bar span:nth-child(2){background:#ffbd2e}
.kyr-home-term__bar span:nth-child(3){background:#27c93f}
.kyr-home-term__bar code{margin-left:.6rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;color:var(--tcm-muted)}
.kyr-home-term__body{padding:1.4rem 1.35rem 1.6rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86rem;line-height:1.85}
.kyr-home-term__body p{margin-bottom:.35rem;color:rgba(232,255,240,.82)}
.kyr-home-term__prompt{color:var(--tcm-cyan);margin-right:.4rem}
.kyr-home-term__ok{color:var(--tcm-neon);margin-right:.35rem}
.kyr-home-term__out{color:var(--tcm-muted)!important;padding-left:1.1rem;border-left:2px solid rgba(0,229,255,.35);margin:.7rem 0 1rem!important}
.kyr-home-term__cursor{color:var(--tcm-neon);animation:kyrTermBlink 1s step-end infinite}
@keyframes kyrTermBlink{50%{opacity:0}}
.kyr-home-term__body .tcm-btn{margin-top:1rem;font-family:var(--tcm-sans)}

/* Home responsive */
@media (max-width:980px){
  .kyr-home-bento__grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(100px,auto)}
  .kyr-home-bento__cell--photo{grid-column:1/3;grid-row:1/3;min-height:240px}
  .kyr-home-bento__cell--s0{grid-column:1;grid-row:3}
  .kyr-home-bento__cell--s1{grid-column:2;grid-row:3}
  .kyr-home-bento__cell--s2{grid-column:1;grid-row:4}
  .kyr-home-bento__cell--s3{grid-column:2;grid-row:4}
  .kyr-home-bento__cell--copy{grid-column:1/3;grid-row:5}
  .kyr-home-bento__cell--night{grid-column:1/3;grid-row:6;min-height:180px}
  .kyr-home-bento__cell--link{grid-column:1/3;grid-row:7}
  .kyr-home-bento__cell--detail{grid-column:1/3;grid-row:8;min-height:140px}
  .kyr-home-charge__line{left:1.15rem;margin-left:0}
  .kyr-home-charge__step{grid-template-columns:1fr;padding-left:2.6rem;gap:1rem}
  .kyr-home-charge__node{left:1.15rem;top:1.2rem;transform:translate(-50%,0);width:34px;height:34px}
  .kyr-home-charge__step.is-left .kyr-home-charge__media,
  .kyr-home-charge__step.is-right .kyr-home-charge__media,
  .kyr-home-charge__step.is-left .kyr-home-charge__body,
  .kyr-home-charge__step.is-right .kyr-home-charge__body{order:unset;text-align:left;padding-left:0;padding-right:0}
  .kyr-home-slabs__item{grid-template-columns:1fr}
  .kyr-home-slabs__img{min-height:180px;aspect-ratio:16/10;position:relative;max-height:220px}
}

@media (max-width:900px){
  /* HUD — stacked lab panel, not corner overlays */
  .kyr-home-hud{
    display:flex;flex-direction:column;min-height:auto;
    padding:0;overflow:hidden;
  }
  .kyr-home-hud [data-tcm]{opacity:1;transform:none}
  .kyr-home-hud__media{
    position:relative;order:0;inset:auto;
    min-height:0;height:38vh;max-height:280px;flex-shrink:0;
    margin-top:68px;
  }
  .kyr-home-hud__media img{height:100%;width:100%;object-fit:cover}
  .kyr-home-hud__scan{display:none}
  .kyr-home-hud__tl,
  .kyr-home-hud__tr,
  .kyr-home-hud__bl,
  .kyr-home-hud__br{
    position:relative;top:auto;left:auto;right:auto;bottom:auto;
    max-width:none;width:100%;
    padding:1rem 5vw;
  }
  .kyr-home-hud__tl{order:1;padding-top:1.25rem;padding-bottom:.35rem}
  .kyr-home-hud__tl h1{font-size:clamp(2rem,9vw,2.6rem);margin-bottom:.4rem}
  .kyr-home-hud__tag{max-width:none;font-size:.92rem}
  .kyr-home-hud__tr{
    order:2;justify-content:flex-start;gap:.4rem;
    padding-top:.25rem;padding-bottom:.5rem;
  }
  .kyr-home-hud__chip{font-size:.62rem;padding:.35rem .55rem;letter-spacing:.08em}
  .kyr-home-hud__br{
    order:3;padding:1rem 5vw;
    border-left:0;border-right:0;border-radius:0;
    background:rgba(15,23,42,.9);
  }
  .kyr-home-hud__br p{font-size:.88rem;line-height:1.8}
  .kyr-home-hud__bl{
    order:4;display:grid;grid-template-columns:1fr;
    gap:.65rem;padding:1rem 5vw 1.75rem;max-width:none;
  }
  .kyr-home-hud__bl .tcm-btn{
    width:100%;justify-content:center;text-align:center;
    padding:.95rem 1rem;font-size:.9rem;
  }

  /* Bento */
  .kyr-home-bento{padding:2.5rem 0}
  .kyr-home-bento__grid{grid-template-columns:1fr 1fr;gap:.55rem}
  .kyr-home-bento__cell--photo,
  .kyr-home-bento__cell--copy,
  .kyr-home-bento__cell--night,
  .kyr-home-bento__cell--link,
  .kyr-home-bento__cell--detail{grid-column:1/-1;grid-row:auto;min-height:0}
  .kyr-home-bento__cell--s0,
  .kyr-home-bento__cell--s1,
  .kyr-home-bento__cell--s2,
  .kyr-home-bento__cell--s3{grid-column:auto;grid-row:auto;min-height:0;padding:.85rem .75rem}
  .kyr-home-bento__cell--stat strong{font-size:1.25rem}
  .kyr-home-bento__cell--stat span{font-size:.68rem;line-height:1.35}
  .kyr-home-bento__cell--photo,
  .kyr-home-bento__cell--night,
  .kyr-home-bento__cell--detail{
    position:relative;aspect-ratio:16/10;max-height:200px;min-height:0;
  }
  .kyr-home-bento__cell--copy,
  .kyr-home-bento__cell--link{padding:1.1rem 1rem}
  .kyr-home-bento__cell--copy p:last-child{font-size:.86rem;line-height:1.8}

  /* Charge timeline */
  .kyr-home-charge{padding:2.5rem 0}
  .kyr-home-charge__lead{margin-bottom:1.5rem;font-size:.9rem}
  .kyr-home-charge__track{padding:0}
  .kyr-home-charge__line{left:1.15rem;margin-left:0}
  .kyr-home-charge__step{
    grid-template-columns:1fr;padding-left:2.4rem;margin-bottom:1.5rem;gap:.75rem;
  }
  .kyr-home-charge__node{left:1.15rem;top:1.2rem;transform:translate(-50%,0);width:30px;height:30px}
  .kyr-home-charge__step.is-left .kyr-home-charge__media,
  .kyr-home-charge__step.is-right .kyr-home-charge__media,
  .kyr-home-charge__step.is-left .kyr-home-charge__body,
  .kyr-home-charge__step.is-right .kyr-home-charge__body{
    order:unset;text-align:left;padding-left:0;padding-right:0;
  }
  .kyr-home-charge__media{aspect-ratio:16/10;max-height:180px}
  .kyr-home-charge__media img{max-height:180px}
  .kyr-home-charge__body p{font-size:.88rem;line-height:1.8}

  /* Model slabs */
  .kyr-home-slabs{padding:2.5rem 0}
  .kyr-home-slabs__lead{margin-bottom:1.25rem;font-size:.9rem}
  .kyr-home-slabs__item{grid-template-columns:1fr;min-height:0}
  .kyr-home-slabs__img{min-height:0;max-height:180px;aspect-ratio:16/10;position:relative}
  .kyr-home-slabs__text{padding:1.1rem 1rem 1.25rem}
  .kyr-home-slabs__text p{font-size:.88rem;line-height:1.8}

  /* Service signals */
  .kyr-home-signals{padding:2.5rem 0}
  .kyr-home-signals__row{
    grid-template-columns:2rem 1fr;
    gap:.35rem .75rem;align-items:start;
    padding:1rem 0;
  }
  .kyr-home-signals__num{font-size:1.1rem;min-width:2rem;padding-top:.15rem}
  .kyr-home-signals__row img{
    grid-column:2;width:100%;max-width:none;height:auto;
    aspect-ratio:16/9;max-height:140px;object-fit:cover;
  }
  .kyr-home-signals__row div{grid-column:1/-1}
  .kyr-home-signals__row p{font-size:.86rem;line-height:1.75}

  /* Voice stream */
  .kyr-home-stream{padding:2.25rem 0 1.5rem}
  .kyr-home-stream__rail{
    width:auto;max-width:100%;
    overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    animation:none;
    padding:0 5vw 1rem;
    gap:.7rem;
  }
  .kyr-home-stream__bubble{
    width:min(300px,82vw);
    scroll-snap-align:start;
    flex:0 0 auto;
  }

  /* Terminal */
  .kyr-home-term{padding:2.25rem 0 3rem}
  .kyr-home-term__panel{max-width:none}
  .kyr-home-term__bar{flex-wrap:wrap;gap:.35rem}
  .kyr-home-term__bar code{
    margin-left:0;width:100%;
    font-size:.65rem;word-break:break-all;
  }
  .kyr-home-term__body{padding:1.1rem 1rem 1.35rem;font-size:.78rem;line-height:1.75}
  .kyr-home-term__out{padding-left:.85rem;font-size:.8rem}
  .kyr-home-term__body .tcm-btn{width:100%;justify-content:center}
}

@media (max-width:480px){
  .tcm-wrap{width:min(100% - 1.5rem,92vw)}
  .kyr-home-hud__media{height:34vh;max-height:240px}
  .kyr-home-hud__chip{letter-spacing:.04em}
  .kyr-home-bento__cell--photo,
  .kyr-home-bento__cell--night,
  .kyr-home-bento__cell--detail{max-height:170px}
  .kyr-home-charge__media,
  .kyr-home-charge__media img{max-height:150px}
  .kyr-home-slabs__img{max-height:150px}
  .tcm-btn{padding:.85rem 1.2rem;font-size:.88rem}
}

/* Reduce motion */
@media (prefers-reduced-motion:reduce){
  .kyr-home-hud__scan,
  .kyr-home-stream__rail,
  .kyr-home-hud__chip--live i,
  .kyr-home-term__cursor{animation:none}
  [data-tcm]{opacity:1;transform:none}
}

/* Safe area */
@supports (padding:max(0px)){
  .tcm-header{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  @media (max-width:900px){
    .kyr-home-hud__tl,
    .kyr-home-hud__tr,
    .kyr-home-hud__bl,
    .kyr-home-hud__br{
      padding-left:max(5vw,env(safe-area-inset-left));
      padding-right:max(5vw,env(safe-area-inset-right));
    }
  }
}

