:root {
  --color-background: #f3f1e9;
  --color-surface: #faf9f4;
  --color-surface-strong: #ffffff;
  --color-ink: #12353a;
  --color-ink-soft: #587074;
  --color-primary: #077580;
  --color-primary-deep: #075b65;
  --color-accent: #b88a4a;
  --color-line: rgba(18, 53, 58, 0.14);
  --color-light-line: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 24px 70px rgba(18, 53, 58, 0.08);
  --radius-large: 32px;
  --radius-medium: 20px;
  --page-gutter: clamp(20px, 5vw, 72px);
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5), transparent 36%),
    var(--color-background);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.ambient-shape {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.ambient-shape--one {
  top: -22rem;
  right: -16rem;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(8, 127, 140, 0.1);
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.18),
    0 0 0 5.1rem rgba(8, 127, 140, 0.08);
}

.ambient-shape--two {
  top: 43rem;
  left: -19rem;
  width: 34rem;
  height: 34rem;
  background: rgba(8, 127, 140, 0.04);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header__inner,
.hero,
.capabilities,
.identity-panel,
.site-footer__inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

.site-header {
  padding-block: 30px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-ink);
}

.brand__mark::before,
.brand__mark::after,
.brand__mark span {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
}

.brand__mark::before {
  right: 7px;
  bottom: -10px;
  width: 28px;
  height: 28px;
}

.brand__mark::after {
  right: -2px;
  bottom: -12px;
  width: 32px;
  height: 32px;
}

