:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-muted: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.12);
  --accent: #06c;
  --accent-soft: rgba(0, 102, 204, 0.08);
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
  --radius-hero: 34px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #ffffff;
  font-family:
    "SF Pro Display",
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 14px 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 14px;
  padding: 14px 0 18px;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.94) 0%, rgba(245, 245, 247, 0.82) 78%, rgba(245, 245, 247, 0) 100%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 14px;
  line-height: 38px;
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(0, 102, 204, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  transform: translateY(-1px);
}

main {
  display: grid;
  gap: 16px;
}

.content-section,
.section-hero {
  margin: 0;
}

.hero {
  display: block;
}

.mission-card,
.service-card,
.accordion-card,
.contact-visual,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.hero-content h1,
.section-heading h2,
.service-body h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  min-width: 206px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 500;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

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

.button-solid {
  color: #fff;
  background: #1d1d1f;
  box-shadow: 0 12px 30px rgba(29, 29, 31, 0.16);
}

.button-ghost {
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #1d1d1f;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.18);
}

.hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 360px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(13, 13, 16, 0.34) 0%, rgba(13, 13, 16, 0.24) 30%, rgba(13, 13, 16, 0.44) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(13, 13, 16, 0.12) 46%, rgba(13, 13, 16, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  min-height: 360px;
  padding: 24px 20px;
  text-align: center;
}

.hero-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(24px, 4.8vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.hero-title-line {
  display: block;
  min-height: 1.08em;
}

.hero-title-line:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.hero-title-line.cursor-visible::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.84em;
  margin-left: 0.12em;
  vertical-align: -0.06em;
  background: currentColor;
  animation: hero-cursor-blink 0.9s steps(1) infinite;
}

@keyframes hero-cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.content-section {
  padding: 18px 0 6px;
}

.section-heading {
  margin-bottom: 18px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(30px, 7.5vw, 56px);
  line-height: 1.08;
}

.section-intro {
  width: min(100%, 620px);
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.mission-card {
  padding: 28px 22px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.mission-card p {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.service-body {
  padding: 26px 20px 18px;
  text-align: center;
}

.service-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-body h3 {
  font-size: 30px;
  line-height: 1.12;
}

.service-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.service-copy {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-cover {
  position: relative;
  height: 260px;
  margin: 0 10px 10px;
  overflow: hidden;
  border-radius: 24px;
  background: #eff0f2;
}

.service-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 35%);
}

.service-index,
.service-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.service-index {
  top: 16px;
  left: 16px;
  min-width: 60px;
  min-height: 38px;
  padding: 0 16px;
  color: rgba(29, 29, 31, 0.68);
  font-size: 18px;
  font-weight: 700;
}

.service-badge {
  left: 16px;
  bottom: 16px;
  min-height: 38px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 32px;
}

.accordion-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  padding: 24px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion-text {
  display: grid;
  gap: 8px;
}

.accordion-text strong {
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.accordion-text span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.accordion-icon {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-card.is-open .accordion-icon {
  transform: rotate(90deg);
}

.accordion-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-grid {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.team-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transform: translateY(16px);
  opacity: 0;
  transition:
    transform 0.64s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.54s ease;
}

.accordion-card.is-open .team-card {
  transform: translateY(0);
  opacity: 1;
}

.team-card img {
  aspect-ratio: 1;
  width: min(100%, 132px);
  margin: 0 auto;
  border-radius: 22px;
  object-fit: cover;
  background: #edf0f4;
}

.team-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.team-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.content-section-contact {
  padding-bottom: 0;
}

.contact-layout {
  display: grid;
  gap: 14px;
}

.contact-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.contact-visual img,
.contact-visual-overlay {
  position: absolute;
  inset: 0;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-visual-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0.78) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0) 100%);
}

.contact-visual-copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.contact-visual-copy strong {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-visual-copy span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.contact-card {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 102, 204, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.contact-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.site-footer {
  padding: 28px 0 20px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (min-width: 768px) {
  .site-shell {
    padding: 0 22px 64px;
  }

  .site-header {
    gap: 18px;
    padding: 18px 0 24px;
  }

  .brand {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text span {
    font-size: 10px;
  }

  main {
    gap: 22px;
  }

  .hero-actions {
    gap: 14px 22px;
  }

  .hero-media {
    width: 100%;
    min-height: 420px;
  }

  .hero-content {
    min-height: 420px;
    padding: 32px 40px;
  }

  .content-section {
    padding-top: 24px;
  }

  .mission-card {
    padding: 40px 46px;
  }

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

  .service-body {
    padding: 32px 28px 20px;
  }

  .service-cover {
    height: 300px;
    margin: 0 14px 14px;
  }

  .accordion-trigger {
    padding: 28px 28px 26px;
  }

  .team-grid {
    padding: 0 28px 28px;
  }

  .team-card {
    padding: 18px;
  }

  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .contact-visual {
    min-height: 100%;
  }

  .contact-stack {
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-shell {
    padding: 0 28px 72px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-nav {
    justify-content: flex-end;
    overflow: visible;
  }

  .hero-media {
    width: 100%;
    min-height: 500px;
  }

  .hero-content {
    min-height: 500px;
    padding: 36px 60px;
  }

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

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

  .contact-visual-copy {
    right: 28px;
    bottom: 28px;
    left: 28px;
    padding: 24px;
  }
}
