/* =========================================================
   真实魔法 REALMAGIC — 全站样式
   ========================================================= */

:root {
  --ink: #0a0913;
  --ink-2: #14121f;
  --text: #14121d;
  --muted: #5f5c6e;
  --muted-2: #8b8798;
  --line: #e6e3ee;
  --soft: #f6f5fa;
  --tint: #f0edfb;
  --brand: #4b36e8;
  --brand-2: #7b5cff;
  --mint: #5ce3cf;
  --pink: #ff77d9;
  --white: #ffffff;
  --header-h: 80px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 90px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

/* ---------- Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 1160px;
}

.section {
  padding-block: clamp(72px, 8.5vw, 132px);
}

.section--soft {
  background: var(--soft);
}

.section--tint {
  background: var(--tint);
}

.section--tight {
  padding-top: clamp(40px, 5vw, 64px);
}

.section-note {
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.lead--sm {
  margin-top: 20px;
  font-size: 15.5px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--brand {
  color: var(--brand);
}

.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 18, 29, 0.35);
  transition: color 0.3s, border-color 0.3s;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.3s;
}

.skip-link:focus {
  transform: none;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--text);
  transition: background 0.45s var(--ease), color 0.35s,
    border-color 0.45s, box-shadow 0.45s;
  border-bottom: 1px solid transparent;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -24px rgba(15, 10, 40, 0.35);
}

.home .site-header:not(.is-scrolled) {
  color: #fff;
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 24px;
  height: 24px;
  color: var(--brand);
  transition: color 0.35s;
}

.home .site-header:not(.is-scrolled) .logo-mark {
  color: #fff;
}

.home .site-header:not(.is-scrolled) .logo-text {
  color: #fff;
}

.logo-text {
  transition: color 0.35s;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-item {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 6px;
  color: inherit;
  opacity: 0.92;
  transition: background 0.25s, opacity 0.25s;
}

.nav-link:hover {
  opacity: 1;
  background: rgba(20, 18, 29, 0.05);
}

.home .site-header:not(.is-scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-link .chev {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.nav-item:hover .nav-link .chev {
  transform: rotate(180deg);
}

/* Mega menu */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--text);
  border-top: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(15, 10, 40, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease),
    visibility 0.3s;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mega-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.mega-intro h3 {
  margin: 16px 0 22px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 28px;
  align-content: start;
}

.mega-links a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.25s, transform 0.3s var(--ease);
}

.mega-links a:hover {
  background: var(--soft);
  transform: translateX(3px);
}

.mega-links span {
  font-size: 15px;
  font-weight: 600;
}

.mega-links small {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  padding: 8px 4px;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn svg {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 140px;
  padding: 8px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(15, 10, 40, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.lang:hover .lang-menu,
.lang:focus-within .lang-menu,
.lang.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: 6px;
  color: var(--muted);
}

.lang-menu a:hover {
  background: var(--soft);
  color: var(--text);
}

.lang-menu .is-current {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 600;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 50%;
  transition: background 0.25s;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s;
}

.menu-btn:hover {
  background: rgba(20, 18, 29, 0.06);
}

.home .site-header:not(.is-scrolled) .menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  transform: none;
}

.mm-head {
  flex-shrink: 0;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mm-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.25s;
}

.mm-close:hover {
  background: var(--soft);
}

.mm-close svg {
  width: 18px;
  height: 18px;
}

.mm-body {
  flex: 1;
  padding: 16px var(--gutter) 40px;
}

.mm-group {
  border-bottom: 1px solid var(--line);
}

.mm-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.mm-toggle .plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mm-toggle .plus::before,
.mm-toggle .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}

.mm-toggle .plus::after {
  transform: rotate(90deg);
}

.mm-group.is-open .plus::after {
  transform: rotate(0deg);
}

.mm-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.mm-group.is-open .mm-panel {
  max-height: 420px;
}

.mm-panel a {
  display: block;
  padding: 11px 0 11px 14px;
  font-size: 15.5px;
  color: var(--muted);
}

.mm-panel a:hover {
  color: var(--brand);
}

.mm-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0;
  font-size: 21px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mm-foot {
  flex-shrink: 0;
  padding: 28px var(--gutter) 40px;
  background: var(--soft);
}

.mm-foot a {
  font-size: 15px;
  color: var(--muted);
}

.mm-lang {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-2);
}

.mm-lang a {
  font-size: 13px;
  color: var(--muted-2);
}