.brand__mark span {
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 0;
  background: #d9b979;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand__text strong {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand__text small {
  color: var(--color-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.site-header__company {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding-block: clamp(56px, 8vw, 108px) 116px;
}

.hero__content {
  max-width: 650px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--color-primary-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.3vw, 86px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.14em;
}

.hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.hero h1 > span,
.hero h1 em {
  white-space: nowrap;
}

.hero__lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--color-ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero__meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-art {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(8, 91, 101, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 22%, rgba(236, 214, 164, 0.24), transparent 22%),
    linear-gradient(165deg, #dbe9e5 0%, #accbc7 48%, #276873 49%, #0b3b45 100%);
  box-shadow: var(--shadow-soft);
}

.hero-art::before {
  position: absolute;
  inset: 0;
  z-index: 8;
  border: 10px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(7, 70, 78, 0.14);
  content: "";
  pointer-events: none;
}

.lighthouse-scene__stars {
  position: absolute;
  top: 17%;
  left: 19%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    52px -24px 0 rgba(255, 255, 255, 0.5),
    105px 15px 0 rgba(255, 255, 255, 0.66),
    164px -35px 0 rgba(255, 255, 255, 0.5),
    232px 8px 0 rgba(255, 255, 255, 0.72),
    277px -18px 0 rgba(255, 255, 255, 0.54);
}

.lighthouse-scene__moon {
  position: absolute;
  top: 14%;
  right: 17%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #f2e5be, #cfad6d);
  box-shadow: 0 0 34px rgba(239, 220, 174, 0.45);
}

.lighthouse-beam {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-origin: 57.5% 36%;
  animation: lighthouse-sweep 7s linear infinite;
}

.lighthouse-beam::before {
  position: absolute;
  top: 31.5%;
  left: 57.5%;
  width: 52%;
  height: 9%;
  background: linear-gradient(90deg, rgba(255, 235, 177, 0.68), rgba(255, 244, 207, 0));
  clip-path: polygon(0 43%, 100% 0, 100% 100%, 0 57%);
  content: "";
}

.lighthouse-sea {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 49%;
  background:
    repeating-linear-gradient(174deg, transparent 0 15px, rgba(255, 255, 255, 0.08) 16px 17px),
    linear-gradient(180deg, rgba(22, 89, 100, 0.7), #082f38);
}

.lighthouse-sea::before,
.lighthouse-sea::after,
.lighthouse-sea span {
  position: absolute;
  height: 1px;
  border-radius: 100%;
  background: rgba(221, 239, 233, 0.4);
  content: "";
}

.lighthouse-sea::before {
  top: 19%;
  left: 7%;
  width: 30%;
  box-shadow: 240px 42px 0 rgba(221, 239, 233, 0.22);
}

.lighthouse-sea::after {
  top: 47%;
  right: 10%;
  width: 25%;
  box-shadow: -255px 52px 0 rgba(221, 239, 233, 0.24);
}

.lighthouse-sea span {
  top: 73%;
  left: 23%;
  width: 37%;
  opacity: 0.42;
}

.lighthouse-island {
  position: absolute;
  z-index: 2;
  right: 24%;
  bottom: 19%;
  width: 38%;
  height: 10%;
  border-radius: 54% 46% 38% 48%;
  background: linear-gradient(180deg, #365f58, #183e3c);
  box-shadow: 0 8px 18px rgba(4, 34, 39, 0.28);
}

.lighthouse {
  position: absolute;
  z-index: 4;
  bottom: 25%;
  left: 50%;
  width: 15%;
  height: 41%;
}

.lighthouse__tower {
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 75%;
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(180deg, #f3eee1 0 24%, #2d716f 24% 42%);
  box-shadow: inset 10px 0 14px rgba(7, 70, 78, 0.12);
}

.lighthouse__tower span {
  position: absolute;
  top: 34%;
  left: 41%;
  width: 18%;
  height: 12%;
  border-radius: 8px 8px 2px 2px;
  background: #d6a74f;
  box-shadow: 0 0 12px rgba(230, 190, 110, 0.72);
}

.lighthouse__gallery {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 5%;
  width: 90%;
  height: 5%;
  border-radius: 4px;
  background: #173f42;
  box-shadow: 0 5px 0 rgba(243, 238, 225, 0.85);
}

.lighthouse__lantern {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 24%;
  width: 52%;
  height: 16%;
  border: 3px solid #173f42;
  border-radius: 4px 4px 2px 2px;
  background: rgba(255, 235, 177, 0.82);
  box-shadow: 0 0 18px rgba(255, 224, 145, 0.62);
}

.lighthouse__lantern span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 2px;
  background: rgba(23, 63, 66, 0.72);
}

.lighthouse__roof {
  position: absolute;
  z-index: 4;
  top: -2%;
  left: 17%;
  width: 66%;
  height: 10%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #173f42;
}

.hero-art__caption {
  position: absolute;
  z-index: 5;
  top: 53%;
  bottom: auto;
  left: 13%;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  line-height: 1.3;
}

.hero-art__caption span {
  font-size: 11px;
  letter-spacing: 0.24em;
  opacity: 0.72;
}

.hero-art__caption strong {
  margin-top: 7px;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.08em;
}

@keyframes lighthouse-sweep {
  to {
    transform: rotate(360deg);
  }
}

.capabilities {
  padding-block: 96px 108px;
  border-top: 1px solid var(--color-line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 48px;
}

.section-heading h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

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

.capability-card {
  position: relative;
  min-height: 270px;
  padding: 34px 32px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: rgba(250, 249, 244, 0.72);
}

.capability-card::after {
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(8, 127, 140, 0.1);
  border-radius: 50%;
  content: "";
}

.capability-card__number {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.capability-card h3 {
  margin: 62px 0 14px;
  font-size: 25px;
  line-height: 1.35;
}

.capability-card p {
  max-width: 280px;
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

.identity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 90px;
  padding: clamp(38px, 6vw, 68px);
  overflow: hidden;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.09), transparent 36%),
    var(--color-ink);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.eyebrow--light {
  color: #9fd5d2;
}

.identity-panel h2 {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 1.35;
}

.identity-panel > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.9;
}

.site-footer {
  border-top: 1px solid var(--color-line);
}

.site-footer__inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-ink-soft);
  font-size: 13px;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  text-underline-offset: 4px;
  transition: color 180ms ease, outline-color 180ms ease;
}

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

.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(8, 127, 140, 0.36);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 70px 96px;
  }

  .hero-art {
    width: min(82vw, 500px);
    justify-self: center;
  }

  .section-heading,
  .identity-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 20px;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .identity-panel {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-large: 24px;
  }

  .site-header {
    padding-block: 22px;
  }

  .site-header__company {
    max-width: 112px;
    text-align: right;
    font-size: 12px;
    line-height: 1.5;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    gap: 52px;
    padding-block: 56px 80px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1.12;
  }

  .hero__lead {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.85;
  }

  .hero__meta {
    flex-wrap: wrap;
  }

  .hero-art {
    width: min(88vw, 430px);
  }

  .capabilities {
    padding-block: 72px 80px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .capability-card {
    min-height: 230px;
    padding: 30px 28px;
  }

  .capability-card h3 {
    margin-top: 44px;
  }

  .identity-panel {
    margin-bottom: 60px;
    padding: 34px 28px;
  }

  .site-footer__inner {
    min-height: 124px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

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

  .lighthouse-beam {
    animation: none;
    transform: rotate(-18deg);
  }

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