:root {
  --red: #cf3400;
  --gold: #f0daae;
  --brown: #d1945a;
  --ink: #171513;
  --muted: #6d6862;
  --paper: #f7f6f2;
  --white: #fff;
  --line: rgba(23, 21, 19, .14);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "OPPO Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; padding: 10px max(4vw, 24px);
  background: rgba(247, 246, 242, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(50,30,20,.05); }
.brand { width: 96px; height: 58px; display: grid; place-items: center; }
.brand img { width: auto; height: 48px; }
nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; }
nav a { text-decoration: none; }
.nav-contact { color: var(--red); border-bottom: 1px solid currentColor; }
.language-switch { min-width: 34px; padding-left: 18px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; }

main { overflow: clip; }
.hero {
  min-height: 100svh; max-width: 1480px; margin: 0 auto; padding: 110px max(4vw, 24px) 48px;
  display: grid; grid-template-columns: minmax(0, .87fr) minmax(420px, 1.13fr); gap: 6vw; align-items: center;
}
.eyebrow, .section-kicker { color: var(--red); font-size: .82rem; font-weight: 600; letter-spacing: .15em; }
h1, h2 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
h1 { margin-top: 24px; font-size: clamp(4rem, 7.3vw, 7.8rem); }
h1 span { color: var(--red); }
.hero-lead { max-width: 32rem; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; text-decoration: none; border-radius: 2px; font-weight: 600; }
.button-primary { background: var(--red); color: #fff; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hero-visual { position: relative; margin: 0; align-self: stretch; min-height: 560px; border-radius: 2px; overflow: hidden; background: var(--gold); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-visual figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; color: #fff; font-size: .82rem; letter-spacing: .14em; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

.section { max-width: var(--max); margin: 0 auto; padding: 120px max(4vw, 24px); }
.manifesto { border-top: 1px solid var(--line); }
.manifesto-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.manifesto h2 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
.manifesto p { color: var(--muted); }
.manifesto .large-copy { margin-top: 0; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.55; }

.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.section-head h2, .technology-intro h2, .history-head h2, .team-head h2, .social-copy h2, .contact-grid h2 { margin-top: 24px; font-size: clamp(2.9rem, 5.5vw, 6rem); }
.team-head h2, .social-copy h2, .contact-grid h2 { font-size: clamp(2.75rem, 4.25vw, 4.8rem); letter-spacing: -.055em; }
.team-head h2 span, .social-copy h2 span, .contact-grid h2 span { display: block; white-space: nowrap; }
.section-head > p, .technology-intro > p:last-child, .history-head > p, .team-head > p, .social-copy > p, .contact-grid > div > p { color: var(--muted); font-size: 1.08rem; }
.products-section { background: #fff; padding-bottom: 120px; }
.product-grid { max-width: 1480px; margin: 0 auto; padding: 0 max(4vw, 24px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); }
.product-card { position: relative; min-height: 720px; background: #e9e7e1; overflow: hidden; }
.product-card-wide { min-height: 800px; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover img { transform: scale(1.025); }
.product-copy { position: absolute; inset: auto 0 0; padding: 110px 34px 32px; color: #fff; background: linear-gradient(transparent, rgba(16,12,10,.75)); }
.product-copy span { font-size: .78rem; letter-spacing: .13em; }
.product-copy h3 { margin: 10px 0 4px; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.2; }
.product-copy p { margin: 0; max-width: 34rem; }
.product-copy strong { display: block; margin-top: 18px; font-size: .82rem; letter-spacing: .08em; }

.technology-section { background: var(--ink); color: #fff; }
.technology-intro { text-align: center; max-width: 1060px; }
.technology-intro > p:last-child { color: rgba(255,255,255,.68); max-width: 46rem; margin: 28px auto 0; }
.tech-gallery { max-width: 1480px; margin: 0 auto; padding: 0 max(4vw,24px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.tech-gallery figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; }
.tech-gallery .tech-main { min-height: 620px; }
.tech-gallery img { width: 100%; height: 100%; object-fit: cover; }
.tech-gallery .tech-main img { object-position: left center; }
.tech-gallery figcaption { position: absolute; inset: auto 0 0; padding: 80px 28px 24px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.tech-gallery figcaption span, .tech-gallery figcaption strong { display: block; }
.tech-gallery figcaption span { color: var(--gold); font-size: .78rem; letter-spacing: .12em; }
.tech-gallery figcaption strong { margin-top: 5px; font-size: 1.15rem; }
.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); padding-top: 84px; }
.capability-grid article { padding: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.capability-grid b { color: var(--red); font-size: .8rem; }
.capability-grid h3 { margin: 36px 0 12px; font-size: 1.25rem; }
.capability-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: .92rem; }

.history-section { background: var(--gold); }
.history-head, .team-head { margin-top: 34px; display: grid; grid-template-columns: 1fr .75fr; gap: 8vw; align-items: end; }
.timeline { list-style: none; margin: 84px 0 0; padding: 0; border-top: 1px solid rgba(23,21,19,.3); }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid rgba(23,21,19,.2); }
.timeline time { color: var(--red); font-weight: 600; }
.timeline span { font-size: 1.08rem; }

.team-section { max-width: 1320px; }
.team-grid { margin-top: 84px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-grid article { min-height: 270px; padding: 28px; border-left: 1px solid var(--line); }
.team-grid article:first-child { border-left: 0; }
.team-grid h3 { margin: 0; font-size: 1.8rem; }
.team-grid span { display: block; margin-top: 4px; color: var(--red); font-size: .82rem; }
.team-grid p { margin-top: 56px; color: var(--muted); font-size: .92rem; }

.social-section { background: var(--brown); }
.social-grid { max-width: 1400px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.social-copy ul { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid rgba(23,21,19,.25); }
.social-copy li { padding: 15px 0; border-bottom: 1px solid rgba(23,21,19,.2); }
.social-copy li b { display: inline-block; width: 64px; color: #fff; }
.social-grid > img { width: 100%; min-height: 520px; object-fit: cover; }

.contact-section { background: #fff; }
.contact-grid { max-width: 1320px; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }
.qr-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
.qr-list figure { margin: 0; padding: 22px; background: var(--paper); text-align: center; }
.qr-list img { aspect-ratio: 1; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.qr-list figcaption { margin-top: 14px; font-weight: 600; }
footer { background: var(--ink); color: #fff; }
.footer-inner { max-width: var(--max); margin: 0 auto; min-height: 180px; padding: 36px max(4vw,24px); display: flex; align-items: center; gap: 32px; }
.footer-inner img { width: 92px; background: #fff; }
.footer-inner p { margin-right: auto; }
.footer-inner a { color: rgba(255,255,255,.7); text-underline-offset: 6px; }
.footer-inner .icp-link { text-decoration: none; }
.footer-inner .icp-link:hover { color: #fff; }
.lang-en .team-head h2, .lang-en .social-copy h2, .lang-en .contact-grid h2 { font-size: clamp(2.7rem, 4vw, 4.55rem); letter-spacing: -.045em; }
.lang-en .team-head h2 span, .lang-en .social-copy h2 span, .lang-en .contact-grid h2 span { white-space: normal; }
.lang-en nav { gap: 24px; font-size: .86rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .site-header { min-height: 68px; }
  .brand { width: 80px; height: 50px; }
  .brand img { width: auto; height: 42px; }
  .menu-toggle { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 68px; display: none; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 18px; }
  nav.open { display: flex; }
  .language-switch { padding-left: 0; border-left: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 110px; gap: 52px; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.6rem); }
  .hero-visual { min-height: 72svh; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-head, .history-head, .team-head, .social-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card-wide { min-height: 680px; }
  .tech-gallery { grid-template-columns: 1fr; }
  .tech-gallery figure, .tech-gallery .tech-main { min-height: 430px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .team-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding-top: 88px; padding-bottom: 88px; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual { min-height: 64svh; }
  .product-card, .product-card-wide { min-height: 580px; }
  .capability-grid, .team-grid, .qr-list { grid-template-columns: 1fr; }
  .capability-grid article { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .team-grid article { border-left: 0; border-top: 1px solid var(--line); }
  .timeline li { grid-template-columns: 90px 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner p { margin: 0; }
  .team-head h2 span, .social-copy h2 span, .contact-grid h2 span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
