/* ==========================================================================
   Space-Eyes Japan LP
   Tokens measured from space-eyes.com (2026-08-27):
     #000 background / #fff text / Inter / pill buttons (radius 9999px) /
     headings 700 weight, -1.5px tracking (Latin only).
   Japanese never inherits the negative tracking -- it breaks at that density.

   ========================================================================== */
:root{
  --bg:#000; --fg:#fff;
  --muted:#9ca3af; --dim:#6b7280; --faint:#4b5563;
  --line:rgba(255,255,255,.12); --line-soft:rgba(255,255,255,.06);
  --panel:rgba(255,255,255,.03);
  --max:1120px;
  --ease:cubic-bezier(.16,1,.3,1);
  /* Sampled from the Space-Eyes wordmark (the target glyph in "SpaceEyes").
     The page was pure monochrome before this; the brand itself is not. */
  --accent:#2E86C8; --accent-dim:#1F6FB2;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);color:var(--fg);
  font-family:Inter,"Noto Sans JP",system-ui,sans-serif;
  font-size:16px;line-height:1.9;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
section{padding:112px 0;border-top:1px solid var(--line-soft);position:relative}
@media(max-width:720px){section{padding:76px 0}}

.latin{font-family:Inter,system-ui,sans-serif;letter-spacing:-.045em;font-weight:700}
.ja{font-family:"Noto Sans JP",Inter,system-ui,sans-serif;letter-spacing:0}

.eyebrow{font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--accent)}
h2.latin{font-size:clamp(30px,4.4vw,48px);line-height:1.1}
h3.ja{font-size:clamp(21px,2.6vw,30px);line-height:1.55;font-weight:700}
p{color:#d1d5db}
/* Measure: ~34 Japanese characters, ~62 Latin characters -- the comfortable
   line length differs per script, so it is set per language, not once. */
.lead{font-size:17px;line-height:2.05;max-width:34em}
html[lang="en"] .lead{max-width:62ch}
html[lang="en"] .hero .sub{max-width:52ch}

/* Japanese line breaking. `line-break:strict` keeps 「ー」「っ」「ゃ」 off the
   start of a line (Chrome's default `auto` allows it); `text-wrap:pretty`
   stops a line ending on a single orphaned character. Latin keeps its own
   rules -- neither property changes English wrapping. */
p,li,summary,h3,h4,.use,.slot .t,.slot .d,.cap p,.pcard p,.lead,.sub,.small{
  line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
/* Short katakana runs and product names are single words to a Japanese reader;
   CJK text is breakable at any character, so they must be held together by hand. */
.nw{white-space:nowrap}
/* A sentence is a block, so a new sentence always starts a new line
   instead of trailing two characters onto the previous one. */
.sn{display:inline-block}
.small{font-size:13px;line-height:1.85;color:var(--dim)}

.btn{display:inline-block;border-radius:9999px;padding:13px 30px;
  font-size:14px;font-weight:500;text-decoration:none;
  transition:background .25s var(--ease),border-color .25s var(--ease),
             color .25s var(--ease),transform .25s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:#fff;color:#000}
.btn-primary:hover{background:#e5e7eb}
.btn-ghost{border:1px solid var(--line);color:#d1d5db}
.btn-ghost:hover{border-color:rgba(255,255,255,.45);color:#fff}

/* ---------------- scroll reveal ---------------- */
.reveal{opacity:0;transform:translateY(26px);
  transition:opacity .95s var(--ease),transform .95s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.09s}.reveal.d2{transition-delay:.18s}
.reveal.d3{transition-delay:.27s}.reveal.d4{transition-delay:.36s}

/* ---------------- nav ---------------- */
header.nav{position:sticky;top:0;z-index:50;background:rgba(0,0,0,.8);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line-soft)}
.nav-in{max-width:var(--max);margin:0 auto;padding:15px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:baseline;gap:11px;text-decoration:none;color:#fff}
.brand b{font-family:Inter,sans-serif;font-weight:700;letter-spacing:.13em;font-size:15px}
.brand span{font-size:10px;letter-spacing:.22em;color:var(--muted);font-weight:600}
.nav-right{display:flex;align-items:center;gap:20px}
.nav-note{font-size:11px;color:var(--dim);line-height:1.5}
@media(max-width:820px){.nav-note{display:none}}

/* Language tabs. A segmented pill, so the two languages read as one control
   rather than as two unrelated links. */
.langs{display:flex;align-items:center;border:1px solid var(--line);
  border-radius:9999px;padding:3px;gap:2px;flex-shrink:0}
.langs a{display:block;padding:6px 14px;border-radius:9999px;font-size:12px;
  font-weight:500;letter-spacing:.02em;color:var(--muted);text-decoration:none;
  transition:color .25s var(--ease),background .25s var(--ease);white-space:nowrap}
.langs a:hover{color:#fff}
.langs a[aria-current="page"]{background:#fff;color:#000}
@media(max-width:520px){
  .nav-in{padding:12px 18px}
  .nav-right{gap:10px}
  .langs a{padding:6px 11px;font-size:11.5px}
}

/* ---------------- hero ---------------- */
.hero{position:relative;isolation:isolate;border-top:none;overflow:hidden;
  padding:172px 0 132px;display:flex;align-items:center;min-height:min(90vh,880px)}
@media(max-width:720px){.hero{padding:132px 0 96px;min-height:auto}}
/* Hero backdrop. The text sits on the dark upper-left of the frame; the two
   gradients below keep the copy at full contrast no matter how the image
   crops, so the picture can never win against the words. */
.hero-bg{position:absolute;inset:0;z-index:-1}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;
  opacity:.85;display:block}
.hero-bg::after{content:"";position:absolute;inset:0;
  background:
    linear-gradient(100deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.82) 38%,rgba(0,0,0,.42) 72%,rgba(0,0,0,.30) 100%),
    linear-gradient(180deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.18) 34%,rgba(0,0,0,.55) 78%,#000 100%)}
@media(max-width:720px){
  .hero-bg img{object-position:50% 58%;opacity:.7}
  .hero-bg::after{background:
    linear-gradient(180deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.55) 38%,rgba(0,0,0,.78) 80%,#000 100%)}
}
.hero-grid{display:grid;gap:56px;align-items:center}
@media(min-width:960px){.hero-grid{grid-template-columns:1.05fr .95fr;gap:40px}}
.hero h1{font-size:clamp(38px,6.6vw,74px);line-height:1.04;margin:22px 0 0}
.hero .sub{margin-top:30px;font-size:clamp(16px,1.9vw,19px);line-height:2;color:#e5e7eb;max-width:44ch}
.hero .cta{margin-top:42px;display:flex;gap:12px;flex-wrap:wrap}
.hero .rep{margin-top:56px;padding-top:22px;border-top:1px solid var(--line);
  font-size:13px;color:var(--muted)}
.hero .rep strong{color:#fff;font-weight:500}
.hero h1 .ln{display:block;overflow:hidden}
.hero h1 .ln i{display:block;font-style:normal;transform:translateY(105%);
  animation:riseIn 1.1s var(--ease) forwards}
.hero h1 .ln:nth-child(2) i{animation-delay:.12s}
.hero h1 .ln:nth-child(3) i{animation-delay:.24s}
@keyframes riseIn{to{transform:none}}

/* ---------------- logo ---------------- */
.brand img{height:22px;width:auto;display:block}

/* ---------------- imagery ---------------- */
.arch img{width:100%;height:auto;display:block;border-radius:8px}

/* ---------------- shared figure shell ---------------- */
figure{margin:0}
.viz-cap{margin-top:14px;font-size:11px;color:var(--faint);letter-spacing:.02em;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.viz-cap .tag{color:var(--dim)}

/* ---------------- architecture ---------------- */
.arch{margin-top:56px;border:1px solid var(--line);border-radius:14px;
  background:var(--panel);padding:44px 24px}

/* ---------------- capability cards ---------------- */
.caps{margin-top:60px;display:grid;gap:1px;background:var(--line-soft);
  border:1px solid var(--line-soft);border-radius:14px;overflow:hidden}
.cap{background:#000;padding:38px 34px;transition:background .4s var(--ease)}
.cap:hover{background:#080808}
.cap .num{font-family:"JetBrains Mono",monospace;font-size:12px;letter-spacing:.16em;color:var(--accent)}
.cap h4{margin:14px 0;font-size:20px;font-weight:700;line-height:1.5;
  font-family:"Noto Sans JP",Inter,sans-serif}
.cap p{font-size:15px;line-height:1.95;color:#b8bec9}
@media(min-width:860px){.caps{grid-template-columns:1fr 1fr}}

/* ---------------- chips ---------------- */
.chips{margin-top:52px;display:grid;gap:10px}
@media(min-width:760px){.chips{grid-template-columns:1fr 1fr}}
.chip{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;
  border:1px solid var(--line-soft);border-radius:9999px;padding:13px 22px;
  background:var(--panel);transition:border-color .3s var(--ease),transform .3s var(--ease)}
.chip:hover{border-color:var(--accent-dim);transform:translateX(4px)}
.chip b{font-size:14px;font-weight:500;font-family:"Noto Sans JP",Inter,sans-serif}
.chip span{font-family:"JetBrains Mono",monospace;font-size:11px;color:var(--dim)}

/* ---------------- use rows ---------------- */
.uses{margin-top:52px;display:grid;gap:1px;background:var(--line-soft);
  border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
@media(min-width:760px){.uses{grid-template-columns:1fr 1fr}}
.use{background:#000;padding:19px 4px;font-size:14.5px;color:#d1d5db;
  display:flex;gap:14px;align-items:baseline;transition:color .3s var(--ease)}
.use:hover{color:#fff}
.use i{font-style:normal;color:var(--accent);font-family:"JetBrains Mono",monospace;
  font-size:11px;flex-shrink:0}
.use .ut{min-width:0}

/* ---------------- product cards ---------------- */
.prod{display:grid;gap:64px;margin-top:56px}
.pcard .ptitle{font-family:Inter,sans-serif;font-size:28px;font-weight:700;letter-spacing:-.035em}
.pcard .pcat{margin-top:8px;font-size:12.5px;color:var(--muted)}
.pcard h4{margin:24px 0 18px;font-size:19px;font-weight:700;line-height:1.6;
  font-family:"Noto Sans JP",Inter,sans-serif}
.pcard p{font-size:15px;line-height:1.95;color:#b8bec9}
.psplit{display:grid;gap:40px;align-items:center}
@media(min-width:900px){.psplit{grid-template-columns:1fr 1fr;gap:56px}
  .psplit.rev>*:last-child{order:-1}}

/* ---------------- principals ---------------- */
/* Named people, with faces. On a distributor page the reader's real question is
   who they will actually be dealing with, so the two principals are shown rather
   than described. Photos are served from the main site's /team/ directory. */
.people{margin-top:48px;display:grid;gap:24px}
@media(min-width:620px){.people{grid-template-columns:1fr 1fr;gap:28px}}
.person{display:flex;align-items:center;gap:18px;border:1px solid var(--line-soft);
  border-radius:14px;background:var(--panel);padding:18px 20px;
  transition:border-color .3s var(--ease)}
.person:hover{border-color:var(--accent-dim)}
.person img{width:66px;height:66px;border-radius:9999px;object-fit:cover;
  flex-shrink:0;display:block;background:#111}
.person b{display:block;font-size:16px;font-weight:600;letter-spacing:-.01em}
.person span{display:block;margin-top:4px;font-size:12.5px;color:var(--muted)}

/* ---------------- FAQ ---------------- */
.faq{margin-top:44px;border-top:1px solid var(--line-soft)}
details{border-bottom:1px solid var(--line-soft)}
summary{cursor:pointer;list-style:none;padding:22px 40px 22px 0;position:relative;
  font-size:16px;font-weight:500;line-height:1.7;transition:color .3s var(--ease)}
summary:hover{color:#fff}
summary::-webkit-details-marker{display:none}
summary::after{content:"";position:absolute;right:10px;top:31px;width:13px;height:1px;
  background:var(--muted)}
summary::before{content:"";position:absolute;right:16px;top:25px;width:1px;height:13px;
  background:var(--muted);transition:transform .3s var(--ease)}
details[open] summary::before{transform:rotate(90deg);opacity:0}
details p{padding:0 0 24px;font-size:15px;line-height:1.95;color:#b8bec9;max-width:70ch}

/* ---------------- CTA / footer ---------------- */
.cta-band{text-align:center;padding:118px 0}
.cta-band p{margin:22px auto 0;max-width:52ch}
.cta-band .btn{margin-top:38px}
footer{border-top:1px solid var(--line-soft);padding:52px 0 64px}
.foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:flex-start}
footer a{color:var(--muted);text-decoration:none;font-size:13px;transition:color .25s var(--ease)}
footer a:hover{color:#fff}
.tm{margin-top:26px;font-size:11.5px;line-height:1.9;color:var(--faint);max-width:78ch}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
  .hero h1 .ln i{transform:none}
  html{scroll-behavior:auto}
}

/* ---------------- SEO: Japanese keyword lines in headings ---------------- */
/* The display headings are Latin by design. The Japanese line carries the
   words a Japanese reader actually searches for, so it lives inside the same
   h1/h2 rather than in a sibling paragraph. Sized down so the Latin type
   still leads visually. */
.h1-ja{display:block;margin-top:18px;font-size:clamp(15px,1.7vw,20px);
  font-weight:500;letter-spacing:.04em;color:#d1d5db;opacity:.9;
  text-transform:none}
.h2-ja{display:block;margin-top:12px;font-size:clamp(14px,1.5vw,17px);
  font-weight:500;letter-spacing:.03em;color:#b8bec9;
  font-family:"Noto Sans JP",Inter,sans-serif;line-height:1.7;
  text-transform:none}
/* The MORPHEUS eyebrow is now an h2 so the flagship product owns a heading
   level. Its rendering must stay identical to the sibling .eyebrow divs. */
h2.eyebrow-h2{font-size:11px;font-weight:600;margin:0;line-height:1.4}
h2.eyebrow-h2 .h2-ja{letter-spacing:.03em}

/* One-line explanation under each use case. The bare noun phrases matched no
   real search query on their own. */
.ud{display:block;margin-top:8px;font-size:14px;line-height:1.8;
  color:#9aa2ad;letter-spacing:.01em}

/* A .psplit whose image column was removed must not sit in half the width. */
@media(min-width:900px){.psplit.solo{grid-template-columns:1fr}}

/* Product screenshots reuse the architecture figure shell. */
.shot{margin-top:0;padding:18px}
.shot img{width:100%;height:auto;display:block;border-radius:8px}
