/* Golden Joint Capital — Visual Polish v2 */

:root {
  --bg: #050608;
  --bg-soft: #0a0c10;
  --panel: rgba(18, 18, 20, 0.75);
  --gold: #bda25a;
  --gold-light: #d6bf78;
  --gold-dark: #8e7536;
  --text: #f2f0e9;
  --text-soft: #b6b2a8;
  --line: rgba(189, 162, 90, 0.25);
  --header-h: 74px;
  --font-zh: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold);
}

button,
input {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 6, 8, 0.35);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

.header-inner {
  width: min(100% - 2rem, 1240px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1.4rem);
}

.nav-link {
  position: relative;
  display: inline-block;
  color: var(--text-soft);
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.1rem 0.55rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link-mail {
  margin-left: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  border-radius: 2px;
  box-shadow: 0 0 0 rgba(189, 162, 90, 0);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nav-link-mail::after {
  display: none;
}

.nav-link-mail:hover,
.nav-link-mail.is-active {
  background: rgba(189, 162, 90, 0.14);
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(189, 162, 90, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4.5rem;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Optional local photo layer — used when assets/shenzhen-night.jpg exists */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/shenzhen-night.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  opacity: 0.34;
  filter: saturate(0.82) brightness(0.72) contrast(1.08);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 32%, rgba(189, 162, 90, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.55) 0%, rgba(8, 10, 14, 0.35) 40%, rgba(5, 6, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.75) 0%, transparent 28%, transparent 72%, rgba(5, 6, 8, 0.75) 100%),
    linear-gradient(180deg, #07090e 0%, #0c1018 45%, #050608 100%);
}

.hero-glow {
  position: absolute;
  width: min(640px, 70vw);
  height: min(420px, 50vh);
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(214, 191, 120, 0.14), transparent 68%);
  filter: blur(12px);
}

.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(220px, 42vh, 420px);
}

.hero-skyline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  opacity: 0.9;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 8, 0.2) 55%, rgba(5, 6, 8, 0.85) 100%),
    /* Far skyline layer */
    linear-gradient(90deg,
      transparent 0%, #12161e 1.5%, #12161e 3%, transparent 3.2%,
      transparent 5%, #0e1219 5.2%, #0e1219 8%, transparent 8.2%,
      transparent 11%, #151a24 11.2%, #151a24 14.5%, transparent 14.7%,
      transparent 17%, #10151d 17.2%, #10151d 19%, transparent 19.2%,
      transparent 22%, #171d28 22.2%, #171d28 27%, transparent 27.2%,
      transparent 30%, #0f141c 30.2%, #0f141c 33%, transparent 33.2%,
      transparent 36%, #1a2130 36.1%, #1a2130 42%, transparent 42.2%,
      transparent 45%, #121821 45.2%, #121821 48%, transparent 48.2%,
      transparent 51%, #161c27 51.2%, #161c27 56%, transparent 56.2%,
      transparent 59%, #10161f 59.2%, #10161f 62%, transparent 62.2%,
      transparent 65%, #181f2b 65.1%, #181f2b 71%, transparent 71.2%,
      transparent 74%, #111720 74.2%, #111720 77%, transparent 77.2%,
      transparent 80%, #151b25 80.2%, #151b25 85%, transparent 85.2%,
      transparent 88%, #0f151e 88.2%, #0f151e 91%, transparent 91.2%,
      transparent 94%, #141a24 94.2%, #141a24 98%, transparent 98.2%
    );
  clip-path: polygon(
    0% 100%, 0% 62%, 1.5% 62%, 1.5% 48%, 3% 48%, 3% 62%,
    5.2% 62%, 5.2% 40%, 6% 40%, 6% 28%, 7.2% 28%, 7.2% 40%, 8% 40%, 8% 62%,
    11.2% 62%, 11.2% 35%, 12.5% 35%, 12.5% 22%, 13.5% 22%, 13.5% 35%, 14.5% 35%, 14.5% 62%,
    17.2% 62%, 17.2% 50%, 19% 50%, 19% 62%,
    22.2% 62%, 22.2% 30%, 23.5% 30%, 23.5% 12%, 25% 12%, 25% 8%, 25.8% 8%, 25.8% 12%, 27% 12%, 27% 30%, 27% 62%,
    30.2% 62%, 30.2% 45%, 33% 45%, 33% 62%,
    36.1% 62%, 36.1% 25%, 37.5% 25%, 37.5% 5%, 39% 5%, 39% 0%, 40.2% 0%, 40.2% 5%, 41.5% 5%, 41.5% 25%, 42% 25%, 42% 62%,
    45.2% 62%, 45.2% 42%, 48% 42%, 48% 62%,
    51.2% 62%, 51.2% 28%, 52.8% 28%, 52.8% 15%, 54.5% 15%, 54.5% 28%, 56% 28%, 56% 62%,
    59.2% 62%, 59.2% 48%, 62% 48%, 62% 62%,
    65.1% 62%, 65.1% 22%, 66.5% 22%, 66.5% 6%, 68% 6%, 68% 2%, 69.2% 2%, 69.2% 6%, 70.5% 6%, 70.5% 22%, 71% 22%, 71% 62%,
    74.2% 62%, 74.2% 44%, 77% 44%, 77% 62%,
    80.2% 62%, 80.2% 32%, 82% 32%, 82% 18%, 83.5% 18%, 83.5% 32%, 85% 32%, 85% 62%,
    88.2% 62%, 88.2% 50%, 91% 50%, 91% 62%,
    94.2% 62%, 94.2% 38%, 96% 38%, 96% 25%, 97.2% 25%, 97.2% 38%, 98% 38%, 98% 62%,
    100% 62%, 100% 100%
  );
}

