:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-tint: #eef5f3;
  --ink: #0b1220;
  --ink-soft: #283041;
  --muted: #59616f;
  --muted-soft: #8b94a3;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(11, 18, 32, 0.15);
  --deep: #0a0f1c;
  --deep-2: #070b14;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --mint: #5eead4;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --emerald: #10b981;
  --amber: #fbbf24;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 18px 48px rgba(11, 18, 32, 0.12);
  --pad-x: clamp(20px, 6vw, 88px);
  --maxw: 1240px;
  --section-y: clamp(72px, 9vw, 128px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ko"] body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
html[lang="ja"] body {
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
html[lang^="zh"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
html[lang="zh-Hant"] body {
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", system-ui, sans-serif;
}
html[lang="th"] body {
  font-family: "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;
}
html[lang="hi"] body {
  font-family: "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif;
}

a {
  color: inherit;
}
p,
h1,
h2,
h3 {
  margin-top: 0;
}
img,
svg {
  display: block;
}

/* ---------- Header ---------- */
.site-header {
  min-height: 68px;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.header-actions {
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links,
.footer-links {
  gap: clamp(12px, 1.6vw, 24px);
  flex-wrap: wrap;
}
.nav-links a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 160ms ease;
}
.nav-links a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.language-control {
  display: inline-flex;
}
.language-select {
  min-height: 38px;
  max-width: 200px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.language-select:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.45);
  outline-offset: 3px;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.primary-action,
.secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 0.97rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, border-color 160ms ease;
}

.primary-action {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.22);
}
.primary-action:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.3);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
}
.secondary-action:hover {
  border-color: rgba(15, 118, 110, 0.5);
  background: var(--white);
  color: var(--teal);
  transform: translateY(-2px);
}
.secondary-action.is-disabled {
  cursor: default;
  color: var(--muted);
  border-style: dashed;
  background: transparent;
}
.secondary-action.is-disabled:hover {
  transform: none;
  border-color: var(--line-strong);
  color: var(--muted);
}

/* ---------- Device frames ---------- */
.device-frame {
  position: relative;
  border-radius: 30px;
  padding: 7px;
  background: linear-gradient(155deg, #2b3444 0%, #0c1019 72%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 30px 60px -18px rgba(0, 0, 0, 0.6);
}
.device-frame::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 17px;
  background: #0c1019;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.device-img {
  width: 100%;
  height: auto;
  border-radius: 23px;
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(94, 234, 212, 0.26) 0%, rgba(94, 234, 212, 0) 60%),
    radial-gradient(55% 60% at 12% 92%, rgba(99, 102, 241, 0.26) 0%, rgba(99, 102, 241, 0) 60%),
    linear-gradient(180deg, #0a0f1c 0%, #0b1322 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(72% 70% at 75% 35%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 70% at 75% 35%, #000 0%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: clamp(580px, 84vh, 860px);
  padding: clamp(56px, 7vw, 92px) var(--pad-x);
}

.hero-copy {
  max-width: 600px;
  animation: rise-in 720ms ease both;
}
.hero .eyebrow {
  color: var(--mint);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  background: linear-gradient(110deg, #ffffff 28%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 13em;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3.2vw, 2.75rem);
  line-height: 1.14;
  font-weight: 820;
  letter-spacing: -0.02em;
  color: #f4f7fb;
  overflow-wrap: anywhere;
}
.hero-body {
  max-width: 34rem;
  margin-bottom: 30px;
  color: rgba(231, 236, 245, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}
.hero .primary-action {
  background: var(--mint);
  color: #042f2a;
  box-shadow: 0 16px 40px rgba(94, 234, 212, 0.28);
}
.hero .primary-action:hover {
  background: var(--white);
  color: #042f2a;
  transform: translateY(-2px);
}
.secondary-action.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eef2f8;
}
.secondary-action.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  position: relative;
  padding-left: 22px;
  color: rgba(231, 236, 245, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--mint) 0 36%, rgba(94, 234, 212, 0.22) 38% 100%);
}

