:root {
  color-scheme: light;
  --ink: #162629;
  --muted: #607176;
  --soft: #e4f0ef;
  --bg: #f6fbfb;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: #edf6f4;
  --line: rgba(35, 78, 82, 0.14);
  --cyan: #129da8;
  --gold: #b88b35;
  --green: #62aa91;
  --shadow: 0 24px 70px rgba(41, 91, 94, 0.16);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), var(--bg) 42rem),
    radial-gradient(circle at 82% 8%, rgba(18, 157, 168, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 36%, rgba(98, 170, 145, 0.11), transparent 30rem),
    repeating-linear-gradient(90deg, rgba(35, 78, 82, 0.035) 0 1px, transparent 1px 96px),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(35, 78, 82, 0.1);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 60px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(35, 78, 82, 0.18);
  background:
    linear-gradient(135deg, rgba(18, 157, 168, 0.16), rgba(184, 139, 53, 0.18)),
    rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 700;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(22, 38, 41, 0.72);
  font-size: 14px;
}

.site-nav a {
  padding: 10px 13px;
  border: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover {
  border-color: rgba(35, 78, 82, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(35, 78, 82, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.section-panel {
  position: relative;
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 112px;
  padding-bottom: clamp(48px, 8vh, 84px);
  border-bottom: 1px solid rgba(35, 78, 82, 0.08);
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.98) contrast(1.01) brightness(1.03);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(248, 253, 252, 0.97) 0%, rgba(248, 253, 252, 0.86) 42%, rgba(248, 253, 252, 0.22) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.12) 48%, rgba(246, 251, 251, 0.92) 100%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.45;
  background:
    linear-gradient(rgba(35, 78, 82, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 78, 82, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.45) 56%, transparent 100%);
}

.hero-content {
  width: min(760px, 100%);
  padding-block: clamp(40px, 8vh, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.craft h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(37, 58, 63, 0.78);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 78, 82, 0.16);
  border-radius: 4px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  border-color: rgba(184, 139, 53, 0.45);
  background: linear-gradient(135deg, rgba(226, 190, 108, 0.96), rgba(116, 194, 164, 0.92));
  color: #10201e;
  box-shadow: 0 18px 36px rgba(59, 112, 108, 0.22);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(930px, 100%);
  margin-top: 24px;
  border: 1px solid rgba(35, 78, 82, 0.12);
  background: rgba(35, 78, 82, 0.12);
  box-shadow: var(--shadow);
}

.proof-bar {
  z-index: 2;
  margin-top: -96px;
  padding-top: 0;
  padding-bottom: clamp(44px, 7vw, 84px);
  background: linear-gradient(180deg, rgba(246, 251, 251, 0.72), var(--bg));
}

.hero-metrics article {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.hero-metrics span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.hero-metrics strong {
  display: block;
  margin-top: 22px;
  font-size: 18px;
}

.hero-metrics p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.intro,
.services,
.craft,
.process,
.contact {
  padding-block: clamp(72px, 10vw, 128px);
}

.intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(246, 251, 251, 0));
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.intro h2,
.craft h2,
.contact h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
}

.intro p,
.craft-copy p {
  margin: 0;
  color: rgba(37, 58, 63, 0.72);
  font-size: 18px;
  line-height: 1.9;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.05;
}

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

.service-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(236, 246, 244, 0.36)),
    var(--panel);
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, rgba(18, 157, 168, 0.12), rgba(184, 139, 53, 0.055)),
    var(--panel);
}

.service-card::after,
.capability-item::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover::after,
.capability-item:hover::after {
  transform: scaleX(1);
}

.service-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(35, 78, 82, 0.14);
  color: var(--cyan);
  font-weight: 800;
}

.service-card h3,
.capability-item h3,
.timeline-item h3 {
  margin: 72px 0 0;
  font-size: 23px;
  line-height: 1.25;
}

.service-card p,
.capability-item p,
.timeline-item p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.craft {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 92px);
  background:
    linear-gradient(135deg, rgba(18, 157, 168, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(184, 139, 53, 0.1), transparent 32%),
    #eef7f5;
  border-block: 1px solid rgba(35, 78, 82, 0.1);
}

.craft-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.craft-copy p {
  margin-top: 28px;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-item {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(35, 78, 82, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.capability-item h3 {
  margin-top: 0;
}

.process {
  background: #f7fbfb;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  min-height: 278px;
  padding: 26px;
  border: 1px solid rgba(35, 78, 82, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), transparent),
    var(--panel-2);
}

.timeline-item span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(184, 139, 53, 0.48);
  color: var(--gold);
  font-weight: 800;
}

.timeline-item h3 {
  margin-top: 64px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(18, 157, 168, 0.06), transparent),
    var(--bg);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(35, 78, 82, 0.13);
  background:
    linear-gradient(135deg, rgba(18, 157, 168, 0.12), rgba(255, 255, 255, 0.78) 48%, rgba(184, 139, 53, 0.12)),
    rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.contact-meta {
  border-left: 1px solid rgba(35, 78, 82, 0.16);
  padding-left: 28px;
}

.contact-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-meta p + p {
  margin-top: 10px;
}

.contact-meta strong {
  color: var(--ink);
  font-size: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(35, 78, 82, 0.1);
  background: #f1f7f6;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-links a {
  border-bottom: 1px solid rgba(35, 78, 82, 0.2);
}

.footer-links a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.reveal {
  opacity: 0.56;
  transform: translateY(16px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@media (max-width: 1080px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 310px;
  }

  .craft,
  .intro-layout,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .craft-copy {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .site-nav {
    position: fixed;
    top: 71px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(35, 78, 82, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    backdrop-filter: blur(20px);
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(35, 78, 82, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 82svh;
    padding-top: 96px;
  }

  .hero-media img {
    object-position: 73% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(248, 253, 252, 0.96) 0%, rgba(248, 253, 252, 0.8) 70%, rgba(248, 253, 252, 0.48) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.2) 48%, rgba(246, 251, 251, 0.94) 100%);
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-metrics article {
    min-height: auto;
  }

  .proof-bar {
    margin-top: -74px;
    padding-bottom: 34px;
  }

  .intro,
  .services,
  .craft,
  .process,
  .contact {
    padding-block: 68px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 14px;
  }

  .service-card,
  .timeline-item {
    min-height: 260px;
  }

  .service-card h3,
  .timeline-item h3 {
    margin-top: 52px;
  }

  .contact-panel {
    padding: 26px;
  }

  .contact-meta {
    border-left: 0;
    border-top: 1px solid rgba(35, 78, 82, 0.16);
    padding-top: 22px;
    padding-left: 0;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-copy,
  .intro p,
  .craft-copy p {
    font-size: 16px;
  }

  .footer-links {
    gap: 8px 12px;
  }
}

@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;
  }
}
