:root {
  --sky-050: #f7fcfe;
  --sky-100: #eaf8fc;
  --sky-200: #d5f0f8;
  --sky-300: #b9e4f5;
  --sky-500: #4ca8cb;
  --ink: #16425b;
  --muted: #537181;
  --line: rgba(22, 66, 91, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(48, 117, 145, 0.12);
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--sky-050);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 20;
  padding: 0.55rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand-link,
.site-nav,
.footer-meta {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-link img {
  display: block;
}

.site-nav {
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--muted);
}

.site-nav a,
.text-link,
.back-link {
  text-decoration: none;
}

.site-nav a {
  font-weight: 650;
}

.site-nav a:hover,
.text-link:hover,
.back-link:hover {
  color: var(--sky-500);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 610px;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero-copy,
.page-hero {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sky-500);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 11em;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.hero-lead,
.page-lead {
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-lead {
  margin-bottom: 2rem;
}

.hero-art {
  position: relative;
  min-height: 0;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border: 1px solid rgba(76, 168, 203, 0.32);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: none;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover {
  background: #205a78;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--ink);
}

.content-section,
.split-section,
.contact-section,
.article-section,
.project-article {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(48, 117, 145, 0.06);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.project-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: var(--sky-100);
}

.project-card-body {
  padding: 1.4rem 1.5rem 1.55rem;
}

.project-card-body p:not(.project-status) {
  color: var(--muted);
}

.project-status {
  margin-bottom: 0.7rem;
  color: var(--sky-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.text-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 3rem;
}

.section-copy,
.narrow-copy {
  max-width: 680px;
  color: var(--muted);
}

.section-copy p,
.narrow-copy p {
  font-size: 1.12rem;
}

.contact-section {
  padding-bottom: clamp(5rem, 11vw, 9rem);
}

.contact-section > p:not(.eyebrow),
.contact-section > h2 {
  max-width: 620px;
}

.contact-section > p:not(.eyebrow) {
  color: var(--muted);
}

.page-hero {
  max-width: 820px;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(3rem, 7vw, 5rem);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-weight: 700;
}

.project-cover {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto 3rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.project-article .narrow-copy {
  margin-inline: auto;
}

.project-article .button {
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.footer-meta {
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.5rem 1.2rem;
}

.footer-meta a {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .site-header {
    align-items: flex-start;
    gap: 1rem;
    padding-block: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: end;
    gap: 0.35rem 0.9rem;
    padding-top: 0.5rem;
    font-size: 0.92rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding-block: 4.5rem 4rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-art {
    transform: none;
  }

  .section-heading,
  .split-section,
  .site-footer {
    display: block;
  }

  .section-heading h2 {
    margin-top: 0.5rem;
  }

  .split-section .section-copy {
    margin-top: 1.5rem;
  }

  .site-footer > div + div {
    margin-top: 1rem;
  }

  .footer-meta {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
