@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #f4f7f6;
  --muted: #9aa7a9;
  --line: rgba(229, 240, 238, .14);
  --panel: rgba(22, 34, 36, .76);
  --panel-strong: #1a292b;
  --accent: #8fe3cf;
  --accent-strong: #4ec6a5;
  --warm: #f2a66c;
  --bg: #0a1214;
  --max: 1180px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { overflow: hidden; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.eyebrow, .mono { font-family: 'DM Mono', monospace; letter-spacing: .04em; }
.eyebrow { color: var(--accent); font-size: .73rem; text-transform: uppercase; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 20, .9);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: -.025em; }
.brand-mark {
  width: 36px; height: 36px; border: 1px solid var(--accent);
  display: grid; place-items: center; color: var(--accent); font-family: 'DM Mono', monospace;
  font-size: .78rem; border-radius: 8px;
}
.brand small { display: block; margin-top: 1px; color: var(--muted); font-weight: 500; font-size: .66rem; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #c4cece; font-size: .84rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 17px; border: 1px solid var(--accent);
  border-radius: 7px; color: #071210; background: var(--accent); font-size: .82rem; font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.language-switch { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: transparent; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.language-switch svg { width: 15px; height: 15px; }
.language-switch:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: #b6f0e1; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.34); }
.button svg, .nav-cta svg { width: 16px; height: 16px; }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 7px; width: 42px; height: 42px; }

.hero { position: relative; padding: 86px 0 96px; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 50%; width: 50vw; height: 600px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(78, 198, 165, .12));
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 74px; align-items: center; }
.hero h1 { max-width: 730px; margin: 16px 0 22px; font-size: clamp(2.85rem, 6vw, 5.8rem); line-height: .99; letter-spacing: -.075em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 610px; margin: 0; color: #b7c3c4; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 42px; color: var(--muted); font-size: .76rem; }
.hero-meta strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: .92rem; }

