@font-face {
  font-family: "Sora";
  src: url("fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  /* Graphite base; the logo's iridescence is the only colour on the page */
  --bg: #0A0B0F;
  --bg-2: #0E1015;
  --surface: #12141A;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EDEEF2;
  --muted: #979DAB;
  --faint: #5F6573;
  --cyan: #3CC8F0;
  --violet: #8A5CF6;
  --amber: #F2A93B;
  --iris: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--amber));
  --ease: cubic-bezier(.2, .7, .1, 1);

  --font: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 28px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(138, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }

/* Film grain and scroll progress */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--iris); transform-origin: 0 50%; transform: scaleX(0); }

/* Buttons and links */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.btn-small { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.link {
  position: relative; display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); padding-bottom: 4px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-2); transition: background .3s;
}
.link::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; z-index: 1;
  background: var(--iris); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.link:hover::before { transform: scaleX(1); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 11, 15, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: 13px; color: var(--muted); letter-spacing: .14em; padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.brand-sub:empty { display: none; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-links > a, .menu-trigger { position: relative; font-size: 15px; color: var(--muted); text-decoration: none; padding: 8px 0; transition: color .3s; }
.nav-links > a:hover, .menu-trigger:hover, .has-menu:focus-within .menu-trigger { color: var(--text); }
.has-menu { position: relative; }
.menu-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.menu-trigger svg { transition: transform .3s var(--ease); }
.has-menu.open .menu-trigger svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 12px); left: -18px; min-width: 168px;
  padding: 8px; border-radius: 16px; background: rgba(18, 20, 26, .9); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.submenu a { padding: 10px 14px; border-radius: 10px; font-size: 14px; text-decoration: none; color: var(--muted); transition: background .2s, color .2s; }
.submenu a:hover, .submenu a:focus-visible { background: rgba(255,255,255,.06); color: var(--text); }
.has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 901px) {
  .has-menu:hover .submenu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { background: none; border: 1px solid var(--line-2); border-radius: 999px; min-width: 44px; height: 32px; padding: 0 10px; font-size: 13px; cursor: pointer; color: var(--muted); transition: color .3s, border-color .3s; }
.lang:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.menu { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; padding: calc(var(--nav-h) + 32px) 0 96px;
  display: flex; align-items: center;
  background: radial-gradient(42% 58% at 74% 48%, rgba(138, 92, 246, .12), transparent 70%), var(--bg);
}
.hero-bg { position: absolute; inset: -6% 0; z-index: -1; opacity: .7; mix-blend-mode: screen; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 40s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(10,11,15,.6) 45%, rgba(10,11,15,.2) 100%), linear-gradient(0deg, var(--bg), transparent 30%); }
@keyframes drift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
.hero-inner { position: relative; z-index: 1; pointer-events: none; }
.hero-copy { max-width: 600px; pointer-events: auto; }
.lockup { display: flex; align-items: center; gap: 22px; }
.lockup img { width: clamp(64px, 6.6vw, 96px); height: auto; filter: drop-shadow(0 0 34px rgba(138, 92, 246, .38)); }
.lockup-name { font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.lockup-sub { margin-top: 8px; font-size: 15px; letter-spacing: .34em; color: var(--muted); }
.lockup-sub:empty { display: none; }
.hero h1 { margin-top: 56px; font-size: clamp(40px, 5.2vw, 80px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; text-shadow: 0 2px 30px rgba(10, 11, 15, .8); }
.hero-lead { margin-top: 24px; max-width: 28em; font-size: clamp(15px, 1.25vw, 18px); color: var(--muted); text-shadow: 0 1px 16px rgba(10, 11, 15, .9); }
.hero-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
/* Full-bleed scene: fiber-optic taiji, molecular moon, star dust */
.taiji { position: absolute; inset: 0; z-index: 0; }
.taiji canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.taiji-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-size: 13px; letter-spacing: .3em; color: rgba(236, 238, 243, .7); white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 12px rgba(10, 11, 15, .9); opacity: 0; transition: opacity 1.2s 1.6s;
}
.taiji-label.placed { opacity: 1; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; transform: translateX(-50%); overflow: hidden; background: var(--line); }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--iris); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Intro sequence (page load) */
.intro { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .14s); }
.intro-clip { clip-path: inset(0 0 100% 0); animation-name: rise-clip; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-clip { to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* Ticker */
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: center; font-size: 15px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.ticker li::after { content: ""; width: 5px; height: 5px; margin: 0 40px; border-radius: 50%; background: var(--iris); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 150px 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 62px); font-weight: 300; letter-spacing: -0.02em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* Cards with cursor spotlight */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(138, 92, 246, .14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }

/* Media blocks; gradients stand in until images exist */
.media { position: relative; margin: 0; overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.02); transition: transform 1.4s var(--ease), opacity .6s; }
.spot:hover .media img { transform: scale(1.08); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18, 20, 26, .9)); }
.media.missing img { display: none; }
.media-ent { background: radial-gradient(70% 90% at 30% 30%, rgba(60,200,240,.28), transparent 70%), radial-gradient(60% 80% at 80% 80%, rgba(138,92,246,.22), transparent 70%), var(--surface); }
.media-aca { background: radial-gradient(70% 90% at 70% 30%, rgba(242,169,59,.22), transparent 70%), radial-gradient(60% 80% at 20% 80%, rgba(138,92,246,.26), transparent 70%), var(--surface); }
.media-em { background: radial-gradient(60% 60% at 50% 45%, rgba(60,200,240,.3), transparent 70%), var(--surface); }
.media-photo { background: radial-gradient(60% 60% at 50% 30%, rgba(242,169,59,.26), transparent 70%), radial-gradient(60% 60% at 50% 90%, rgba(60,200,240,.18), transparent 70%), var(--surface); }
.media-alloy { background: radial-gradient(60% 60% at 80% 40%, rgba(242,169,59,.32), transparent 70%), var(--surface); }