.hero-media {
  position: relative;
  align-self: center;
}
.device-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 46vw, 540px);
  animation: media-in 880ms ease 120ms both;
}
.device-showcase::before {
  content: "";
  position: absolute;
  width: min(86%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.3) 0%, rgba(99, 102, 241, 0.16) 42%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.device-showcase .device-frame {
  position: relative;
  z-index: 1;
  width: clamp(138px, 14vw, 178px);
}
.device-frame--back {
  order: 1;
  z-index: 1;
  margin-right: clamp(-52px, -3.6vw, -38px);
  transform: rotate(-9deg) translateY(10px);
  opacity: 0.9;
  animation: float-a 7000ms ease-in-out infinite;
}
.device-frame--front {
  order: 2;
  z-index: 3;
  width: clamp(154px, 15.6vw, 200px);
  transform: translateY(-8px) rotate(-2deg);
  animation: float-b 5800ms ease-in-out infinite;
}
.device-frame--side {
  order: 3;
  z-index: 2;
  margin-left: clamp(-52px, -3.6vw, -38px);
  transform: rotate(9deg) translateY(12px);
  opacity: 0.96;
  animation: float-c 6400ms ease-in-out infinite;
}

/* ---------- Section frame ---------- */
.about-band,
.service-section,
.principle-band {
  padding-block: var(--section-y);
}
.about-head,
.services-head,
.principle-head,
.capability-grid,
.stat-row,
.service-panel,
.principle-list {
  max-width: var(--maxw);
  margin-inline: auto;
}
.about-band,
.service-section,
.principle-band,
.closing-band,
.site-footer {
  padding-inline: var(--pad-x);
}

/* ---------- About ---------- */
.about-band {
  background: var(--bg-soft);
}
.about-head {
  max-width: 880px;
}
.about-head h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.about-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
  margin-top: clamp(40px, 5vw, 60px);
  padding: 0;
  list-style: none;
}
.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 232px;
  padding: clamp(22px, 2vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.capability-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.28);
}
.capability-card:hover::after {
  transform: scaleX(1);
}
.capability-no {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  opacity: 0.6;
}
.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: var(--teal);
  background: linear-gradient(140deg, rgba(94, 234, 212, 0.32), rgba(15, 118, 110, 0.12));
}
.capability-icon svg {
  width: 26px;
  height: 26px;
}
.capability-card strong {
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.capability-text {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: clamp(22px, 2.4vw, 32px);
  padding: clamp(28px, 3vw, 42px) clamp(24px, 3vw, 48px);
  background: linear-gradient(135deg, #0c1322 0%, #0a0f1c 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 6px 10px;
}
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 880;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, #ffffff, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  color: rgba(231, 236, 245, 0.7);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

/* ---------- Services ---------- */
.service-section {
  background: var(--bg);
}
.services-head {
  max-width: 860px;
  margin-bottom: clamp(16px, 2vw, 28px);
}
.services-head h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.services-lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.85;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.service-panel:first-of-type {
  border-top: 0;
}
.service-panel-quant {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}
.service-panel-quant .service-copy {
  order: 2;
}
.service-copy {
  max-width: 540px;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.service-tag-saju {
  color: var(--teal);
  background: rgba(15, 118, 110, 0.1);
}
.service-tag-quant {
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
}
.service-title {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.service-tagline {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 750;
  line-height: 1.4;
}
.service-desc {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
}
.service-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.service-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  width: 15px;
  height: 8px;
  border-left: 2.4px solid var(--teal);
  border-bottom: 2.4px solid var(--teal);
  transform: rotate(-45deg);
}
.service-panel-quant .service-list li::before {
  border-color: var(--blue);
}

.service-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.service-media::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 0;
}
.service-media-saju::before {
  background: radial-gradient(circle, rgba(94, 234, 212, 0.6), rgba(99, 102, 241, 0.2) 55%, transparent 72%);
}
.service-media-quant::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5), rgba(16, 185, 129, 0.22) 55%, transparent 72%);
}
.device-duo,
.device-solo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-duo .device-frame {
  width: clamp(168px, 21vw, 244px);
}
.service-frame-back {
  z-index: 1;
  margin-right: clamp(-72px, -5vw, -52px);
  transform: rotate(-7deg) translateY(12px);
  opacity: 0.95;
}
.service-frame-front {
  z-index: 2;
  transform: rotate(4deg);
}
.device-solo .device-frame {
  width: clamp(204px, 25vw, 286px);
  transform: rotate(-2deg);
}