.hero-visual { min-height: 480px; position: relative; }
.visual-frame { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #142124; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.08); opacity: .88; }
.visual-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 18, 20, .08) 22%, rgba(9, 18, 20, .88) 100%); }
.visual-label { position: absolute; z-index: 2; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.visual-label p { margin: 0; color: #d9e7e4; font-size: .86rem; }
.visual-label strong { display: block; margin-bottom: 5px; color: #fff; font-size: 1.05rem; }
.visual-tag { color: var(--accent); font-family: 'DM Mono', monospace; font-size: .68rem; }
.signal-card { position: absolute; z-index: 3; top: 26px; right: -20px; width: 185px; padding: 15px; border: 1px solid rgba(143, 227, 207, .5); background: rgba(15, 30, 31, .88); border-radius: 10px; box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.signal-card .line { height: 1px; background: var(--line); margin: 12px 0; }
.signal-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .69rem; }
.signal-row b { color: var(--accent); font-weight: 500; }

.section { padding: 108px 0; border-top: 1px solid var(--line); }
.page-hero { padding: 86px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 14px 0 20px; font-size: clamp(2.65rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -.06em; }
.page-hero .hero-copy { max-width: 720px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--accent); font-size: .8rem; font-weight: 700; }
.text-link svg { width: 15px; height: 15px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section h2 { margin: 9px 0 0; max-width: 650px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.055em; }
.section-intro { max-width: 420px; margin: 0; color: var(--muted); font-size: .93rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.capability { min-height: 248px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .25s ease, transform .25s ease; }
.capability:hover { border-color: rgba(143,227,207,.55); transform: translateY(-4px); }
.capability-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(143,227,207,.35); border-radius: 8px; }
.capability-icon svg { width: 19px; height: 19px; }
.capability h3 { margin: 31px 0 9px; font-size: 1.06rem; }
.capability p { margin: 0; color: var(--muted); font-size: .86rem; }
.capability .mono { display: block; margin-top: 23px; color: var(--warm); font-size: .67rem; }

.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.partner-logo { min-height: 96px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.partner-logo img { width: min(100%, 126px); height: 48px; object-fit: contain; }
.maker-region { margin-top: 42px; }
.maker-region h3 { margin: 0 0 18px; font-size: 1.08rem; }
.maker-region h3 span { color: var(--muted); font-size: .78rem; font-weight: 500; }
.maker-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.maker-logos .partner-logo { width: 160px; min-height: 90px; }
.manufacturing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.manufacturing-card { min-height: 210px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.manufacturing-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(143,227,207,.35); border-radius: 8px; color: var(--accent); }
.manufacturing-icon svg { width: 20px; height: 20px; }
.manufacturing-card h4 { margin: 25px 0 7px; font-size: .97rem; }
.manufacturing-card p { margin: 0; color: var(--muted); font-size: .79rem; }

.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.split-copy p { max-width: 420px; margin: 22px 0 0; color: var(--muted); font-size: .94rem; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principle-number { color: var(--warm); font-family: 'DM Mono', monospace; font-size: .77rem; }
.principle h3 { margin: 0 0 7px; font-size: 1.02rem; }
.principle p { margin: 0; color: var(--muted); font-size: .84rem; }

.contact-band { padding: 72px 0; background: #132222; }
.contact-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-wrap h2 { max-width: 670px; margin: 0; font-size: clamp(1.75rem, 3.5vw, 3.05rem); line-height: 1.1; letter-spacing: -.055em; }
.contact-wrap p { margin: 12px 0 0; color: var(--muted); font-size: .83rem; }
.site-footer { padding: 24px 0 30px; color: var(--muted); font-size: .73rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-row a { color: #c1d6d2; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step { position: relative; padding: 25px 24px 26px 0; border-right: 1px solid var(--line); }
.process-step + .process-step { padding-left: 24px; }
.process-step:last-child { border-right: 0; }
.process-step .step-no { color: var(--warm); font-family: 'DM Mono', monospace; font-size: .7rem; }
.process-step h3 { margin: 20px 0 8px; font-size: .96rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .8rem; }

.light-page { color-scheme: light; --ink: #17201f; --muted: #667471; --line: rgba(24, 44, 42, .14); --panel: #f8fbfa; --panel-strong: #ecf3f0; --accent: #116b58; --accent-strong: #0a8f72; --warm: #ca6e38; --bg: #f2f6f4; }
.light-page .site-header { background: rgba(242, 246, 244, .9); }
.light-page .nav-links { color: #4e605c; }
.light-page .nav-cta, .light-page .button { color: #effaf6; background: var(--accent); }
.light-page .nav-cta:hover, .light-page .button:hover { background: #0b805e; }
.light-page .button.secondary { color: var(--ink); }
.light-page .hero::before { background: linear-gradient(90deg, transparent, rgba(17, 107, 88, .12)); }
.light-page .hero-copy, .light-page .section-intro, .light-page .capability p, .light-page .principle p, .light-page .process-step p { color: var(--muted); }
.light-page .visual-frame { background: #b5c4bc; }
.light-page .visual-frame::after { background: linear-gradient(180deg, rgba(11, 30, 24, .04) 22%, rgba(11, 30, 24, .87) 100%); }
.light-page .signal-card { background: rgba(242, 250, 246, .94); border-color: rgba(17,107,88,.36); box-shadow: 0 18px 60px rgba(34, 75, 58, .16); }
.light-page .signal-row b { color: var(--accent-strong); }
.light-page .contact-band { background: #dbeae4; }
.light-page .contact-wrap p { color: #5a6d68; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .nav-links { gap: 18px; }
  .language-switch { margin-left: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding-top: 64px; }
  .hero-visual { min-height: 430px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .manufacturing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(3) { padding-left: 0; }
  .contact-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .nav-cta { display: none; }
  .language-switch { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-toggle svg { width: 19px; height: 19px; }
  .nav-links { position: absolute; top: 68px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { padding: 54px 0 70px; }
  .hero h1 { font-size: clamp(2.6rem, 15vw, 4.2rem); }
  .hero-copy { font-size: .92rem; }
  .hero-meta { margin-top: 30px; gap: 16px; }
  .hero-visual { min-height: 350px; }
  .signal-card { top: 16px; right: 10px; width: 165px; }
  .visual-label { left: 17px; bottom: 17px; right: 17px; }
  .section { padding: 74px 0; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-intro { margin-top: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .partner-logo { min-height: 82px; padding: 14px; }
  .partner-logo img { height: 42px; }
  .manufacturing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manufacturing-card { min-height: 185px; padding: 17px; }
  .page-hero { padding: 58px 0 52px; }
  .capability { min-height: 0; }
  .principle { grid-template-columns: 42px 1fr; gap: 14px; }
  .process { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .footer-row { display: block; }
  .footer-row span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
