@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3f4f6;
  --bg-white: #ffffff;
  --bg-muted: #e7eaee;
  --ink: #1b1f24;
  --ink-soft: #3d4450;
  --muted: #5d6570;
  --line: #d5dae2;
  --line-strong: #b8c0cb;
  --accent: #1d4e78;
  --accent-hover: #163d5e;
  --accent-soft: rgba(29, 78, 120, 0.08);
  --hero-ink: #f4f6f8;
  --hero-muted: #d5dbe3;
  --graphite: #2c333c;
  --nav-h: 72px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Space Grotesk", "Sora", "Segoe UI", sans-serif;
  --font-body: "Sora", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— NAV ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(243, 244, 246, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(27, 31, 36, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img {
  height: 26px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.05rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.5rem;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

.lang-switch a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.32rem 0.38rem;
}

.lang-switch a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.lang-switch a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 40px;
  height: 40px;
  place-content: center;
  border: 1px solid var(--line);
  background: var(--bg-white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-panel {
  display: none;
  position: absolute;
  inset: var(--nav-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 1.5rem;
}

.nav-panel.is-open {
  display: block;
}

.nav-panel a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-panel a:hover {
  color: var(--accent);
}

.nav-panel .lang-switch {
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

@media (min-width: 1120px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: none !important;
  }
}

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-ink);
  background: var(--graphite);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(32, 38, 46, 0.72) 0%, rgba(32, 38, 46, 0.38) 46%, rgba(32, 38, 46, 0.18) 100%),
    linear-gradient(180deg, rgba(32, 38, 46, 0.18) 0%, rgba(32, 38, 46, 0.55) 100%);
}

.hero-content {
  padding: 5rem 0 4.25rem;
  max-width: 640px;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--hero-muted);
  font-size: 1.05rem;
}

.hero-cats {
  margin: 0 0 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8edf2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

/* ——— SECTIONS ——— */
.section {
  padding: 5.25rem 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-ink {
  background: var(--graphite);
  color: #eef1f4;
}

.section-ink .section-text,
.section-ink .muted {
  color: #c5ccd4;
}

.section-label {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-ink .section-label {
  color: #9bb7ce;
}

.section-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-claim {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-text {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-head {
  margin-bottom: 2.4rem;
  max-width: 48rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rule {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin: 0 0 1.35rem;
}

.principles {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .principles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .principles.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle {
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
}

.section-alt .principle {
  background: var(--bg);
}

.principle h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product areas */
.product {
  display: grid;
  gap: 2.2rem;
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.4rem;
    align-items: start;
  }

  .product.is-flip .product-media {
    order: 2;
  }
}

.product-media {
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.product-copy .section-title {
  margin-bottom: 0.35rem;
}

.product-copy .section-text {
  margin-bottom: 1.4rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-list li {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.38rem 0.68rem;
  border: 1px solid var(--line);
  background: var(--bg-white);
}

.subsection {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.subsection h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subsection p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Feature / inspired */
.feature {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 3.4rem;
    align-items: center;
  }
}

.feature-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
}

.feature-media img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}

.inspired-points {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Approach */
.approach-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .approach-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.approach-item {
  padding: 1.3rem 1.15rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--bg-white);
}

.approach-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approach-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.world-line {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9d4de;
}

.disclaimer {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: #adb6c0;
}

/* Contact */
.contact-mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}

.contact-mail:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  padding: 2.1rem 0 2.3rem;
}

.footer-inner {
  display: grid;
  gap: 0.85rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.footer-cats {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Legal */
.legal-page {
  padding: 4.5rem 0 5.5rem;
  min-height: calc(100svh - var(--nav-h) - 140px);
}

.legal-page h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-page p {
  max-width: 42rem;
  color: var(--muted);
}

.legal-page a {
  color: var(--accent);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero-content {
    padding: 3.4rem 0 2.8rem;
  }

  .product-media img,
  .feature-media img {
    min-height: 220px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(32, 38, 46, 0.28) 0%, rgba(32, 38, 46, 0.7) 100%),
      linear-gradient(90deg, rgba(32, 38, 46, 0.55) 0%, rgba(32, 38, 46, 0.28) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
