:root {
  color-scheme: light;
  --ink: #10151c;
  --muted: #687382;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --line: #d9d5ca;
  --deep: #101820;
  --deep-2: #17232e;
  --gold: #d7a84a;
  --gold-soft: #f1d58c;
  --teal: #18a79c;
  --cyan: #82ded9;
  --coral: #d66a4e;
  --shadow: 0 22px 60px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.78);
  color: #fffaf0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.hero-status,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(172px, 17vw, 190px);
  height: auto;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.92rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fffaf0;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 112px max(24px, calc((100vw - 1180px) / 2)) 30px;
  background: var(--deep);
  color: #fffaf0;
}

#tide-map,
.hero-shade {
  position: absolute;
  inset: 0;
}

#tide-map {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.94), rgba(16, 24, 32, 0.58) 54%, rgba(16, 24, 32, 0.76)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.08) 36%, rgba(16, 24, 32, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding-bottom: 4vh;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(92deg, #fffaf0 5%, var(--gold-soft) 42%, var(--cyan) 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.slogan {
  margin-bottom: 24px;
  color: #fffaf0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 750;
  line-height: 1.45;
}

.slogan em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.6em;
  font-style: normal;
  font-weight: 600;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.primary-link {
  background: var(--gold);
  color: #17202b;
  box-shadow: 0 12px 32px rgba(215, 168, 74, 0.28);
}

.primary-link:hover {
  background: var(--gold-soft);
}

.secondary-link {
  border: 1px solid rgba(255, 250, 240, 0.24);
  color: #fffaf0;
}

.secondary-link:hover {
  border-color: rgba(255, 250, 240, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero-status {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-status span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 250, 240, 0.08);
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.88rem;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  padding-top: 54px;
}

.intro-grid,
.section-heading,
.method,
.proof,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.method h2,
.proof h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.timeline-item p,
.proof p,
.contact p,
.service-card p {
  color: var(--muted);
  line-height: 1.78;
}

.intro-grid p,
.section-heading p,
.proof p,
.contact p {
  font-size: 1.05rem;
}

.service-band {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
  background: #fffaf0;
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 36px;
}

.service-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 284px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 24, 32, 0.06);
}

.service-index {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 38px 0 16px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.method {
  align-items: stretch;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item strong {
  font-size: 1.1rem;
}

.timeline-item p {
  margin-bottom: 0;
}

.proof {
  width: min(1180px, calc(100% - 48px));
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  padding: 46px;
  background: var(--deep-2);
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.proof p {
  color: rgba(255, 250, 240, 0.72);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.principle-list span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
  color: var(--gold-soft);
  font-size: 1.25rem;
  font-weight: 850;
}

.contact {
  align-items: center;
}

.contact .primary-link {
  justify-self: end;
  min-width: 260px;
}

.site-footer {
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: 84vh;
  }

  .intro-grid,
  .section-heading,
  .method,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact .primary-link {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    width: 166px;
  }

  .hero {
    min-height: 84vh;
    padding: 100px 18px 24px;
  }

  h1 {
    font-size: clamp(2.85rem, 13.2vw, 4.4rem);
  }

  .hero-status span {
    white-space: normal;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .service-band {
    padding: 64px 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .timeline-item p {
    grid-column: 2;
  }

  .proof {
    width: calc(100% - 32px);
    padding: 28px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .contact .primary-link {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
  }
}