.hero-skyline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(189, 162, 90, 0.12), transparent 70%),
    linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.55)),
    repeating-linear-gradient(
      90deg,
      transparent 0 14px,
      rgba(214, 191, 120, 0.035) 14px 15px
    );
  opacity: 0.85;
  /* Water reflection */
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.62) 0%, transparent 26%, transparent 55%, rgba(5, 6, 8, 0.9) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 6, 8, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 1.75rem;
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 180%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(189, 162, 90, 0.22), transparent 68%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.hero-logo {
  width: 220px;
  max-width: min(220px, 58vw);
  margin: 0 auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-legal-zh {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.hero-legal-en {
  font-family: var(--font-en);
  font-size: clamp(16px, 1.35vw, 18px);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.4rem;
  line-height: 1.5;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  padding-block: 0.35rem;
}

.hero-title-zh {
  font-size: clamp(1.7rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  line-height: 1.4;
}

.hero-title-en {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.4vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(242, 240, 233, 0.72);
  line-height: 1.55;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.6rem;
}

.hero-lead-zh {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.2em;
}

.hero-lead-en {
  font-family: var(--font-en);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), color 0.3s ease, box-shadow 0.3s ease;
}

.btn-sub {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.78;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(189, 162, 90, 0.28), rgba(142, 117, 54, 0.14));
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 0 rgba(189, 162, 90, 0);
}

.btn-primary:hover {
  background: linear-gradient(180deg, rgba(214, 191, 120, 0.38), rgba(142, 117, 54, 0.22));
  color: #efe4c2;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(189, 162, 90, 0.28), 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(189, 162, 90, 0.42);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(189, 162, 90, 0.12), rgba(189, 162, 90, 0.04));
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(189, 162, 90, 0.18);
}

.btn-block {
  width: 100%;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.scroll-hint-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

/* Hero staggered entrance */
.hero-anim {
  opacity: 0;
}

.hero-anim-down {
  transform: translateY(-18px);
  animation: fade-down 0.9s var(--ease) forwards;
}

.hero-anim-up {
  transform: translateY(22px);
  animation: fade-up 0.9s var(--ease) forwards;
}

.hero-logo-wrap.hero-anim-down { animation-delay: 0.12s; }
.hero-legal-zh.hero-anim-up { animation-delay: 0.28s; }
.hero-legal-en.hero-anim-up { animation-delay: 0.38s; }
.hero-title.hero-anim-up { animation-delay: 0.5s; }
.hero-lead.hero-anim-up { animation-delay: 0.64s; }
.hero-actions.hero-anim-up { animation-delay: 0.78s; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 7.5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header-left {
  text-align: left;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
}

.section-subtitle {
  margin-top: 0.6rem;
  font-family: var(--font-en);
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  letter-spacing: 0.24em;
  color: var(--gold);
}

/* About */

.about {
  background: var(--bg-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-main .section-header {
  margin-bottom: 0.25rem;
}

.about-copy p + p {
  margin-top: 1.2rem;
}

.about-copy p {
  color: var(--text-soft);
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  font-weight: 400;
}

.about-keywords {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.keyword-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(189, 162, 90, 0.14);
}

.keyword-item:first-child {
  padding-top: 0.25rem;
}

.keyword-item:last-child {
  padding-bottom: 0.25rem;
  border-bottom: 0;
}

.keyword-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.keyword-item p {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.about-visual {
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(189, 162, 90, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(18, 18, 20, 0.95), rgba(8, 9, 12, 0.98));
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

.about-visual-inner {
  position: absolute;
  inset: 0;
}

.geo-tower {
  position: absolute;
  bottom: 18%;
  background: linear-gradient(180deg, rgba(214, 191, 120, 0.18), rgba(189, 162, 90, 0.04));
  border: 1px solid rgba(189, 162, 90, 0.28);
  border-bottom: 0;
}

.geo-tower-a {
  left: 16%;
  width: 42px;
  height: 42%;
}

.geo-tower-b {
  left: 32%;
  width: 58px;
  height: 62%;
  background: linear-gradient(180deg, rgba(214, 191, 120, 0.28), rgba(189, 162, 90, 0.05));
  box-shadow: 0 0 30px rgba(189, 162, 90, 0.12);
}

.geo-tower-c {
  left: 52%;
  width: 36px;
  height: 36%;
}

.geo-tower-d {
  left: 66%;
  width: 70px;
  height: 52%;
}

.geo-line {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 162, 90, 0.55), transparent);
}

.geo-glow {
  position: absolute;
  width: 55%;
  height: 40%;
  right: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(214, 191, 120, 0.16), transparent 70%);
  filter: blur(8px);
}

.geo-tower-b::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 2px;
  height: 18px;
  background: rgba(214, 191, 120, 0.55);
  transform: translateX(-50%);
}

.geo-tower-b::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 12%;
  bottom: 12%;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 10px,
      rgba(214, 191, 120, 0.08) 10px 11px
    );
}

/* Story */

.story {
  overflow: hidden;
  background: #08090c;
}

.story-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.oasis-dunes {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background:
    radial-gradient(ellipse 90% 70% at 78% 80%, rgba(142, 117, 54, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 20% 95%, rgba(90, 70, 35, 0.2), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(20, 16, 10, 0.45) 100%);
}

.oasis-horizon {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 162, 90, 0.35), transparent);
}

