:root {
  color-scheme: light;
  --ink: #102022;
  --muted: #5e6b67;
  --paper: #f8faf7;
  --panel: #ffffff;
  --line: #dbe2da;
  --teal: #0f766e;
  --green: #4f8a5a;
  --amber: #c8842f;
  --night: #071719;
  --shadow: 0 22px 60px rgba(16, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #f7fbf8;
  background: rgba(7, 23, 25, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.brand small {
  color: rgba(247, 251, 248, 0.76);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(247, 251, 248, 0.78);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  color: #ffffff;
  background: var(--night);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 23, 25, 0.9) 0%, rgba(7, 23, 25, 0.67) 38%, rgba(7, 23, 25, 0.22) 78%),
    linear-gradient(0deg, rgba(7, 23, 25, 0.58), rgba(7, 23, 25, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 84px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b15f;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  max-width: none;
  font-size: clamp(2.75rem, 5.5vw, 4.7rem);
  font-weight: 800;
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.button-primary {
  color: #071719;
  background: #d9f3eb;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.4fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
}

.section-heading h2,
.status-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro-text {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

.intro-text p {
  margin: 0;
}

.intro-text p + p {
  margin-top: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.work-card {
  min-height: 250px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 800;
}

.work-card h3 {
  font-size: 1.28rem;
}

.work-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.status-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  color: #f8fbf8;
  background: #102022;
}

.status-band p {
  margin: 0;
  color: rgba(248, 251, 248, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.status-band strong {
  color: #ffffff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.4fr);
  gap: clamp(28px, 7vw, 84px);
}

.contact-panel {
  padding: 30px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel p {
  margin: 0;
}

.contact-panel p + p {
  margin-top: 12px;
}

.contact-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-link:hover {
  color: var(--green);
}

.domain-line strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(248, 251, 248, 0.72);
  background: #071719;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 86svh;
  }

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

  .hero-content {
    width: min(620px, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 78px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 23, 25, 0.92), rgba(7, 23, 25, 0.7)),
      linear-gradient(0deg, rgba(7, 23, 25, 0.64), rgba(7, 23, 25, 0.16));
  }

  .section-intro,
  .contact-section,
  .status-band {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .brand small {
    display: none;
  }

  .site-nav a {
    padding: 6px 0;
  }

  h1 {
    font-size: clamp(1.7rem, 8.4vw, 2.85rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
