:root{
  --bg:#f4f7ff;
  --bg-soft:#ffffffcc;
  --surface:#ffffff;
  --surface-2:#edf2ff;
  --text:#102042;
  --muted:#5b678a;
  --line:#d8e0f5;
  --primary:#5060dd;
  --primary-2:#7a6cff;
  --accent:#63d3ff;
  --teal:#00b7c8;
  --shadow:0 20px 50px rgba(42,57,119,.12);
  --radius:24px;
  --radius-sm:18px;
  --shell:min(1180px, calc(100vw - 40px));
}
html[data-theme='dark']{
  --bg:#0c1020;
  --bg-soft:#11182be0;
  --surface:#10172a;
  --surface-2:#18213a;
  --text:#edf2ff;
  --muted:#aab6db;
  --line:#263357;
  --primary:#7d89ff;
  --primary-2:#5ee0ff;
  --accent:#2ad1ff;
  --teal:#61f2cd;
  --shadow:0 24px 60px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit}
#app{position:relative;min-height:100vh}
.page-ambient{position:fixed;inset:-10% -20% auto auto;width:80vw;height:80vw;background:radial-gradient(circle at center, rgba(97,211,255,.26), transparent 58%), radial-gradient(circle at 30% 30%, rgba(108,99,255,.23), transparent 54%), radial-gradient(circle at 60% 45%, rgba(122,108,255,.12), transparent 52%);pointer-events:none;filter:blur(14px);z-index:0}
.shell{width:var(--shell);margin-inline:auto;position:relative;z-index:1}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0 8px;position:sticky;top:0;z-index:20;background:linear-gradient(180deg,var(--bg) 68%, transparent)}
.brand{display:inline-flex;align-items:center;gap:14px;min-width:0}.brand-logo-img{height:58px;width:auto;object-fit:contain}
.navlinks,.toolbar{display:flex;align-items:center;gap:12px}.navlinks a{padding:10px 14px;border-radius:999px;color:var(--muted);font-weight:700}.navlinks a.current,.navlinks a:hover{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}
.nav-ateaq{padding:12px 16px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-radius:999px;font-weight:700;box-shadow:var(--shadow)}
.tool-button{border:1px solid var(--line);background:var(--bg-soft);color:var(--text);border-radius:999px;padding:10px 14px;cursor:pointer;backdrop-filter:blur(10px)}
.menu-toggle{display:none;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;padding:10px 12px;cursor:pointer}
.hero,.page-hero,.section,.site-footer{position:relative;z-index:1}
.hero{display:grid;grid-template-columns:1.08fr .92fr;gap:32px;align-items:center;padding:38px 0 14px}
.eyebrow,.section-tag,.card-kicker{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:var(--primary);font-weight:800;display:flex;align-items:center;gap:10px}
.pulse{display:inline-block;width:9px;height:9px;border-radius:50%;background:linear-gradient(135deg,var(--teal),var(--primary));box-shadow:0 0 0 10px rgba(80,96,221,.08)}
.hero-logo{max-width:350px;margin:14px 0 10px}
.hero h1,.page-hero h1,.section-head h2,.ateaq-copy h2,.founder-copy h2,.archive-note h2{font-size:clamp(2rem,3.2vw,3.7rem);line-height:1.14;margin:10px 0 16px}
.hero-lead,.page-hero p,.section-head p,.founder-copy p,.archive-note p,.feature-card p,.archive-figure p,.identity-card p,.portfolio-card li,.collection-copy p,.notice p,.ateaq-copy p,.category-card p{color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 16px}.button{display:inline-flex;align-items:center;gap:8px;padding:14px 20px;border-radius:999px;font-weight:800;border:1px solid transparent}.button.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:var(--shadow)}.button.ghost{border-color:var(--line);background:var(--surface);color:var(--text)}.button.white{background:#fff;color:#182145}
.hero-caption{font-size:.95rem;color:var(--muted)}
.hero-media{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;align-items:stretch}.hero-side-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hero-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:10px;box-shadow:var(--shadow);overflow:hidden}.hero-card img{width:100%;height:100%;object-fit:cover;border-radius:calc(var(--radius) - 10px)}.hero-main{min-height:480px}.hero-main img{object-position:center top}.hero-side-grid .hero-card{min-height:232px}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:18px 0 10px}.metrics div{background:var(--bg-soft);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}.metrics strong{display:block;font-size:1.9rem;margin-bottom:4px}.metrics span{color:var(--muted)}
.section{padding:38px 0}.section-head{max-width:860px;margin-bottom:20px}.section-head h2{font-size:clamp(1.7rem,2.3vw,2.5rem);margin:8px 0 10px}.section-head p{margin:0}
.stage-list{display:grid;gap:16px}.home-stages{grid-template-columns:repeat(2,1fr)}.full-stages{grid-template-columns:1fr}.stage-card{display:grid;grid-template-columns:86px 1fr;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.stage-seq{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font-size:1.15rem;font-weight:800;background:linear-gradient(135deg, rgba(80,96,221,.16), rgba(97,211,255,.16));color:var(--primary)}.stage-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--primary);font-size:.95rem;font-weight:700}.meta-dot{width:6px;height:6px;border-radius:50%;background:var(--muted);align-self:center}.stage-card h3{margin:10px 0 8px;font-size:1.4rem}.evidence{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);font-size:.95rem;color:var(--muted)}
.section-action{margin-top:18px}.text-link{font-weight:800;color:var(--primary)}
.identity-grid,.category-grid,.portfolio-grid,.feature-grid,.collection-grid{display:grid;gap:18px}.identity-grid{grid-template-columns:repeat(3,1fr)}.identity-card,.category-card,.portfolio-card,.feature-card,.archive-figure,.collection-block,.notice,.ateaq-card,.founder-section,.archive-note{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.identity-card,.category-card,.portfolio-card{border-radius:var(--radius);padding:24px}.identity-card h3,.category-card h3,.portfolio-card h2,.collection-copy h3{margin:0 0 8px}.identity-index,.category-icon,.portfolio-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg, rgba(80,96,221,.18), rgba(97,211,255,.2));color:var(--primary);font-weight:800;margin-bottom:14px}.identity-note{margin-top:16px;color:var(--muted)}
.category-grid,.portfolio-grid{grid-template-columns:repeat(2,1fr)}
.three-up{grid-template-columns:repeat(3,1fr)}.two-up{grid-template-columns:repeat(2,1fr)}
.feature-card,.archive-figure{padding:12px;border-radius:var(--radius)}.feature-card a,.archive-figure a{display:block;border-radius:18px;overflow:hidden;background:var(--surface-2)}.feature-card img,.archive-figure img{width:100%;height:100%;min-height:220px;object-fit:cover}.feature-card figcaption,.archive-figure figcaption{padding:14px 6px 6px}.feature-card strong,.archive-figure strong{display:block;margin-bottom:6px}.archive-figure.small img{min-height:180px}
.chip-cloud{display:flex;flex-wrap:wrap;gap:12px}.chip-cloud span{padding:10px 14px;background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);color:var(--text);font-weight:700}
.ateaq-card{border-radius:calc(var(--radius) + 4px);padding:30px;display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(135deg,#4a56df 0%, #7982ff 45%, #3ad4ff 100%);color:#fff;overflow:hidden}.ateaq-card p{color:rgba(255,255,255,.88)}.ateaq-brand{font-family:var(--font-en-heading);text-align:center;min-width:220px}.ateaq-brand span{display:block;letter-spacing:.35em;font-size:.8rem}.ateaq-brand strong{font-size:3rem;line-height:1}.ateaq-brand small{display:block;opacity:.85;margin-top:8px}.ateaq-card.mini{padding:26px}
.founder-section{display:grid;grid-template-columns:300px 1fr;gap:28px;padding:26px;border-radius:var(--radius)}.founder-visual{display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,var(--surface-2),transparent)}.founder-visual img{max-width:240px}.founder-copy h3{font-size:1.5rem;margin:8px 0 6px}.founder-role{font-weight:700;color:var(--primary)}
.page-hero{padding:42px 0 10px}.page-hero-illustration{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--primary);font-weight:800;margin-top:18px}.page-hero-illustration span,.page-hero-illustration i{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:10px 14px;border-radius:999px;font-style:normal}
.story-heading{margin-bottom:18px}
.collections-wrap{display:grid;gap:22px}.collection-block{border-radius:var(--radius);padding:22px}.collection-copy{margin-bottom:16px}.collection-grid{align-items:start}
.notice{display:flex;gap:16px;padding:24px;border-radius:var(--radius)}.notice-icon{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-weight:900}
.archive-note{border-radius:var(--radius);padding:28px}
.portfolio-card ul{margin:12px 0 0;padding-inline-start:18px}
.site-footer{margin-top:42px;padding:38px 0 26px;border-top:1px solid var(--line)}.footer-main{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:22px}.footer-links{display:grid;gap:8px;align-content:start}.footer-label{font-size:.85rem;letter-spacing:.1em;color:var(--primary);font-weight:800;text-transform:uppercase}.footer-base{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px;margin-top:18px;color:var(--muted);font-size:.95rem}.footer-brand .brand-logo-img{height:64px}
.reveal{opacity:0;transform:translateY(12px);transition:opacity .6s ease, transform .6s ease}.reveal.visible{opacity:1;transform:none}