.oasis-glow {
  position: absolute;
  width: min(420px, 55vw);
  height: min(220px, 30vw);
  right: 8%;
  bottom: 32%;
  background: radial-gradient(ellipse at center, rgba(214, 191, 120, 0.14), transparent 68%);
}

.story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: var(--max);
}

.story-main .section-header {
  margin-bottom: 1.5rem;
}

.story-body p {
  color: var(--text-soft);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
}

.story-body p + p {
  margin-top: 1.25rem;
}

.story-art {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(10, 11, 14, 0.9);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.story-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Services */

.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  padding: 1.7rem 1.4rem 1.85rem;
  background: var(--panel);
  border: 1px solid rgba(189, 162, 90, 0.18);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 191, 120, 0.62);
  background: rgba(22, 22, 25, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(189, 162, 90, 0.16);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
}

.service-title-en {
  margin-top: 0.35rem;
  margin-bottom: 0.95rem;
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.service-desc {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.75;
}

/* Principles */

.principles {
  background: var(--bg-soft);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.principle-card {
  position: relative;
  padding: 2rem 1.5rem 1.9rem;
  border: 1px solid rgba(189, 162, 90, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(189, 162, 90, 0.07), rgba(14, 15, 18, 0.2) 55%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.principle-index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(189, 162, 90, 0.42);
}

.principle-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.principle-title-en {
  margin-top: 0.4rem;
  margin-bottom: 1.05rem;
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--text-soft);
}

.principle-desc {
  font-size: 0.96rem;
  color: var(--text-soft);
}

/* Contact + Mail */

.contact-mail {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}

.contact-panel,
.mail-panel {
  padding: clamp(1.7rem, 3vw, 2.2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  position: relative;
}

.contact-panel::before,
.mail-panel::before {
  content: "";
  position: absolute;
  left: 1.7rem;
  right: 1.7rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-company-zh {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-company-en {
  font-family: var(--font-en);
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-top: -0.75rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(189, 162, 90, 0.14);
}

.contact-label {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.contact-en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--text-soft);
}

.link-underline {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--gold-light);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.link-underline:hover {
  color: var(--gold-light);
}

.link-underline:hover::after {
  transform: scaleX(1);
}

.mail-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(189, 162, 90, 0.28);
  border-radius: 12px;
  background: rgba(5, 6, 8, 0.72);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 162, 90, 0.12);
}

.mail-input-group {
  display: flex;
  align-items: stretch;
  height: 52px;
  border: 1px solid rgba(189, 162, 90, 0.28);
  border-radius: 12px;
  background: rgba(5, 6, 8, 0.72);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mail-input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 162, 90, 0.12);
}

.mail-input-group input {
  border: 0;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.mail-input-group input:focus {
  box-shadow: none;
}

.mail-domain {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  border-left: 1px solid rgba(189, 162, 90, 0.22);
  color: var(--text-soft);
  font-size: 0.82rem;
  white-space: nowrap;
  background: rgba(189, 162, 90, 0.06);
}

.mail-form .btn-primary {
  height: auto;
  min-height: 56px;
  border-radius: 12px;
}

.mail-security-note {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-soft);
  border-top: 1px solid rgba(189, 162, 90, 0.15);
  padding-top: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid transparent;
  background: #040507;
  padding: 2.5rem 0 2.7rem;
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(280px, 50%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-brand {
  color: var(--gold-light);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.footer-company,
.footer-copy,
.footer-beian {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.footer-beian a {
  color: var(--text-soft);
}

.footer-beian a:hover {
  color: var(--gold-light);
}

/* Reveal */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-layout,
  .story-layout,
  .contact-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 260px;
  }

  .section-header-left {
    text-align: left;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(100%, 320px);
    height: calc(100vh - var(--header-h));
    padding: 1.4rem 1.3rem 2rem;
    background: rgba(8, 8, 10, 0.97);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .site-nav {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(189, 162, 90, 0.1);
  }

  .nav-link-mail {
    margin: 0.8rem 0 0;
    text-align: center;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 70px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 1.6rem);
    padding-bottom: 4rem;
  }

  .hero-logo {
    width: min(200px, 54vw);
  }

  .hero-legal-zh {
    letter-spacing: 0.04em;
    line-height: 1.45;
    padding-inline: 0.2rem;
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .hero-title-zh {
    letter-spacing: 0.08em;
  }

  .hero-lead-zh {
    letter-spacing: 0.1em;
  }

  .hero-skyline {
    height: clamp(180px, 36vh, 280px);
  }

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

  .btn {
    width: 100%;
  }

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

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .mail-domain {
    font-size: 0.72rem;
    padding-inline: 0.55rem;
  }

  .contact-panel,
  .mail-panel {
    padding: 1.35rem 1.15rem;
  }

  .contact-panel::before,
  .mail-panel::before {
    left: 1.15rem;
    right: 1.15rem;
  }
}

@media (min-width: 1440px) {
  .container {
    --max: 1200px;
  }

  .header-inner {
    width: min(100% - 3rem, 1320px);
  }
}

@media (min-width: 1920px) {
  .container {
    --max: 1260px;
  }
}

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

  .hero-anim,
  .scroll-hint-line,
  .js .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card:hover,
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.75);
    transform-origin: top;
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1);
    transform-origin: top;
  }
}