/* Services */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc {
  border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: border-color .5s, transform .6s var(--ease);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc .media { aspect-ratio: 16 / 8; }
.svc-body { position: relative; z-index: 1; margin-top: -40px; padding: 0 44px 40px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 34px; font-weight: 300; letter-spacing: -0.015em; }
.svc-tag { margin-top: 12px; font-size: 17px; color: var(--text); opacity: .86; }
.svc-list { list-style: none; margin: 32px 0 0; padding: 0; }
.svc-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.svc-list b { font-weight: 500; font-size: 16px; }
.svc-list span { color: var(--muted); font-size: 15px; }
.svc-for { margin-top: auto; padding-top: 28px; font-size: 14px; color: var(--faint); }
.svc .link { margin-top: 16px; align-self: flex-start; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease); }
.case:hover { border-color: var(--line-2); transform: translateY(-4px); }
.case .media { aspect-ratio: 4 / 3; }
.case-body { position: relative; z-index: 1; padding: 6px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.case-field { font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.case h3 { margin-top: 12px; font-size: 22px; font-weight: 400; }
.case-body > p:not([class]) { margin-top: 14px; font-size: 15px; color: var(--muted); }
.case-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.case-who { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--faint); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why { position: relative; padding: 36px 28px 8px 0; }
.why::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--iris); transition: width 1.2s var(--ease) .3s; }
.why.in::before { width: 48px; }
.why + .why { padding-left: 28px; border-left: 1px solid var(--line); }
.why + .why::before { left: 28px; }
.why h3 { font-size: 19px; font-weight: 400; }
.why p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* HyperTeam: its own full screen */
.team {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center; padding: 140px 0;
  background: radial-gradient(50% 60% at 24% 50%, rgba(60, 200, 240, .08), transparent 70%), var(--bg-2);
}
.team-bg { position: absolute; inset: 0; z-index: -1; opacity: .6; mix-blend-mode: screen; }
.team-bg img { width: 100%; height: 100%; object-fit: cover; }
.team-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,21,.3), var(--bg-2) 70%); }
.team-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.team-mark { position: relative; justify-self: center; width: min(300px, 60vw); perspective: 900px; }
.team-mark img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 70px rgba(138, 92, 246, .32)); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.orbit { position: absolute; inset: -22%; border-radius: 50%; border: 1px solid var(--line); animation: spin 36s linear infinite; }
.orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; top: -3.5px; left: calc(50% - 3.5px); background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.orbit i:nth-child(2) { top: auto; bottom: -3.5px; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.orbit i:nth-child(3) { top: calc(50% - 3.5px); left: -3.5px; background: var(--violet); box-shadow: 0 0 14px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
.team-kicker { font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.team h2 {
  margin-top: 12px; font-size: clamp(48px, 6.4vw, 96px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
  background: var(--iris); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content; animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.team-copy p:not(.team-kicker) { margin-top: 20px; color: var(--muted); max-width: 36em; }
.team-copy p:nth-of-type(2) { margin-top: 36px; color: var(--text); font-size: 19px; }

/* Autonomous lab: big, right after the hero */
.autolab { position: relative; overflow: hidden; isolation: isolate; padding: 160px 0 120px; scroll-margin-top: 0; }
.autolab-media { position: absolute; inset: 0 0 0 30%; z-index: -1; overflow: hidden; }
.autolab-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: drift 36s ease-in-out infinite alternate; }
.autolab-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,11,15,.85) 30%, rgba(10,11,15,.25) 70%, rgba(10,11,15,.5) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%, transparent 80%, var(--bg) 100%);
}
.autolab-media.missing { background: radial-gradient(60% 70% at 70% 40%, rgba(60,200,240,.16), transparent 70%); }
.autolab-head { max-width: 560px; }
.autolab-kicker { font-size: 14px; letter-spacing: .2em; color: var(--cyan); }
.autolab h2 { margin-top: 14px; font-size: clamp(36px, 4.6vw, 68px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
.autolab-head > p:not(.autolab-kicker) { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 30em; }
.autolab .btn { margin-top: 36px; }
.pipeline {
  position: relative; list-style: none; margin: 120px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step;
}
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--line-2); }
.pipeline::after {
  content: ""; position: absolute; top: 14px; left: 0; width: 18%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--amber), transparent);
  filter: drop-shadow(0 0 6px rgba(138, 92, 246, .9)); animation: flow 4.8s linear infinite;
}
@keyframes flow { from { left: -18%; } to { left: 100%; } }
.pipeline li { position: relative; padding-top: 48px; counter-increment: step; }
.pipeline li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center;
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2);
  animation: step-glow 4.8s linear infinite; animation-delay: calc((var(--n) - 1) * .8s);
}
.pipeline li:nth-child(1) { --n: 1; } .pipeline li:nth-child(2) { --n: 2; } .pipeline li:nth-child(3) { --n: 3; }
.pipeline li:nth-child(4) { --n: 4; } .pipeline li:nth-child(5) { --n: 5; } .pipeline li:nth-child(6) { --n: 6; }
@keyframes step-glow { 0%, 22%, 100% { border-color: var(--line-2); box-shadow: none; } 6% { border-color: var(--cyan); box-shadow: 0 0 18px rgba(60, 200, 240, .6); } }
.pipeline b { display: block; font-size: 20px; font-weight: 400; }
.pipeline span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Contact */
.contact { position: relative; padding: 150px 0 160px; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -55%); border-radius: 50%; background: radial-gradient(closest-side, rgba(138, 92, 246, .16), transparent); pointer-events: none; }
.contact h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 300; letter-spacing: -0.02em; }
.contact p { margin: 18px auto 0; max-width: 32em; color: var(--muted); }
.contact .btn { margin-top: 40px; }
.contact .contact-mail { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Footer */
.footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.footer .brand { color: var(--text); margin-right: auto; }
.footer .brand img { width: 24px; }
.footer .brand-name { font-size: 16px; }

html[lang="en"] .hero h1 { font-size: clamp(36px, 4.6vw, 72px); }
html[lang="en"] .ticker li { letter-spacing: .06em; }

/* Responsive */
@media (max-width: 1080px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: 31svh; }
  .hero h1 { margin-top: 32px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why:nth-child(3) { padding-left: 0; border-left: 0; }
  .why:nth-child(3)::before { left: 0; }
  .why:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .team-inner { grid-template-columns: 1fr; gap: 56px; }
  .team-mark { width: min(200px, 44vw); justify-self: start; margin-left: 12%; }
  .section { padding: 120px 0; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .menu { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { background: var(--bg); }
  .nav.open .nav-links { display: flex; }
  .nav-links > a, .menu-trigger { padding: 14px 0; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
  .menu-trigger svg { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; border: 0; background: none; min-width: 0; backdrop-filter: none; }
  .submenu a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .pipeline::before, .pipeline::after { display: none; }
  .autolab-media { inset: 0; opacity: .5; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 40px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }
  .hero { padding-bottom: 80px; }
  .hero h1 { margin-top: 32px; }
  .taiji-label { font-size: 11px; letter-spacing: .16em; }
  .autolab { padding: 110px 0 90px; }
  .pipeline { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .svc-body { padding: 0 24px 28px; margin-top: -28px; }
  .svc h3 { font-size: 28px; }
  .case-body { padding: 4px 22px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why, .why + .why { padding: 24px 0 0; border-left: 0; }
  .why::before, .why + .why::before { left: 0; }
  .why + .why { border-top: 1px solid var(--line); margin-top: 24px; }
  .ticker li::after { margin: 0 26px; }
  .team { min-height: 0; padding: 110px 0; }
  .team-mark { margin-left: 18%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact { padding: 120px 0 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .intro { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }

}