@media (max-width: 1080px){
  .hero,.founder-section,.footer-main{grid-template-columns:1fr}
  .hero-media,.home-stages,.identity-grid,.three-up,.two-up,.category-grid,.portfolio-grid{grid-template-columns:1fr 1fr}
  .hero-main{min-height:360px}
}
@media (max-width: 760px){
  .topbar{flex-wrap:wrap;gap:12px}.menu-toggle{display:inline-flex}.navlinks{display:none;flex-direction:column;align-items:stretch;width:100%;padding-top:8px}.navlinks.open{display:flex}.toolbar{margin-inline-start:auto}
  .brand-logo-img{height:52px}.hero-media,.hero-side-grid,.metrics,.home-stages,.identity-grid,.category-grid,.portfolio-grid,.three-up,.two-up,.collection-grid,.footer-main,.footer-base{grid-template-columns:1fr}.hero,.page-hero{padding-top:24px}.hero-main,.hero-side-grid .hero-card{min-height:auto}.metrics strong{font-size:1.6rem}.stage-card{grid-template-columns:1fr}.ateaq-card{flex-direction:column;align-items:flex-start}.ateaq-brand{text-align:start;min-width:0}.actions{flex-direction:column;align-items:stretch}.button{justify-content:center}
}

/* 2026 archive additions — previous stable POS and early ERP concept */
.stable-pos-header{display:grid;grid-template-columns:1fr 320px;gap:22px;align-items:stretch;margin-bottom:22px}
.stable-pos-intro,.domain-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:26px}
.stable-pos-intro h2,.concept-copy h2{font-family:var(--font-heading);font-size:clamp(1.7rem,2.4vw,2.5rem);line-height:1.32;margin:12px 0}
.stable-pos-intro p,.concept-copy p{color:var(--muted);margin:0}
.stable-pos-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.stable-pos-badges span{border:1px solid var(--line);background:var(--surface-2);color:var(--primary);border-radius:999px;font-size:.9rem;font-weight:700;padding:8px 12px}
.domain-card{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:flex-start;background:linear-gradient(145deg,var(--surface),var(--surface-2))}
.domain-icon{width:54px;height:54px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--primary-2));border-radius:16px;color:#fff;font-size:1.75rem}
.domain-card small{color:var(--muted)}.domain-card strong{font-family:var(--font-en-heading);font-size:clamp(1.1rem,1.5vw,1.4rem);overflow-wrap:anywhere}
.domain-caption{font:500 .85rem var(--font-en-body);color:var(--muted)}
.stable-pos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.stable-pos-card{margin:0;display:flex;flex-direction:column;height:100%}
.stable-pos-card a{height:280px;display:flex;align-items:center;justify-content:center;background:var(--surface-2);padding:10px}
.stable-pos-card img{height:auto;max-height:100%;width:auto;object-fit:contain;min-height:0}
.stable-pos-card figcaption{padding:16px 10px 8px}
.stable-pos-card figcaption p{margin:6px 0 0}
.archive-privacy-note,.archive-muted-note{border-inline-start:3px solid var(--primary);padding:10px 14px;margin:18px 0 0;color:var(--muted);font-size:.9rem;background:var(--surface-2);border-radius:12px}
.concept-panel{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px;align-items:center;background:linear-gradient(145deg,var(--surface),var(--surface-2));border:1px solid var(--line);border-radius:calc(var(--radius) + 6px);box-shadow:var(--shadow);padding:24px}
.concept-copy{padding:12px}.concept-copy .text-link{display:inline-block;margin-top:16px}
.concept-figure{margin:0;border:1px solid var(--line);padding:10px;border-radius:var(--radius-sm);background:var(--surface)}
.concept-figure a{display:block;border-radius:14px;overflow:hidden}
.concept-figure img{max-height:520px;max-width:100%;margin:auto;object-fit:contain}
.concept-figure figcaption{color:var(--muted);font-size:.86rem;padding:12px 6px 4px}
@media(max-width:960px){.stable-pos-header,.concept-panel{grid-template-columns:1fr}}
@media(max-width:760px){.stable-pos-grid{grid-template-columns:1fr}.stable-pos-card a{height:auto;min-height:200px;max-height:300px}.stable-pos-card img{max-height:280px}}
