:root {
  --ink: #111417;
  --ink-soft: #2a3034;
  --paper: #fbf7ef;
  --paper-soft: #f3ecdf;
  --line: rgba(17, 20, 23, 0.14);
  --teal: #0a7276;
  --teal-dark: #075057;
  --coral: #eb6a55;
  --sage: #95a386;
  --violet: #7d62d9;
  --sand: #d8ccb7;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 20, 23, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(17, 20, 23, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-links a {
  color: rgba(17, 20, 23, 0.72);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 0.3rem 0.55rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(17, 20, 23, 0.68);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 850;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(640px, calc(100svh - 150px));
  background: #101417;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 20, 23, 0.98) 0%, rgba(16, 20, 23, 0.88) 48%, rgba(16, 20, 23, 0.58) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px);
}

.hero::after {
  content: "";
  position: absolute;
  right: max(-8vw, -80px);
  top: 50%;
  z-index: -1;
  width: min(58vw, 690px);
  aspect-ratio: 1;
  background: url("assets/imbrial-mark.png") center / contain no-repeat;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.42));
  transform: translateY(-50%);
}

.hero-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 5.4rem 0 3.6rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(4.2rem, 10vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

html[lang="zh-CN"] body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.08em;
}

.mission {
  margin-bottom: 1rem;
  color: var(--coral);
  font-size: clamp(1.6rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: #15110f;
}

.button.primary:hover {
  background: #f47a61;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  width: 100%;
}

.hero-facts div {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.hero-facts strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.hero-facts span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.focus-strip {
  background: #151d20;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.focus-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1.55rem 0;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid p:last-child {
  margin-bottom: 0;
  color: rgba(17, 20, 23, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(2rem, 5vw, 3.8rem);
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(17, 20, 23, 0.7);
  font-size: 1.06rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process article {
  min-height: 275px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.process span {
  display: block;
  margin-bottom: 3rem;
  color: var(--coral);
  font-weight: 900;
}

.process p,
.feature-grid p,
.person p {
  color: rgba(17, 20, 23, 0.68);
}

.tinted {
  background: #e9eee9;
}

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

.feature-grid article {
  min-height: 238px;
  padding: 1.35rem;
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(17, 20, 23, 0.06);
}

.team-section {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.person {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(17, 20, 23, 0.08);
}

.person img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.person div {
  align-self: center;
  padding: 1.25rem;
}

.person .role {
  margin-bottom: 0.7rem;
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.4rem 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr);
  align-items: center;
  gap: 1.4rem;
}

.footer-brand-block {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  color: var(--white);
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-brand-block p,
.footer-legal {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-right {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  text-align: right;
}

.footer-question {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-question a {
  color: var(--white);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.footer-legal {
  text-align: right;
}

@media (max-width: 930px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.9rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 20, 23, 0.98) 0%, rgba(16, 20, 23, 0.88) 100%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
  }

  .hero::after {
    width: min(90vw, 560px);
    right: -28vw;
    opacity: 0.46;
  }

  .hero-inner,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 5rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

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

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

  .person {
    grid-template-columns: minmax(190px, 0.56fr) minmax(0, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 4rem 0 3.5rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .language-switcher button {
    min-width: 38px;
    padding-inline: 0.45rem;
  }

  .process,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process article,
  .feature-grid article {
    min-height: auto;
  }

  .process span {
    margin-bottom: 1.6rem;
  }

  .person {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .person img {
    max-height: none;
  }

  .person div {
    align-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-right {
    justify-items: start;
    text-align: left;
  }

  .footer-legal {
    text-align: left;
  }
}

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