.mm-lang a:hover {
  color: var(--brand);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: #1a1236;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s,
    background 0.3s, color 0.3s;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(15, 10, 40, 0.45);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn--line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #07060d;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.08);
  animation: heroZoom 16s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(6, 5, 12, 0.9) 0%,
      rgba(6, 5, 12, 0.62) 38%,
      rgba(6, 5, 12, 0.16) 72%,
      rgba(6, 5, 12, 0.32) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6, 5, 12, 0.92) 0%,
      rgba(6, 5, 12, 0.28) 42%,
      rgba(6, 5, 12, 0.05) 70%
    );
}

.hero-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(72px, 10vh, 104px);
}

.hero-mark {
  width: clamp(48px, 5vw, 68px);
  height: clamp(48px, 5vw, 68px);
  margin-bottom: clamp(24px, 4vh, 44px);
  color: #fff;
  opacity: 0;
  animation: fadeIn 1.2s 0.15s var(--ease) forwards;
}

.hero-mark .orbit {
  transform-origin: 50% 50%;
  animation: spin 30s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-size: clamp(54px, 9.4vw, 142px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.15s 0.25s var(--ease) forwards;
}

.hero-title .line:nth-child(2) .line-inner {
  animation-delay: 0.38s;
}

.hero-title .accent {
  background: linear-gradient(100deg, #fff 8%, #d7cbff 52%, #8df0e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(28px, 4vh, 44px);
  opacity: 0;
  animation: fadeIn 1.2s 0.75s var(--ease) forwards;
}

.hero-sub {
  max-width: 520px;
  font-size: clamp(14.5px, 1.15vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.76);
}

.hero-sub strong {
  color: #fff;
  font-weight: 600;
}

.hero-arrow {
  position: relative;
  flex-shrink: 0;
  width: clamp(64px, 6vw, 88px);
  height: clamp(64px, 6vw, 88px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s, transform 0.4s var(--ease),
    border-color 0.4s;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease);
}

.hero-arrow:hover {
  background: #fff;
  border-color: #fff;
  color: #120c2a;
  transform: translateY(-4px);
}

.hero-arrow:hover svg {
  transform: translateY(3px);
}

.hero-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter) 22px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  opacity: 0;
  animation: fadeIn 1.4s 1s var(--ease) forwards;
}

.hero-meta .scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta .scroll-cue i {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-meta .scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: cue 2.6s 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* =========================================================
   Intro
   ========================================================= */
.intro {
  background: var(--tint);
  padding-block: clamp(64px, 8vw, 118px);
}

.intro-inner {
  max-width: 1200px;
}

.intro p {
  font-size: clamp(19px, 1.75vw, 26px);
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #1b1830;
}

.intro p + p {
  margin-top: 1.1em;
}

.intro strong {
  font-weight: 700;
}

.intro .text-link {
  margin-top: clamp(28px, 3vw, 40px);
}

/* =========================================================
   Product cards
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.55s var(--ease), box-shadow 0.55s,
    border-color 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 36px 70px -32px rgba(35, 20, 90, 0.35);
}

.pc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0913;
}

.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.product-card:hover .pc-media img {
  transform: scale(1.05);
}

.pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 5, 12, 0.14), transparent 45%);
  pointer-events: none;
}

.pc-index {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 26px;
}

.pc-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pc-title h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pc-title span {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.pc-desc {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}

.pc-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.product-card:hover .pc-link svg {
  transform: translateX(4px);
}

/* =========================================================
   Quote band
   ========================================================= */
.quote-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(96px, 13vw, 190px);
  isolation: isolate;
}

.quote-band::before {
  content: "";
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 1100px;
  max-height: 1100px;
  left: -26vw;
  top: -46vw;
  background: radial-gradient(
    circle,
    rgba(90, 54, 232, 0.55) 0%,
    rgba(90, 54, 232, 0) 62%
  );
  pointer-events: none;
  z-index: -1;
}

.quote-band::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 860px;
  max-height: 860px;
  right: -18vw;
  bottom: -38vw;
  background: radial-gradient(
    circle,
    rgba(0, 214, 200, 0.24) 0%,
    rgba(0, 214, 200, 0) 62%
  );
  pointer-events: none;
  z-index: -1;
}

.quote-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.quote-inner .spark {
  width: 26px;
  height: 26px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  color: rgba(255, 255, 255, 0.85);
}

