:root {
  --ink: #1B432F;
  --ink-2: #2D5F52;
  --muted: #637a75;
  --line: rgba(27, 67, 47, 0.13);
  --green: #15a66b;
  --green-deep: #1B432F;
  --teal: #35c1be;
  --mint: #e1f8eb;
  --paper: #fbfdf8;
  --white: #ffffff;
  --dark: #0f3328;
  --shadow: 0 24px 72px rgba(27, 67, 47, 0.13);
  --shadow-strong: 0 38px 110px rgba(27, 67, 47, 0.22);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(64, 217, 151, 0.18), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(53, 193, 190, 0.14), transparent 27rem),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(12, 47, 43, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 47, 43, 0.027) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 68%);
}

img {
  display: block;
  max-width: 100%;
}

.blur-old {
  filter: blur(12px);
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 76px);
  background: rgba(251, 253, 248, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 253, 248, 0.94);
  box-shadow: 0 14px 42px rgba(8, 59, 50, 0.1);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 158px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  flex: 1 1 auto;
  color: #2c514c;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--teal));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #0d7958, #19ad73 55%, #3bc5c2);
  box-shadow: 0 18px 40px rgba(18, 151, 104, 0.25);
}

.button.secondary {
  color: var(--green-deep);
  border: 1px solid rgba(7, 95, 67, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(100px, 12vw, 160px) clamp(20px, 6vw, 92px) 88px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -28vw;
  width: 68vw;
  height: 68vw;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 166, 107, 0.18), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-text .eyebrow,
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 24px;
  color: #0a302b;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
}

.hero-title .line {
  display: block;
}

.hero-title .sub {
  color: rgba(27, 67, 47, 0.5);
}

.hero-title .accent {
  color: var(--green);
}

.lead {
  max-width: 580px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.hero-cta .btn svg {
  width: 18px;
  height: 18px;
}

.hero-cta .btn.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 32px rgba(21, 166, 107, 0.35);
}

.hero-cta .btn.primary:hover {
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(27, 67, 47, 0.4);
  transform: translateY(-2px);
}

.hero-cta .btn.secondary {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(21, 166, 107, 0.3);
}

.hero-cta .btn.secondary:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--green);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
}

.hero-stats .stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(27, 67, 47, 0.08);
}

.hero-stats .stat strong {
  display: block;
  color: var(--green-deep);
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
}

.hero-stats .stat span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: #0a302b;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #113b35;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #173f3a;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 42px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin: 0;
}

