:root {
  color-scheme: light;
  --red: #c81826;
  --red-dark: #8f101a;
  --ink: #15161a;
  --muted: #656a73;
  --line: rgba(20, 20, 20, 0.1);
  --paper: #f5f5f7;
  --white: #ffffff;
  --gold: #c89b46;
  --blue: #11385f;
  --shadow: 0 24px 70px rgba(15, 18, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

.serif,
h1,
h2,
h3,
.hero-subtitle,
.metric,
.timeline time {
  font-family: "Songti SC", "Noto Serif SC", "STSong", "SimSun", Georgia, serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  overflow-x: hidden;
}

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

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

.section-pad {
  padding: 112px 0;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 74px;
  transform: none;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(247, 247, 249, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  padding: 12px clamp(18px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 3vw, 36px);
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-links a {
  position: relative;
  min-width: 48px;
  padding: 12px 0;
  color: #3a3d43;
  font-size: 14px;
  text-align: center;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/site/hero-building.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 24, 0.82), rgba(7, 12, 20, 0.45) 46%, rgba(7, 12, 20, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04) 46%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 48px;
  align-items: end;
  padding-top: 80px;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inverse .eyebrow,
.hero .eyebrow {
  color: #ffd2d2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.96;
  font-weight: 700;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 700;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-subtitle {
  margin: 22px 0 12px;
  color: #f8ead8;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
}

.hero-text,
.section-copy p,
.product-copy p,
.person p,
.honors li {
  color: var(--muted);
  font-size: 17px;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 28px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-btn {
  background: var(--white);
  color: var(--ink);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  padding: 22px;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.panel-head strong {
  color: var(--white);
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-stack > div {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.17);
  padding: 18px;
}

.metric {
  display: inline-flex;
  color: var(--white);
  font-size: 44px;
  line-height: 1;
  font-weight: 850;
}

.metric::after {
  content: "+";
  color: #ffc9b8;
  font-size: 24px;
  transform: translateY(4px);
}

.metric-stack p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.light-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 64px;
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.section-copy p {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8f8fa;
  padding: 8px 13px;
  color: #4d5158;
  font-size: 14px;
  font-weight: 700;
}

.quiet-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.quiet-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.image-feature,
.qr-card {
  margin: 0;
}

.image-feature img,
.feature-card,
.product-showcase,
.product-card,
.person,
.qr-card,
.honors {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(12, 18, 28, 0.06);
}

.image-feature {
  overflow: hidden;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.feature-card {
  min-height: 280px;
}

.feature-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.feature-card div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.card-index {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 44px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.red-band {
  background: var(--red-dark);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline div {
  min-height: 210px;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px 18px;
}

.timeline time {
  display: block;
  margin-bottom: 32px;
  color: #ffe0bd;
  font-size: 28px;
  font-weight: 850;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.74fr);
  gap: 0;
  overflow: hidden;
}

.product-showcase img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.product-copy dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.product-copy div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.product-copy dt {
  color: var(--red);
  font-weight: 800;
}

.product-copy dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(12, 18, 28, 0.06);
}

.product-list article {
  min-height: 310px;
  border-right: 1px solid var(--line);
  padding: 32px 28px;
}

.product-list article:last-child {
  border-right: 0;
}

.product-list span {
  display: block;
  margin-bottom: 54px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-list p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-card h3,
.product-card p {
  padding-right: 24px;
  padding-left: 24px;
}

.product-card h3 {
  padding-top: 24px;
}

.product-card p {
  padding-bottom: 24px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.person {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--red), rgba(200, 24, 38, 0));
}

.person div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 44px 44px 44px 68px;
}

.person p:last-child {
  margin-bottom: 0;
}

.culture-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 155, 70, 0.16), transparent 34%),
    linear-gradient(135deg, #141416, #251115 56%, #151515);
}

.culture-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: center;
}

.inverse p {
  color: rgba(255, 255, 255, 0.78);
}

.mission-list {
  display: grid;
  gap: 12px;
}

.mission-list p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  color: var(--white);
  font-size: 20px;
  font-weight: 750;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.honors-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: 18px;
  align-items: stretch;
}

.honors {
  padding: 42px;
}

.honors ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.honors li {
  position: relative;
  padding-left: 24px;
}

.honors li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.qr-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #0e2135;
  color: var(--white);
}

.qr-card img {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.qr-card figcaption {
  padding: 16px 20px;
  font-weight: 700;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-pad {
    padding: 86px 0;
  }

  .hero-grid,
  .about-layout,
  .split,
  .product-showcase,
  .culture-layout,
  .honors-contact {
    grid-template-columns: 1fr;
  }

  .strength-grid,
  .people-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

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

  .product-list article:nth-child(2n) {
    border-right: 0;
  }

  .product-list article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .person {
    grid-template-columns: 0.72fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: auto;
    transform: none;
    align-items: stretch;
    border-radius: 0;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px 11px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
    justify-content: stretch;
  }

  .nav-links a {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    white-space: nowrap;
  }

  .hero {
    min-height: 940px;
  }

  .hero-grid {
    padding-top: 130px;
    gap: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .product-grid,
  .product-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .product-list article,
  .product-list article:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .product-list article:first-child {
    border-top: 0;
  }

  .product-list span {
    margin-bottom: 28px;
  }

  .timeline div {
    min-height: 160px;
  }

  .product-copy,
  .honors,
  .person div {
    padding: 26px;
  }

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

  .person img {
    max-height: 420px;
  }
}

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