:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5b6673;
  --line: #dbe2e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1f5f99;
  --teal: #16736c;
  --gold: #a66b22;
  --green: #2f7a4f;
  --shadow: 0 18px 50px rgba(19, 35, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(17, 31, 44, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 42px;
  overflow: hidden;
  color: #fff;
  background: #102439;
}

#heroCanvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 24, 38, 0.94) 0%, rgba(10, 24, 38, 0.74) 48%, rgba(10, 24, 38, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 24, 38, 0.88) 0%, rgba(10, 24, 38, 0.06) 48%);
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(820px, 100%);
  padding-bottom: clamp(28px, 8vh, 82px);
}

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

.hero .eyebrow {
  color: #d4a25d;
}

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

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 900px;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  font-size: 15px;
  font-weight: 700;
}

.button.primary {
  border-color: #d4a25d;
  color: #102439;
  background: #d4a25d;
}

.button.secondary {
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1080px, 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  padding: 20px 24px 8px 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 18px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.band {
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}

.intro-grid,
.service-grid,
.case-list,
.capacity-grid,
.timeline,
.contact-section {
  max-width: 1180px;
  margin-inline: auto;
}

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

.intro-grid p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  min-height: 276px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-index {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.case-list h3,
.timeline h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.service-card p,
.case-list p,
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.case-list article {
  padding: 28px;
  background: var(--paper);
}

.case-list h3 {
  margin-top: 0;
  color: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 24px 24px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.timeline h3 {
  margin-top: 2px;
}

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

.capacity-grid div {
  min-height: 160px;
  padding: 24px;
  color: #fff;
  background: var(--ink);
}

.capacity-grid div:nth-child(2) {
  background: var(--blue);
}

.capacity-grid div:nth-child(3) {
  background: var(--teal);
}

.capacity-grid div:nth-child(4) {
  background: var(--green);
}

.capacity-grid strong,
.capacity-grid span {
  display: block;
}

.capacity-grid strong {
  margin-bottom: 12px;
  font-size: 20px;
}

.capacity-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 36px;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: #102439;
}

.contact-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
}

.contact-copy p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel dl,
.contact-panel dd {
  margin: 0;
}

.contact-panel div {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel div:last-child {
  margin-bottom: 0;
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.contact-panel dd {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
}

.contact-note {
  margin: 22px 0 0;
  color: #d4a25d;
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 22px 20px;
  color: #5c6670;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 860px;
    padding-top: 148px;
  }

  .hero-metrics,
  .section-heading,
  .intro-grid,
  .case-list,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 780px;
    padding-inline: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .section,
  .contact-section {
    padding-inline: 18px;
  }

  .section-heading {
    gap: 8px;
  }

  .service-card {
    min-height: auto;
  }

  .contact-section {
    padding-block: 54px;
  }

  .contact-panel {
    padding: 22px;
  }
}
