:root {
  color-scheme: dark;
  --background: #010507;
  --white: #f3f9fc;
  --cyan: #9be6fa;
  --gutter: 5vw;
  --footer-height: 14.3svh;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { height: 100svh; background: var(--background); color: var(--white); isolation: isolate; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 7px; }
[hidden] { display: none !important; }
p, h1, h2 { margin: 0; }
/* Text-free edit of the approved first design; all UI remains real HTML. */
.artwork { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.knot-image { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; transform-origin: 74% 45%; animation: breathe 14s ease-in-out infinite; }
#light-particles { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.site-header { position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 9.5svh; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.brand { display: inline-flex; gap: clamp(12px, 1.5vw, 24px); align-items: center; }
.brand > img { width: clamp(42px, 4vw, 75px); height: auto; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.brand-copy strong { font-size: clamp(16px, 1.4vw, 28px); font-weight: 700; letter-spacing: .16em; line-height: 1.25; }
.brand-copy small { font-family: Arial, sans-serif; font-size: clamp(8px, .68vw, 13px); letter-spacing: .46em; color: #dae3e8; }
.site-nav { display: flex; gap: clamp(34px, 5.3vw, 94px); font-size: clamp(14px, 1.1vw, 22px); letter-spacing: .08em; }
.nav-link { padding: 11px 6px 14px; position: relative; color: #b8c4cd; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--cyan); }
.nav-link.is-active::after { content: ""; position: absolute; bottom: 3px; left: -6px; right: -6px; height: 2px; background: var(--cyan); }
main { height: calc(100% - var(--footer-height)); }
.page { height: 100%; padding-inline: var(--gutter); display: flex; align-items: center; }
.hero-content { padding-top: 4.8svh; position: relative; }
.eyebrow { font-family: Arial, sans-serif; color: #a1b1be; letter-spacing: .47em; font-size: clamp(10px, .88vw, 18px); line-height: 1.5; margin-bottom: 2.7svh; white-space: nowrap; }
h1 { font-size: clamp(48px, min(6.65vw, 10.7svh), 160px); font-weight: 800; letter-spacing: .005em; line-height: 1.14; text-shadow: 0 0 20px #83d7ff0d; }
h1 span { display: block; }
.hero-subtitle { margin-top: 3.2svh; color: #d2e1e7; font-size: clamp(14px, 1.5vw, 28px); line-height: 1.6; letter-spacing: .095em; }
.outline-button { margin-top: 4.5svh; display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-width: clamp(164px, 13.3vw, 250px); min-height: clamp(44px, 5.65svh, 68px); padding: 10px 24px; border: 1px solid var(--cyan); border-radius: 99px; font-size: clamp(14px, 1.13vw, 22px); letter-spacing: .12em; background: #01050759; transition: background .2s, box-shadow .2s; }
.outline-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.outline-button:hover { background: #9be6fa15; box-shadow: 0 0 24px #9be6fa1a; }
.site-footer { position: absolute; bottom: 0; left: 0; right: 0; height: var(--footer-height); padding: 0 var(--gutter); border-top: 1px solid #b7d7eb26; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(90deg, #00040680, #01050708); }
.company-info { font-size: clamp(11px, .95vw, 18px); line-height: 1.6; color: #8495a1; }
.footer-wordmark { font-family: Arial, sans-serif; font-size: clamp(11px, .85vw, 16px); letter-spacing: .28em; color: #9cabb4; white-space: nowrap; }
.products-page h2 { font-size: clamp(44px, min(5.8vw, 9svh), 110px); line-height: 1.25; font-weight: 700; }
.product-content { padding-top: 5svh; }
.product-description { font-size: clamp(14px, 1.35vw, 24px); margin-top: 3svh; color: #b7c8d1; }
body[data-page="products"] .knot-image { opacity: .6; }
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.015); filter: brightness(1.06); } }
@media (max-aspect-ratio: 7/5) and (min-width: 701px) {
  .knot-image { right: -15%; }
  .hero-content { background: radial-gradient(ellipse at left, #01050799, transparent 75%); }
  h1 { font-size: 7.5vw; }
}
@media (max-width: 700px) {
  :root { --gutter: 6vw; --footer-height: 132px; }
  .site-header { height: 80px; }
  .brand { gap: 10px; }
  .brand > img { width: 40px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 8px; letter-spacing: .3em; }
  .site-nav { gap: 22px; font-size: 14px; }
  .nav-link { padding-inline: 0; }
  .knot-image { width: auto; height: 65%; top: 25%; right: -8%; opacity: .8; }
  .artwork::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #010507 8%, #01050788 32%, transparent 64%, #01050766); }
  .page { align-items: flex-start; padding-top: max(105px, 17svh); }
  .hero-content, .product-content { padding-top: 0; }
  .eyebrow { font-size: 9px; letter-spacing: .29em; margin-bottom: 17px; }
  h1 { font-size: clamp(43px, min(12vw, 8.5svh), 72px); line-height: 1.15; }
  .hero-subtitle { font-size: clamp(11px, 3.25vw, 18px); margin-top: 20px; letter-spacing: .02em; }
  .outline-button { margin-top: 24px; min-height: 42px; min-width: 150px; font-size: 13px; }
  .site-footer { gap: 12px; }
  .company-info { font-size: 10px; line-height: 1.8; }
  .footer-wordmark { display: none; }
  .products-page h2 { font-size: 44px; }
}
@media (max-height: 570px) {
  :root { --footer-height: 92px; }
  .site-header { height: 64px; }
  .page { align-items: center; padding-top: 50px; }
  .hero-content { padding-top: 0; }
  .eyebrow { font-size: 9px; margin-bottom: 10px; }
  h1 { font-size: min(6.65vw, 10svh); }
  .hero-subtitle { font-size: 12px; margin-top: 12px; }
  .outline-button { margin-top: 14px; min-height: 36px; padding-block: 7px; font-size: 12px; }
  .company-info { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .knot-image { animation: none; } a { transition: none !important; } }
