:root {
  color-scheme: dark;
  --base: #100b22;
  --panel: #19122d;
  --text: #faf7ff;
  --muted: #bdb2d0;
  --lavender: #d3baff;
  --line: #b999ff2c;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--base);
  color: var(--text);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #e4ceff; outline-offset: 5px; }
::selection { background: #dac4ff; color: #160c29; }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: #fff;
  color: #190d2e;
  border-radius: 6px;
}
.skip:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header { position: relative; z-index: 1; background: #130e24; border-bottom: 1px solid var(--line); }
.header-inner, .brand, nav { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 80px; gap: 18px; }
.brand { gap: 11px; flex: 0 0 auto; }
.brand img { border-radius: 12px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .09em; }
.brand small { margin-top: 3px; font-size: 10px; color: var(--muted); letter-spacing: .07em; }
nav { gap: clamp(20px, 3.1vw, 46px); color: #e4dcef; font-size: 14px; }
nav a { padding-block: 12px; }
nav a:hover, .footer a:hover { color: var(--lavender); }
.nav-contact { padding: 10px 17px; border: 1px solid var(--line); border-radius: 99px; }
.nav-contact span { margin-left: 3px; color: var(--lavender); }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 44%, #522e88 0%, #2e1c53 29%, transparent 63%),
    linear-gradient(135deg, #181028 6%, #1e1236 55%, #171027);
}
.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .65;
  background-image: url("assets/starfield.png");
  background-size: 840px 552px;
  mask-image: linear-gradient(90deg, #0005, #000 48%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  min-height: clamp(500px, 42vw, 615px);
  padding-block: 56px;
}
.hero-copy { z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--lavender);
}
.spark { color: #d4aeff; font-size: 16px; line-height: 1; }
.hero-label { margin-bottom: 25px; font-size: 14px; }
h1 { font-size: clamp(48px, 5.7vw, 82px); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; }
h1 span { display: block; }
h1 span + span { margin-top: 8px; color: #dbc2ff; }
.hero-description {
  max-width: 530px;
  margin: 25px 0 27px;
  color: #e0d3ed;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: fit-content;
  min-height: 47px;
  padding: 10px 19px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 14px;
  transition: background-color .18s ease, color .18s ease;
}
.button-primary { min-height: 53px; padding: 12px 24px; background: #ddc5ff; color: #211239; font-size: 16px; }
.button-primary:hover { background: #f0e2ff; }
.button [aria-hidden="true"] { font-size: 17px; }

.flight { position: relative; display: grid; place-items: center; aspect-ratio: 1.16; }
.flight img {
  position: relative;
  width: min(78%, 466px);
  transform: translate(1%, -4%);
  filter: drop-shadow(0 18px 32px #13062d90) drop-shadow(0 0 28px #9973ff42);
}
.flight-glow {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b778ff2f, #9358ee15 46%, transparent 68%);
}
.orbit {
  position: absolute;
  width: 106%;
  height: 62%;
  transform: rotate(-26deg);
  border: 1px solid #e5c7ff3b;
  border-radius: 50%;
}
.orbit-inner { width: 92%; height: 51%; border-color: #e5c7ff26; }
.flight-star { position: absolute; color: #dfbfff; }
.star-a { top: 18%; left: 8%; font-size: 18px; }
.star-b { bottom: 15%; right: 11%; font-size: 12px; color: #f4db9d; }
.star-c { bottom: 17%; left: 15%; font-size: 27px; }

section[id] { scroll-margin-top: 26px; }
.work { padding-block: 75px 96px; }
.section-header { margin-bottom: 28px; }
h2 { margin-top: 10px; font-size: clamp(31px, 3.8vw, 52px); line-height: 1.2; letter-spacing: -.04em; }
.contact-panel p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  --art: #30205a;
  --halo: #a788ff5c;
  --accent: #dfc8ff;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  transition: border-color .2s ease;
}
.habitry { --art: #143d37; --halo: #85ef9938; --accent: #bcebb4; }
.moory { --art: #15384c; --halo: #6ad8f245; --accent: #aff0ee; }
.product:hover, .product:focus-within { border-color: var(--accent); }
.product-link { display: flex; height: 100%; flex-direction: column; border-radius: inherit; }
.product-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(152px, 17vw, 216px);
  border-radius: 16px 16px 0 0;
  background: radial-gradient(ellipse at 55% 51%, var(--halo), transparent 65%), var(--art);
}
.product-visual::before, .product-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 105%;
  height: 56%;
  border: 1px solid #fff2;
  border-radius: 50%;
  transform: rotate(-22deg);
}
.product-visual::after { width: 87%; height: 44%; border-color: #fff1; }
.product-visual img {
  width: clamp(90px, 10.4vw, 146px);
  height: clamp(90px, 10.4vw, 146px);
  object-fit: contain;
  filter: drop-shadow(0 12px 20px #05031a58);
  transition: transform .24s ease;
}
.product-link:hover img { transform: translateY(-4px); }
.product-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 9px;
  border: 1px solid #fff3;
  border-radius: 99px;
  background: #100b224f;
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
}
.product-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.product-body h3 { font-size: clamp(19px, 2vw, 26px); line-height: 1.3; }
.product-body h3 span { margin-left: 3px; color: #e2d7ef; font-size: .78em; font-weight: 550; }
.product-line { margin-top: 11px; color: var(--accent); font-size: 14px; font-weight: 600; }
.product-description { margin: 10px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; }
.product-action [aria-hidden="true"] { color: var(--accent); font-size: 17px; }

.about {
  padding-block: 76px 83px;
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 86% 18%, #2e1b50, transparent 60%), #151025;
}
.about-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 55px; }
.prose { color: var(--muted); font-size: 15px; line-height: 1.85; }
.prose p + p { margin-top: 10px; }
.prose strong, .prose h2, .prose h4 { color: var(--text); }
.about-main .prose { max-width: 690px; }
.about-lead { margin-top: 22px; }
.about-mark { width: clamp(128px, 17vw, 192px); filter: drop-shadow(0 15px 24px #07041170); }
.about-section { margin-top: 50px; padding-top: 29px; border-top: 1px solid var(--line); }
.about-section h3 { font-size: clamp(25px, 3vw, 34px); line-height: 1.25; letter-spacing: -.025em; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 21px; }
.about-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #1d1531; }
.values h4, .philosophy h4 { margin-bottom: 10px; font-size: 18px; }
.values h4 span { margin-left: 4px; color: var(--lavender); font-size: 12px; }
.philosophy { margin-top: 21px; }
.philosophy-statement { color: var(--lavender); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; }
.philosophy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }


.contact { padding-block: 66px; }
.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: clamp(25px, 4.6vw, 55px);
  border: 1px solid #b999ff4b;
  border-radius: 18px;
  background: radial-gradient(ellipse at 91% 30%, #392359, transparent 74%), #1e1533;
}
.contact-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin: 10px 0 12px; }
.contact-heading h2 { margin: 0; }
.contact-name { color: var(--lavender); font-size: clamp(15px, 1.8vw, 22px); font-weight: 550; white-space: nowrap; }
.contact-divider { margin-inline-end: 10px; color: var(--muted); }
.contact-details { display: grid; gap: 9px; width: min(100%, 310px); min-width: 0; margin: 0; padding: 0; list-style: none; }
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #dcc1ff64;
  border-radius: 8px;
  background: #fff1;
  font-size: 14px;
  line-height: 1.5;
}
.contact-label { font-weight: 650; white-space: nowrap; }
.contact-value { color: #e6d7f4; text-align: right; overflow-wrap: anywhere; }
.contact-id { display: block; color: var(--muted); font-size: 12px; }
a.contact-row:hover { background: #ffffff25; border-color: var(--lavender); }
.footer { display: flex; justify-content: space-between; align-items: start; gap: 22px; padding-block: 23px 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-company { margin-left: 12px; }
.footer a { white-space: nowrap; }
.footer-company a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 950px) {
  .wrap { width: min(100% - 64px, 1200px); }
  .product-grid { gap: 13px; }
  .product-body { padding: 17px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; border-radius: 9px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; letter-spacing: 0; }
  nav { gap: 12px; font-size: 13px; }
  .nav-contact { padding: 8px 9px; }
  .nav-contact span { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 44px 10px; }
  .hero-label { margin-bottom: 18px; }
  h1 { font-size: clamp(47px, 11vw, 67px); }
  .hero-description { margin: 19px 0 22px; }
  .hero-ambient { background: radial-gradient(ellipse at 52% 77%, #482777, transparent 62%), #1b122e; }
  .flight { width: min(100%, 415px); justify-self: center; }
  .flight img { width: 70%; }
  .work, .about, .contact { padding-block: 49px; }
  .section-header { margin-bottom: 19px; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-visual { height: 184px; }
  .product-visual img { width: 121px; height: 121px; }
  .product-body { padding: 20px; }
  .about-main { grid-template-columns: 1fr; gap: 20px; }
  .about-mark { width: 112px; }
  .about-section { margin-top: 32px; padding-top: 22px; }
  .values { grid-template-columns: 1fr; gap: 15px; }
  .about-card { padding: 17px; }
  .contact-panel { flex-direction: column; align-items: start; gap: 18px; }
  .contact-details { width: 100%; }
  .footer-company { display: block; margin-left: 0; }
}
@media (max-width: 520px) {
  .philosophy-grid { gap: 12px; }
  .philosophy-grid p span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