/* ---------- Principles ---------- */
.principle-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
}
.principle-head {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.principle-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.principle-list li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.principle-list strong {
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.principle-list span {
  color: var(--muted);
  line-height: 1.76;
  overflow-wrap: anywhere;
}

/* ---------- Closing ---------- */
.closing-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  background: var(--deep);
  color: var(--white);
}
.closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 80% at 88% 20%, rgba(94, 234, 212, 0.22) 0%, transparent 60%),
    radial-gradient(46% 90% at 6% 90%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}
.closing-copy {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  flex: 1 1 420px;
}
.closing-band .section-label {
  color: var(--mint);
}
.closing-band h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.closing-band p:not(.section-label) {
  margin: 0;
  color: rgba(231, 236, 245, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}
.closing-band .primary-action {
  position: relative;
  z-index: 1;
  min-width: 230px;
  background: var(--mint);
  color: #042f2a;
  box-shadow: 0 16px 40px rgba(94, 234, 212, 0.26);
}
.closing-band .primary-action:hover {
  background: var(--white);
  color: #042f2a;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: clamp(30px, 4vw, 46px) var(--pad-x);
  background: var(--deep-2);
  color: rgba(231, 236, 245, 0.66);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-name {
  font-weight: 850;
  font-size: 1.04rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-tagline {
  font-size: 0.86rem;
  color: rgba(231, 236, 245, 0.5);
}
.footer-rights {
  margin: 0;
  font-size: 0.88rem;
}
.site-footer a {
  color: rgba(231, 236, 245, 0.66);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--mint);
}

/* ---------- Animations ---------- */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes media-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes float-a {
  0%, 100% {
    transform: rotate(-9deg) translateY(10px);
  }
  50% {
    transform: rotate(-8deg) translateY(20px);
  }
}
@keyframes float-b {
  0%, 100% {
    transform: translateY(-8px) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(-1deg);
  }
}
@keyframes float-c {
  0%, 100% {
    transform: rotate(9deg) translateY(12px);
  }
  50% {
    transform: rotate(8deg) translateY(2px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 8px;
    text-align: left;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-media {
    margin-top: 18px;
  }
  .device-showcase {
    min-height: 420px;
  }
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-panel,
  .service-panel-quant {
    grid-template-columns: 1fr;
  }
  .service-panel-quant .service-copy {
    order: 0;
  }
  .service-copy {
    max-width: 720px;
  }
  .service-media {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .principle-list {
    grid-template-columns: 1fr;
  }
  .principle-list li {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-links {
    justify-content: flex-start;
  }
  .language-select {
    max-width: min(100%, 200px);
  }
  .device-showcase {
    min-height: 360px;
  }
  .device-showcase .device-frame {
    width: clamp(116px, 30vw, 150px);
  }
  .device-frame--front {
    width: clamp(132px, 34vw, 168px);
  }
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .capability-card {
    min-height: 0;
  }
  .stat-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat + .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
  }
  .service-media {
    min-height: 380px;
  }
  .device-duo .device-frame {
    width: clamp(150px, 42vw, 210px);
  }
  .device-solo .device-frame {
    width: clamp(180px, 56vw, 250px);
  }
  .closing-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .compact {
    width: 100%;
  }
}

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