/* 倒挂金钩造物 — ref001 布局 / Apple 风格排版 */

:root {
  --text: #1d1d1f;
  --text-subtle: #6e6e73;
  --text-muted: #86868b;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --hairline: rgba(0, 0, 0, 0.1);
  --nav-height: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --wrap: min(1068px, 100% - 48px);
  font-size: 17px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro SC",
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Segoe UI",
    sans-serif;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1068px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 12px;
  font-weight: 400;
}

.site-nav__link {
  padding: 0.25rem 0 0.2rem;
  color: var(--text-subtle);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-nav__link:hover {
  color: var(--text);
  opacity: 1;
}

.site-nav__link--active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* —— Hero full-bleed —— */
.hero-full {
  position: relative;
  min-height: min(92vh, 980px);
  max-height: 1100px;
  background: #000;
  overflow: hidden;
}

.hero-full__media {
  width: 100%;
  height: 100%;
  min-height: min(92vh, 980px);
  max-height: 1100px;
  object-fit: cover;
  object-position: center;
}

.hero-full__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.hero-full__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 24px 4rem;
}

.hero-full__title {
  margin: 0 0 0.35em;
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f5f5f7;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-full__subtitle {
  margin: 0;
  max-width: 22em;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #f5f5f7;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

/* —— Showcase —— */
.section {
  padding: 4.75rem 0 5.5rem;
  background: var(--bg);
}

.section--showcase {
  border-top: 1px solid var(--hairline);
}

.section-copy {
  text-align: center;
  margin-bottom: 3.5rem;
}

.headline {
  margin: 0 0 0.65em;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.subhead {
  margin: 0 auto;
  max-width: 38em;
  font-size: 19px;
  line-height: 1.4211;
  letter-spacing: -0.012em;
  color: var(--text-muted);
  font-weight: 400;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 24px;
  max-width: 1068px;
  margin: 0 auto;
}

.product-card {
  margin: 0;
  border-radius: 18px;
  background: var(--bg-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  cursor: default;
  outline: none;
}

.product-card__inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: middle;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.72) 100%);
  color: #f5f5f7;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
  text-align: left;
}

.product-card__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.product-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.92);
}

@media (hover: hover) {
  .product-card:hover .product-card__overlay {
    opacity: 1;
  }
}

.product-card:focus-within .product-card__overlay {
  opacity: 1;
}

.showcase-footnote {
  margin: 2.75rem auto 0;
  max-width: 42em;
  padding: 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .site-nav {
    gap: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0 4rem;
  }
}

/* —— Supply: map + fused service panel (ref001) —— */
.section--supply {
  padding-bottom: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
}

.section--supply .section-copy {
  padding-top: 0.5rem;
}

.map-fusion {
  position: relative;
  margin-top: 2.5rem;
  line-height: 0;
  overflow: hidden;
}

.map-fusion__map {
  width: 100%;
  vertical-align: middle;
}

.map-fusion__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1068px, calc(100% - 48px));
  max-height: calc(100% - 32px);
  padding: clamp(1.35rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  line-height: 1.47;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.map-fusion__panel .wrap {
  width: 100%;
  max-width: 1068px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list__row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hairline);
}

.service-list__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-list__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.service-list__desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-subtle);
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .map-fusion__panel {
    width: calc(100% - 24px);
    max-height: calc(100% - 20px);
    padding: 1rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
  }

  .service-list__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.85rem 0;
  }

  .service-list__name {
    font-size: 16px;
  }

  .service-list__desc {
    font-size: 14px;
  }
}

/* —— Subpages —— */
.page-main {
  padding: 3.25rem 24px 4.5rem;
  min-height: 56vh;
  background: var(--bg);
}

.page-prose {
  max-width: 680px;
  margin: 0 auto;
}

.page-prose__h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-prose__h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-prose p {
  margin: 0 0 1rem;
  color: var(--text-subtle);
  font-size: 17px;
}

.page-prose p strong {
  color: var(--text);
}

.page-culture {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.35rem;
  row-gap: 0.85rem;
  margin: 1.35rem 0 1.25rem;
  padding: 0;
}

.page-culture dt {
  margin: 0;
  font-weight: 400;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.page-culture dt::after {
  content: "：";
}

.page-culture dd {
  margin: 0;
  color: var(--text-subtle);
  font-size: 17px;
}

.page-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-subtle);
}

.page-list li {
  margin-bottom: 0.65rem;
}

.page-list li strong {
  color: var(--text);
}

.page-prose__mailto {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.page-prose__mailto:hover {
  opacity: 0.8;
}

.page-prose__hint {
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

.page-prose__back {
  margin-top: 2.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.page-prose__back a {
  font-size: 15px;
  color: var(--text-subtle);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-prose__back a:hover {
  color: var(--text);
  opacity: 1;
}

/* —— Footer —— */
.site-footer {
  background: var(--bg-soft);
  color: var(--text);
  padding: 3rem 24px 3.5rem;
  border-top: 1px solid var(--hairline);
}

.site-footer__inner {
  max-width: 1068px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__company {
  margin: 0 0 0.35rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.site-footer__icp {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer__icp a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__icp a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 1;
}