.hero-metrics div {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.hero-metrics dt {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 30px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.orbital-field {
  position: absolute;
  width: min(760px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(21, 166, 107, 0.24) 0 2px, transparent 2px 48px),
    radial-gradient(circle, rgba(255, 255, 255, 0.78), rgba(225, 248, 235, 0.38) 55%, transparent 73%);
}

.hero-product {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  background: transparent;
}

.hero-product img {
  width: 100%;
  display: block;
}

.hero-product .product-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-product .product-particles canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  max-width: 270px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-chip b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.hero-chip span {
  color: var(--muted);
  font-size: 13px;
}

.chip-a {
  top: 20px;
  left: 14px;
}

.chip-b {
  right: 20px;
  bottom: 20px;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.company {
  background: rgba(255, 255, 255, 0.58);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.identity-card,
.mission-grid article,
.tech-points article,
.product-list article,
.evidence-grid article,
.timeline article,
.market-grid article,
.cooperation-grid article,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.identity-card {
  padding: 12px;
}

.identity-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.identity-card div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px;
  background: rgba(248, 253, 249, 0.82);
}

.identity-card dt {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.identity-card dd {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.62;
}

.mission {
  background:
    linear-gradient(180deg, rgba(251, 253, 248, 0.2), rgba(230, 249, 239, 0.78)),
    #f2faf5;
}

.mission-grid,
.evidence-grid,
.market-grid,
.cooperation-grid {
  display: grid;
  gap: 22px;
}

.mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-grid article {
  min-height: 280px;
  padding: 34px;
}

.mission-grid span,
.product-list span,
.timeline span,
.cooperation-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.technology {
  background:
    radial-gradient(circle at 84% 16%, rgba(53, 193, 190, 0.15), transparent 26rem),
    var(--paper);
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.tech-hero figure,
.product-showcase figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-hero figure img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center center;
}

.tech-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tech-points article {
  min-height: 170px;
  padding: 28px;
}

.tech-points article:first-child {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(7, 95, 67, 0.92), rgba(21, 166, 107, 0.78)),
    #0f6d50;
}

.tech-points article:first-child b,
.tech-points article:first-child p {
  color: #fff;
}

.tech-points b {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 21px;
}

.tech-points p {
  margin: 0;
  font-size: 15px;
}

.science {
  background: var(--paper);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.science-card {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-items: stretch;
}

.science-card figure {
  margin: 0;
  overflow: hidden;
}

.science-card figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.science-card > div {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.science-card b {
  display: block;
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 20px;
}

.science-card p {
  margin: 0;
  font-size: 15px;
}

.science-card.highlight {
  background: linear-gradient(135deg, rgba(27, 67, 47, 0.08), rgba(21, 166, 107, 0.12));
}

.science-card.highlight b {
  color: var(--ink);
}

.science-card.highlight p {
  color: var(--ink-2);
}

.products {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 51, 45, 0.94), rgba(9, 92, 68, 0.82)),
    url("assets/site/product-origin.jpg") center / cover;
  position: relative;
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/site/product-origin.jpg") center / cover;
  filter: blur(8px) brightness(0.6);
  z-index: -1;
}

.products h2,
.products p,
.products .eyebrow {
  color: #fff;
}

.products .section-heading p,
.product-list p {
  opacity: 0.88;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.product-showcase figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-list {
  display: grid;
  gap: 16px;
}

.product-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.product-list .featured {
  background: rgba(255, 255, 255, 0.2);
}

.product-list .product-price {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.product-list .product-price strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.product-list h3,
.product-list span {
  color: #fff;
}

.calculator {
  background: #f7fbf5;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.calculator-qr img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(21, 166, 107, 0.15);
}

.calculator-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.calculator-features article {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(21, 166, 107, 0.08);
  transition: box-shadow 0.2s;
}

.calculator-features article:hover {
  box-shadow: 0 4px 20px rgba(21, 166, 107, 0.14);
}

.calculator-features b {
  display: block;
  color: #1B432F;
  font-size: 16px;
  margin-bottom: 8px;
}

.calculator-features p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.evidence {
  background: #f7fbf5;
}

.evidence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evidence-grid article {
  min-height: 300px;
  padding: 28px;
}

.evidence-grid article.evidence-with-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px;
  min-height: auto;
}

.evidence-grid article.evidence-with-img .evidence-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence-grid article.evidence-with-img .evidence-img {
  width: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.evidence-grid small {
  display: block;
  margin-bottom: 36px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.evidence-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}

.evidence-grid span {
  display: block;
  margin: 12px 0 26px;
  color: var(--green-deep);
  font-weight: 900;
}

.evidence-grid p {
  margin: 0;
  font-size: 14px;
}

.roadmap {
  background: rgba(255, 255, 255, 0.62);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.timeline article {
  position: relative;
  min-height: 270px;
  padding: 30px;
}

.timeline article::before {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 26px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 0 0 8px rgba(21, 166, 107, 0.12);
}

.timeline p {
  font-size: 15px;
}

.markets {
  background:
    radial-gradient(circle at 16% 20%, rgba(21, 166, 107, 0.16), transparent 25rem),
    #eef8f2;
}

.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-grid article {
  min-height: 180px;
  padding: 28px;
}

.market-grid b {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 20px;
}

.market-grid p {
  margin: 0;
  font-size: 15px;
}

.cooperation {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  background: var(--paper);
}

.cooperation-copy {
  max-width: 650px;
}

.cooperation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cooperation-grid article {
  min-height: 230px;
  padding: 28px;
}

.cooperation-grid p {
  margin: 0;
  font-size: 15px;
}

.contact {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 44, 40, 0.94), rgba(7, 70, 55, 0.76)),
    radial-gradient(circle at 80% 30%, rgba(21, 166, 107, 0.18), transparent 28rem);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: center;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 92px);
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: #fff;
}

.contact p {
  max-width: 780px;
  opacity: 0.9;
}

.contact-card {
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}

.contact-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.contact-card b,
.contact-card span {
  display: block;
  color: var(--ink);
}

.contact-card b {
  margin-top: 16px;
  font-size: 16px;
}

.contact-card a,
.contact-card span {
  margin-top: 6px;
  font-size: 14px;
}

.contact-card a {
  color: var(--green);
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer .footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer .footer-left img {
  width: 138px;
}

.site-footer .footer-left p {
  margin: 0;
  font-size: 14px;
}

.site-footer .footer-left .gongan {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  transform: translateY(1px);
}

.site-footer .footer-left .gongan-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: inherit;
}

.site-footer .footer-left .gongan img {
  width: 14px;
  height: 14px;
  display: block;
}

.site-footer .footer-left .gongan a {
  color: inherit;
}

.site-footer .footer-left .sep {
  margin: 0 6px;
  color: var(--line);
}

.site-footer .footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .footer-right span {
  font-size: 13px;
  white-space: nowrap;
}

.site-footer .footer-right img {
  height: 28px;
  width: auto;
}

.site-footer .footer-right a {
  display: flex;
  align-items: center;
}

/* ============================================
   CONFIG PANEL (Particleify Style)
   ============================================ */
.config-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(251, 253, 248, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--green);
}

.config-toggle:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
}

.config-toggle svg {
  width: 24px;
  height: 24px;
}

.config-overlay {
  position: fixed;
  inset: 0;
  z-index: 51;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.config-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.config-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 320px;
  max-width: 100%;
  z-index: 52;
  background: rgba(27, 67, 47, 0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.config-panel.active {
  transform: translateX(0);
}

.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.config-header span {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.config-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.6);
}

.config-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.config-close svg {
  width: 20px;
  height: 20px;
}

.config-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-section {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.config-section small {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.config-section strong {
  display: block;
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.config-section span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 76px 0 0;
    background: rgba(251, 253, 248, 0.97);
    padding: 24px;
    gap: 0;
    z-index: 49;
    overflow-y: auto;
  }

  .nav.active a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .sidebar-nav {
    display: none;
  }

  .hero,
  .company-layout,
  .tech-hero,
  .product-showcase,
  .cooperation {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 460px;
    order: -1;
  }

  .evidence-grid,
  .timeline,
  .science-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics,
  .mission-grid,
  .market-grid,
  .cooperation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 56px;
    padding: 8px 16px;
  }

  .brand img {
    width: 100px;
  }

  .nav-cta {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 80px 16px 40px;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-stage {
    min-height: 240px;
    order: -1;
  }

  .hero-product {
    transform: none;
    width: 100%;
  }

  .hero-chip {
    position: static;
    margin-top: 8px;
    max-width: 200px;
    padding: 10px 14px;
  }

  .hero-chip b {
    font-size: 13px;
  }

  .hero-chip span {
    font-size: 11px;
  }

  .tech-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-hero figure {
    height: auto;
    overflow: hidden;
  }

  .tech-hero figure img {
    object-fit: contain;
    object-position: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .lead {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-metrics div {
    min-height: 80px;
    padding: 14px;
  }

  .hero-metrics dt {
    font-size: 24px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-heading {
    text-align: left;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .identity-card dl {
    gap: 0;
  }

  .identity-card div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
  }

  .mission-grid,
  .tech-points,
  .science-grid,
  .market-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tech-points article {
    min-height: auto;
    padding: 18px;
  }

  .tech-points b {
    font-size: 18px;
  }

  .science-card {
    grid-template-columns: 1fr;
  }

  .science-card figure {
    height: auto;
  }

  .science-card > div {
    padding: 18px;
  }

  .science-card b {
    font-size: 17px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-showcase figure {
    height: 180px;
    overflow: hidden;
  }

  .product-showcase figure img {
    object-fit: cover;
  }

  .product-list article {
    padding: 18px;
  }

  .evidence-grid,
  .timeline,
  .cooperation-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .evidence-grid article,
  .timeline article {
    min-height: auto;
    padding: 20px;
  }

  .cooperation {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cooperation-grid article {
    min-height: auto;
    padding: 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-card {
    max-width: 100%;
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calculator-qr {
    max-width: 200px;
    margin: 0 auto;
  }

  .calculator-features {
    grid-template-columns: 1fr;
  }

  .sidebar-nav {
    display: none;
  }
}

/* ============================================
   MOBILE STICKY SIDEBAR & PARALLAX
   ============================================ */
@media (max-width: 760px) {
  html {
    perspective: 1000px;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  /* Sidebar Navigation */
  .site-wrapper {
    display: flex;
    min-height: 100vh;
  }

  .sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 56px;
    height: 100vh;
    background: rgba(251, 253, 248, 0.97);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(22px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 6px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  .sidebar-nav.expanded {
    width: 200px;
  }

  .sidebar-nav.scrolled {
    box-shadow: 4px 0 24px rgba(27, 67, 47, 0.1);
  }

  .sidebar-nav .brand {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .sidebar-nav .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .sidebar-nav .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
  }

  .sidebar-nav .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s, width 0.2s;
  }

  .sidebar-nav .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .sidebar-nav .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .sidebar-nav .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .sidebar-nav .nav-links {
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
    width: 100%;
    padding: 0 8px;
  }

  .sidebar-nav.expanded .nav-links {
    display: flex;
  }

  .sidebar-nav .nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    text-align: left;
    color: var(--ink-2);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar-nav .nav-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
  }

  .sidebar-nav .nav-links a:hover::before {
    opacity: 1;
  }

  .sidebar-nav .nav-links a span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar-nav .nav-cta {
    margin-top: auto;
    width: 40px;
    height: 40px;
    min-height: auto;
    padding: 0;
    font-size: 10px;
    border-radius: 8px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .sidebar-nav.expanded .nav-cta {
    width: auto;
    padding: 0 16px;
    writing-mode: horizontal-tb;
  }

  .sidebar-nav.expanded .nav-toggle {
    align-items: flex-start;
    padding-left: 12px;
  }

  .sidebar-nav.expanded .brand {
    width: auto;
    padding-left: 10px;
  }

  .sidebar-nav.expanded .brand img {
    width: 36px;
  }

  /* Content area offset for sidebar */
  .content-wrapper {
    flex: 1;
    margin-left: 56px;
    width: calc(100% - 56px);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar-nav.expanded ~ .content-wrapper {
    margin-left: 200px;
    width: calc(100% - 200px);
  }

  /* Sticky header becomes sidebar, no longer fixed to top */
  .site-header[data-elevate] {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .site-header[data-elevate] .brand,
  .site-header[data-elevate] .nav,
  .site-header[data-elevate] .nav-cta {
    display: none;
  }

  .site-header[data-elevate] .nav-toggle {
    display: none;
  }

  /* ============================================
     PARALLAX SECTIONS
     ============================================ */
  .hero {
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .hero-copy {
    transform: translateZ(30px) scale(0.95);
    will-change: transform;
    backface-visibility: hidden;
  }

  .hero-stage {
    transform: translateZ(-20px) scale(1.1);
    will-change: transform;
    backface-visibility: hidden;
  }

  .hero-chip {
    transform: translateZ(10px);
  }

  .orbital-field {
    transform: translateZ(-50px) scale(1.2);
    will-change: transform;
    backface-visibility: hidden;
  }

  .section {
    transform-style: preserve-3d;
    position: relative;
  }

  .mission,
  .technology,
  .science,
  .products {
    transform-style: preserve-3d;
  }

  .mission-grid article,
  .tech-points article,
  .science-card,
  .market-grid article {
    transform: translateZ(20px);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .mission-grid article:hover,
  .tech-points article:hover,
  .science-card:hover,
  .market-grid article:hover {
    transform: translateZ(40px) scale(1.02);
  }

  .hero,
  .section {
    overflow: hidden;
  }
}

/* ============================================
   MOBILE FIXES - max-width: 768px
   ============================================ */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .site-wrapper {
    min-width: 0;
    max-width: 100vw;
  }

  .content-wrapper {
    overflow-x: hidden;
    max-width: 100vw;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .hero,
  .section {
    overflow: hidden;
    max-width: 100vw;
  }

  .hero-stage {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-product {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-product img,
  .hero-product canvas {
    max-width: 100%;
    height: auto;
  }

  .hero-stage figure {
    max-width: 100%;
    overflow: hidden;
  }

  .tech-hero figure,
  .science-card figure,
  .product-showcase figure {
    max-width: 100%;
    overflow: hidden;
  }

  .tech-hero figure img,
  .science-card figure img,
  .product-showcase figure img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 28px;
    word-wrap: break-word;
  }

  .hero-chip {
    max-width: 160px;
    overflow: hidden;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 14px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .product-list b {
    font-size: 16px;
  }

  .product-list p {
    font-size: 13px;
  }

  .company-layout,
  .cooperation-grid,
  .evidence-grid,
  .market-grid,
  .mission-grid,
  .science-grid,
  .tech-points,
  .timeline {
    max-width: 100%;
  }

  .timeline article {
    word-wrap: break-word;
  }

  .contact,
  .cooperation {
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    overflow: hidden;
  }

  .contact-content,
  .cooperation-grid {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .cooperation-grid {
    display: grid;
    gap: 14px;
  }

  .cooperation-grid article {
    min-width: 0;
    max-width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .cooperation-copy {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .cooperation-copy h2 {
    font-size: 20px;
    word-wrap: break-word;
  }

  .cooperation-copy p {
    font-size: 13px;
  }

  .contact h2 {
    font-size: 20px;
    word-wrap: break-word;
    max-width: 100%;
  }

  .contact p {
    font-size: 13px;
  }

  .contact-card {
    max-width: 100%;
    padding: 14px;
    overflow: hidden;
  }

  .cooperation-grid article {
    padding: 14px;
  }

  .cooperation-grid article h3 {
    font-size: 15px;
  }

  .cooperation-grid article p {
    font-size: 12px;
  }

  .site-footer {
    max-width: 100vw;
    padding: 16px;
  }

  .site-footer p {
    font-size: 11px;
    word-wrap: break-word;
  }

  .footer-links,
  .footer-cta {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .site-footer p {
    font-size: 12px;
    word-wrap: break-word;
  }

  .orbital-field,
  .waterfall-canvas {
    display: none;
  }

  .sidebar-nav {
    display: none !important;
  }

  .content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

/* ============================================
   FINAL RESPONSIVE REFINEMENT
   Keeps the desktop visual system while making
   phones and tablets read as a single-column page.
   ============================================ */
@media (max-width: 1120px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 68px;
    gap: 16px;
  }

  .nav.active {
    max-height: calc(100dvh - 68px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(92px, 12vw, 128px);
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-stage {
    order: -1;
    width: min(760px, 100%);
    min-height: clamp(360px, 64vw, 560px);
    margin-inline: auto;
  }

  .mission-grid,
  .market-grid,
  .evidence-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-showcase,
  .calculator-layout,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    gap: 28px;
  }

  .contact-card {
    width: min(360px, 100%);
  }
}

@media (max-width: 768px) {
  *,
  body * {
    cursor: auto !important;
  }

  html {
    word-break: normal;
    overflow-wrap: anywhere;
    perspective: none !important;
  }

  body {
    background:
      radial-gradient(circle at 8% 0%, rgba(64, 217, 151, 0.16), transparent 18rem),
      radial-gradient(circle at 92% 4%, rgba(53, 193, 190, 0.12), transparent 18rem),
      var(--paper);
  }

  body::before {
    background-size: 42px 42px;
  }

  .particle-canvas,
  .spray-cursor,
  .sidebar-nav,
  .waterfall-canvas {
    display: none !important;
  }

  .content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-header[data-elevate],
  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    min-height: 58px;
    padding: 8px 14px;
    background: rgba(251, 253, 248, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(8, 59, 50, 0.08);
    backdrop-filter: blur(18px);
  }

  .site-header[data-elevate] .brand,
  .site-header[data-elevate] .nav-cta,
  .site-header[data-elevate] .nav-toggle {
    display: inline-flex;
  }

  .brand img {
    width: clamp(96px, 28vw, 122px);
  }

  .site-header .nav-cta {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .site-header .nav-toggle {
    display: flex;
    flex: 0 0 40px;
  }

  .nav.active {
    inset: 58px 0 0;
    max-height: calc(100dvh - 58px);
    padding: 10px 18px 24px;
    box-shadow: 0 22px 46px rgba(8, 59, 50, 0.12);
  }

  .nav.active a {
    padding: 14px 0;
    font-size: 16px;
  }

  .hero {
    gap: 22px;
    padding: 76px clamp(16px, 5vw, 24px) 48px;
    overflow: hidden;
  }

  .hero-content,
  .hero-text,
  .lead {
    max-width: 100%;
  }

  .hero-text .eyebrow,
  .eyebrow,
  .section-kicker {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.08;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  h3 {
    font-size: 19px;
  }

  p,
  .lead {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-cta {
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 18px;
    white-space: normal;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stats .stat {
    padding: 14px 16px;
  }

  .hero-stats .stat strong {
    font-size: 24px;
  }

  .hero-stage {
    display: grid;
    width: 100%;
    min-height: clamp(300px, 82vw, 430px);
    padding: 18px 0 8px;
    transform: none !important;
    perspective: none !important;
  }

  .hero-product {
    width: min(94vw, 440px);
    transform: none !important;
  }

  .hero-product img {
    object-fit: contain;
  }

  .orbital-field {
    display: block;
    width: min(92vw, 420px);
    opacity: 0.62;
    transform: none !important;
  }

  .hero-chip {
    position: absolute;
    max-width: min(42vw, 176px);
    padding: 10px 12px;
    margin: 0;
    transform: none !important;
  }

  .hero-chip b {
    font-size: 12px;
    line-height: 1.25;
  }

  .hero-chip span {
    font-size: 10px;
    line-height: 1.35;
  }

  .chip-a {
    top: 8px;
    left: 0;
  }

  .chip-b {
    right: 0;
    bottom: 0;
  }

  .section {
    padding: 54px clamp(16px, 5vw, 24px);
    transform: none !important;
  }

  .section-heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .company-layout,
  .mission-grid,
  .tech-hero,
  .tech-points,
  .science-grid,
  .product-showcase,
  .calculator-layout,
  .calculator-features,
  .evidence-grid,
  .timeline,
  .market-grid,
  .cooperation,
  .cooperation-grid,
  .contact-content {
    grid-template-columns: 1fr !important;
  }

  .mission-grid,
  .tech-points,
  .science-grid,
  .product-list,
  .calculator-features,
  .evidence-grid,
  .timeline,
  .market-grid,
  .cooperation-grid {
    gap: 14px;
  }

  .identity-card div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px;
  }

  .mission-grid article,
  .tech-points article,
  .product-list article,
  .evidence-grid article,
  .timeline article,
  .market-grid article,
  .cooperation-grid article,
  .calculator-features article,
  .contact-card {
    min-height: auto;
    padding: 20px;
    transform: none !important;
  }

  .tech-points article:first-child {
    grid-column: auto;
  }

  .tech-hero figure,
  .product-showcase figure {
    border-radius: 12px;
  }

  .tech-hero figure img {
    max-height: none;
  }

  .science-card {
    grid-template-columns: 1fr !important;
    min-height: auto;
    transform: none !important;
  }

  .science-card figure {
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    display: block;
    background: rgba(255, 255, 255, 0.82);
  }

  .science-card figure img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.82);
  }

  .science-card > div {
    padding: 18px;
  }

  .product-showcase figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .calculator-qr {
    justify-self: center;
    width: min(220px, 62vw);
  }

  .evidence-grid article.evidence-with-img {
    align-items: center;
    padding: 16px;
  }

  .evidence-grid article.evidence-with-img .evidence-img {
    width: min(116px, 34vw);
  }

  .evidence-grid small {
    margin-bottom: 18px;
  }

  .evidence-grid strong {
    font-size: clamp(27px, 9vw, 36px);
  }

  .timeline article::before {
    margin-bottom: 18px;
  }

  .contact-content {
    padding: 56px clamp(16px, 5vw, 24px);
  }

  .contact-card {
    width: 100%;
    text-align: left;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px clamp(16px, 5vw, 24px);
  }
}

@media (max-width: 480px) {
  .site-header .nav-cta {
    display: none !important;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-stage {
    min-height: clamp(280px, 88vw, 380px);
  }

  .hero-chip {
    max-width: 46vw;
  }

  .hero-stats .stat,
  .mission-grid article,
  .tech-points article,
  .product-list article,
  .evidence-grid article,
  .timeline article,
  .market-grid article,
  .cooperation-grid article,
  .calculator-features article {
    padding: 18px;
  }

  .science-card {
    grid-template-columns: 1fr !important;
  }

  .science-card figure {
    aspect-ratio: auto;
    display: block;
    background: rgba(255, 255, 255, 0.82);
  }

  .evidence-grid article.evidence-with-img {
    align-items: flex-start;
  }
}

/* TOP product image scale tuning */
.hero-stage .hero-product {
  width: min(900px, 118%);
  max-width: none;
}

.hero-stage .hero-product canvas {
  height: 100% !important;
}

@media (max-width: 1120px) {
  .hero-stage .hero-product {
    width: min(820px, 108%);
  }
}

@media (max-width: 768px) {
  .hero-stage .hero-product {
    width: min(96vw, 500px);
    max-width: 100%;
  }
}

/* ============================================
   HERO CANVAS / DECORATIVE OVERLAYS
   (moved out of inline <style> in index.html)
   ============================================ */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.55;
}

.spray-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.spray-cursor.active {
  display: block;
}

.waterfall-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.config-toggle:focus-visible {
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

/* ============================================
   POINTER: FINE — desktop cursor effects
   ============================================ */
@media (pointer: fine) {
  .nav a:hover::after {
    transform: scaleX(1);
  }
}

@media (pointer: coarse) {
  .spray-cursor {
    display: none !important;
  }
}

/* ============================================
   PREFERS-REDUCED-MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html {
    perspective: none !important;
  }

  .hero,
  .section,
  .mission,
  .technology,
  .science,
  .products {
    transform: none !important;
    transform-style: flat !important;
  }

  .particle-canvas,
  .spray-cursor,
  .orbital-field,
  .waterfall-canvas {
    display: none !important;
  }

  .hero-product .product-particles {
    display: none !important;
  }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header,
  .sidebar-nav,
  .nav-toggle,
  .config-toggle,
  .config-overlay,
  .config-panel,
  .particle-canvas,
  .spray-cursor,
  .orbital-field,
  .hero-chip,
  .hero-cta,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .section,
  .hero,
  .contact {
    padding: 16px 0;
    page-break-inside: avoid;
  }
}