.quote-text {
  font-size: clamp(30px, 4.5vw, 66px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.quote-text em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 0%, #c5b4ff 48%, #7ef0dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-by {
  margin-top: clamp(28px, 3.5vw, 44px);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   News cards
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0a18;
  isolation: isolate;
}

.news-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease);
}

.news-card:hover .news-thumb::before {
  transform: scale(1.05);
}

.news-thumb::after {
  content: attr(data-num);
  position: absolute;
  right: 16px;
  bottom: 4px;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
  letter-spacing: -0.05em;
}

.news-thumb.v1::before {
  background: radial-gradient(
      120% 120% at 18% 18%,
      #7c5cff 0%,
      rgba(124, 92, 255, 0) 56%
    ),
    radial-gradient(90% 90% at 88% 82%, #00d6c8 0%, rgba(0, 214, 200, 0) 52%),
    #0c0a18;
}

.news-thumb.v2::before {
  background: radial-gradient(
      110% 110% at 80% 15%,
      #ff77d9 0%,
      rgba(255, 119, 217, 0) 55%
    ),
    radial-gradient(100% 100% at 15% 85%, #4b36e8 0%, rgba(75, 54, 232, 0) 58%),
    #0b0a16;
}

.news-thumb.v3::before {
  background: radial-gradient(
      120% 120% at 50% 0%,
      #5ce3cf 0%,
      rgba(92, 227, 207, 0) 50%
    ),
    radial-gradient(90% 90% at 20% 90%, #4b36e8 0%, rgba(75, 54, 232, 0) 55%),
    #07110f;
}

.news-thumb.v4::before {
  background: radial-gradient(
      120% 120% at 25% 80%,
      #ffa16b 0%,
      rgba(255, 161, 107, 0) 55%
    ),
    radial-gradient(100% 100% at 85% 20%, #7b5cff 0%, rgba(123, 92, 255, 0) 52%),
    #120d14;
}

.news-thumb.v5::before {
  background: radial-gradient(
      110% 110% at 75% 75%,
      #3ad0ff 0%,
      rgba(58, 208, 255, 0) 55%
    ),
    radial-gradient(100% 100% at 20% 20%, #7c5cff 0%, rgba(124, 92, 255, 0) 55%),
    #080c18;
}

.news-thumb.v6::before {
  background: radial-gradient(
      120% 120% at 30% 20%,
      #ff77d9 0%,
      rgba(255, 119, 217, 0) 48%
    ),
    radial-gradient(90% 90% at 80% 85%, #5ce3cf 0%, rgba(92, 227, 207, 0) 50%),
    #0d0a12;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.news-meta .tag {
  color: var(--brand);
  font-weight: 600;
}

.news-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.news-content h3 {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.news-card:hover .news-content h3 {
  color: var(--brand);
}

.news-content p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #1c1046 0%, #3a25b4 42%, #6a4dff 100%);
  padding-block: clamp(80px, 10vw, 140px);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  right: -12vw;
  top: -22vw;
  background: radial-gradient(
    circle,
    rgba(92, 227, 207, 0.45) 0%,
    rgba(92, 227, 207, 0) 60%
  );
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  max-width: 620px;
  max-height: 620px;
  left: -10vw;
  bottom: -24vw;
  background: radial-gradient(
    circle,
    rgba(255, 119, 217, 0.28) 0%,
    rgba(255, 119, 217, 0) 62%
  );
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
}

.cta-inner h2 {
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 900px;
}

.cta-inner .eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.cta-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #f6f5fa;
  padding: clamp(56px, 7vw, 92px) 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo {
  font-size: 18px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 230px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 24px;
}

.footer-social a {
  font-size: 12px;
  color: var(--muted-2);
  transition: color 0.25s;
}

.footer-social a:hover {
  color: var(--brand);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.fc h4 {
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.fc a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s, transform 0.25s;
}

.fc a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a:hover {
  color: var(--text);
}

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 9vw, 128px)) 0
    clamp(52px, 6.5vw, 88px);
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 64vw;
  height: 64vw;
  max-width: 900px;
  max-height: 900px;
  right: -18vw;
  top: -32vw;
  background: radial-gradient(
    circle,
    rgba(123, 92, 255, 0.18) 0%,
    rgba(123, 92, 255, 0) 62%
  );
  pointer-events: none;
}

.page-hero--dark {
  background: var(--ink);
  color: #fff;
}

.page-hero--dark::before {
  background: radial-gradient(
    circle,
    rgba(0, 214, 200, 0.22) 0%,
    rgba(0, 214, 200, 0) 62%
  );
}

.page-hero--dark .page-lead {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero--dark .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero h1 {
  max-width: 1060px;
  margin: 22px 0 26px;
  font-size: clamp(42px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.page-hero .page-lead {
  max-width: 780px;
  font-size: clamp(16.5px, 1.5vw, 21px);
  line-height: 1.85;
  color: var(--muted);
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.page-hero .hero-actions .btn--line {
  background: #fff;
}

/* Sticky subnav */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.subnav .shell {
  display: flex;
  align-items: center;
  gap: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav .shell::-webkit-scrollbar {
  display: none;
}

.subnav a {
  position: relative;
  flex-shrink: 0;
  padding: 18px 0;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}

.subnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.subnav a:hover,
.subnav a.is-active {
  color: var(--text);
}

.subnav a.is-active::after {
  transform: scaleX(1);
}

/* =========================================================
   About page
   ========================================================= */
.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.statement-grid h2 {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.statement-copy p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.statement-copy p + p {
  margin-top: 18px;
}

.stats-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  background: linear-gradient(120deg, var(--text) 30%, var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.values {
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  grid-template-columns: 72px 1fr 1.15fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3vw, 38px) clamp(0px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.4s;
}

.value-row:hover {
  background: var(--soft);
  padding-left: clamp(16px, 3vw, 36px);
}

.value-row .num {
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.value-row h3 {
  font-size: clamp(21px, 2.3vw, 31px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.value-row p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.story-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0913;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.story-media:hover img {
  transform: scale(1.04);
}

.story-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(29px, 3.5vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.story-copy p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
}

.story-copy p + p {
  margin-top: 16px;
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.signature::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--line);
}

.timeline {
  border-top: 1px solid var(--line);
}

.tl-row {
  display: grid;
  grid-template-columns: 130px 1fr 1.15fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 32px) clamp(0px, 1.5vw, 18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}

.tl-row:hover {
  background: var(--soft);
}

.tl-year {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.tl-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
}

.tl-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.loc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 168px;
  padding: 26px 22px;
  background: #fff;
  transition: background 0.3s;
}

.loc:hover {
  background: var(--soft);
}

.loc h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.loc .en {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.loc p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.loc .tz {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

/* =========================================================
   Products page
   ========================================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.product-detail.is-flipped .pd-media {
  order: 2;
}

.pd-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0913;
}

.pd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.pd-media:hover img {
  transform: scale(1.04);
}

.pd-index {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brand);
}

.pd-en {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pd-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.pd-lead {
  margin: 22px 0 26px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #39364a;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--brand), var(--mint));
  transform: rotate(45deg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.tech-card {
  padding-top: 22px;
  border-top: 2px solid var(--text);
}

.tech-card .idx {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.tech-card h3 {
  margin: 16px 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tech-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* =========================================================
   Commitments page
   ========================================================= */
.commit-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(52px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.commit-block--flush {
  padding-block: 0;
  border-bottom: 0;
}

.commit-intro h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.commit-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillar {
  padding: 26px 22px;
  background: var(--soft);
  border-radius: 12px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.35s, transform 0.45s var(--ease);
}

.pillar:hover {
  background: var(--tint);
  transform: translateY(-4px);
}

.pillar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--mint));
}

.pillar h3 {
  font-size: 17.5px;
  font-weight: 600;
}

.pillar p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.policy-list {
  border-top: 1px solid var(--line);
}

.policy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s, background 0.35s;
}

.policy-item:hover {
  padding-left: 16px;
  background: var(--soft);
}

.policy-item .p-name {
  font-size: 16.5px;
  font-weight: 500;
}

.policy-item .p-meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-2);
}

.policy-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.35s;
}

.policy-item:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   Newsroom page
   ========================================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-btn:hover {
  border-color: #c9c4d8;
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: clamp(36px, 4.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.5s, transform 0.5s var(--ease);
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px -36px rgba(35, 20, 90, 0.35);
}

.nf-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #0a0913;
}

.nf-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.news-featured:hover .nf-media img {
  transform: scale(1.04);
}

.nf-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 9, 19, 0.1), rgba(10, 9, 19, 0.5));
}

.nf-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.nf-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 44px);
}

.nf-body h2 {
  margin-top: 16px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.nf-body p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.nf-date {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 34px);
}

.news-list-grid .news-card.is-hidden {
  display: none;
}

.empty-note {
  display: none;
  padding: 40px 0;
  font-size: 14.5px;
  color: var(--muted);
}

.empty-note.is-visible {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.contact-grid h2 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.contact-item span {
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item a {
  font-weight: 500;
  transition: color 0.25s;
}

.contact-item a:hover {
  color: var(--brand);
}

/* =========================================================
   Careers page
   ========================================================= */
.career-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 108px)) 0
    clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 100%);
}

.career-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.career-hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(40px, 5.8vw, 80px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.career-hero .lead {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
}

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

.career-hero-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}

.career-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.perk {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.45s var(--ease),
    box-shadow 0.4s;
}

.perk:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -34px rgba(35, 20, 90, 0.3);
}

.perk .glyph {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.perk h3 {
  font-size: 17px;
  font-weight: 600;
}

.perk p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.roles {
  border-top: 1px solid var(--line);
}

.role {
  border-bottom: 1px solid var(--line);
}

.role-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.8fr 36px;
  gap: 20px;
  align-items: center;
  padding: 24px 8px;
  text-align: left;
  transition: background 0.3s, padding-left 0.3s;
}

.role-head:hover {
  background: var(--soft);
  padding-left: 20px;
}

.role-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.role-team,
.role-loc {
  font-size: 13.5px;
  color: var(--muted);
}

.role-icon {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
}

.role-icon::before,
.role-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}

.role-icon::after {
  transform: rotate(90deg);
}

.role.is-open .role-icon::after {
  transform: rotate(0deg);
}

.role-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.role.is-open .role-body {
  max-height: 420px;
}

.role-body-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 0 8px 30px;
}

.role-body p {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.role-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
}

.role-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s;
}

.role-apply:hover {
  background: var(--brand);
  transform: translateY(-2px);
}

.role-apply svg {
  width: 14px;
  height: 14px;
}

.role.is-hidden {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--text);
}

.process-step .n {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.process-step h3 {
  margin: 14px 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.process-step p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* =========================================================
   Reveal & motion
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 400;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  :root {
    --header-h: 72px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .mega {
    display: none;
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 48px);
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand p {
    max-width: 320px;
  }
}

@media (max-width: 980px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

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

  .statement-grid,
  .story-grid,
  .commit-block,
  .contact-grid,
  .career-hero-grid {
    grid-template-columns: 1fr;
  }

  .statement-grid .statement-copy {
    max-width: 720px;
  }

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

  .value-row {
    grid-template-columns: 48px 1fr;
  }

  .value-row p {
    grid-column: 2;
  }

  .tl-row {
    grid-template-columns: 100px 1fr;
  }

  .tl-desc {
    grid-column: 2;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail.is-flipped .pd-media {
    order: 0;
  }

  .pd-copy {
    max-width: 720px;
  }

  .tech-grid,
  .perks-grid,
  .pillar-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commit-intro {
    max-width: 720px;
  }

  .news-featured {
    grid-template-columns: 1fr;
  }

  .nf-media {
    min-height: 280px;
  }

  .career-hero-grid .career-hero-media {
    order: -1;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --gutter: 20px;
  }

  .hero {
    min-height: max(600px, 100svh);
  }

  .hero-media img {
    object-position: 68% 50%;
  }

  .hero-title {
    font-size: clamp(48px, 15.4vw, 74px);
    letter-spacing: -0.045em;
  }

  .hero-foot {
    gap: 18px;
  }

  .hero-arrow {
    width: 58px;
    height: 58px;
  }

  .hero-meta .meta-cities {
    display: none;
  }

  .products-grid,
  .news-grid,
  .news-list-grid,
  .tech-grid,
  .perks-grid,
  .pillar-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card .pc-body {
    padding: 20px 20px 22px;
  }

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

  .loc-grid {
    grid-template-columns: 1fr;
  }

  .loc {
    min-height: auto;
    gap: 14px;
  }

  .role-head {
    grid-template-columns: 1fr 28px;
    gap: 6px 12px;
    padding: 20px 4px;
  }

  .role-team,
  .role-loc {
    grid-column: 1;
    font-size: 12.5px;
  }

  .role-icon {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .role-head:hover {
    padding-left: 4px;
  }

  .role-body-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .role-apply {
    justify-self: start;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .policy-item .p-name {
    font-size: 15px;
  }

  .policy-item .p-meta {
    font-size: 11.5px;
  }

  .quote-text {
    font-size: clamp(26px, 7.6vw, 38px);
  }

  .page-hero h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .career-hero h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-title .line-inner {
    transform: none;
  }

  .hero-mark,
  .hero-foot,
  .hero-meta {
    opacity: 1;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
