/* wise-styles.css — foundation for 本地化网站 · Wise 风格
   Encodes the "Atlas Vol.01" Wise-style design system:
   4 greens only · neutrals derived from forest alpha · 2 typefaces ·
   no italic / no serif (emphasis = colour + weight) · 8px spacing · pill tabs. */

:root {
  /* —— 4 greens (the ONLY hues in the system) —— */
  --w-forest: #163300;      /* deep green — dark surfaces + body ink */
  --w-forest-2: #0e2200;    /* forest, one step darker (footer) */
  --w-lime: #9FE870;        /* lime — emphasis surface / highlight / CTA */
  --w-lime-deep: #7BC659;   /* deep lime — emphasis TEXT on light surfaces */
  --w-cream: #FFFCF5;       /* warm white paper */
  --w-cream-2: #F5F2E8;     /* faint warm card fill */

  /* —— neutrals derived from forest alpha (no new hues) —— */
  --w-ink-2: rgba(22, 51, 0, 0.66);      /* secondary body text */
  --w-mute: rgba(22, 51, 0, 0.55);       /* muted labels */
  --w-line: rgba(22, 51, 0, 0.12);       /* hairline */
  --w-fill: rgba(22, 51, 0, 0.045);      /* faint fill */
  --w-on-dark: #FFFCF5;                  /* text on forest */
  --w-muted-dark: rgba(255, 252, 245, 0.62);
  --w-hair-dark: rgba(255, 252, 245, 0.16);

  /* —— 2 typefaces —— */
  --w-display: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --w-sans: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --w-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* —— radii —— */
  --w-r-card: 24px;
  --w-r-small: 12px;
  --w-r-chip: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--w-sans);
  color: var(--w-forest);
  background: var(--w-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* system rule: never mechanically slant / embolden — CJK breaks under it */
  font-synthesis: none;
}

img {
  max-width: 100%;
}

[id] {
  scroll-margin-top: 92px;
}

/* ---------- Layout container ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(24px, 4vw, 56px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--w-forest);
  font-family: var(--w-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--w-lime);
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: var(--w-forest);
  font-family: var(--w-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0.62;
  padding: 6px 0;
  transition: opacity 0.18s ease;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a.on {
  opacity: 1;
  font-weight: 700;
}

.nav-menu a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--w-forest);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 116px 0 64px;
}

.hero .wrap {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: 100%;
}

.hero-left {
  max-width: 1040px;
}

/* mono dateline above the display title */
.hero-kicker {
  font-family: var(--w-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--w-mute);
  margin: 0 0 30px;
}

.hero-h {
  margin: 0 0 32px;
  font-family: var(--w-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--w-forest);
  text-wrap: balance;
}

.hero-h em {
  font-style: normal;
  background: var(--w-lime);
  color: var(--w-forest);
  padding: 0.02em 0.16em 0.1em;
  border-radius: 0.16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-body {
  margin: 0;
  color: var(--w-ink-2);
  font-size: 18px;
  line-height: 1.58;
}

.hero-body em {
  font-style: normal;
  font-weight: 800;
  color: var(--w-forest);
}

.hero-img {
  width: 100%;
}

/* ---------- Section blocks ---------- */
.block {
  position: relative;
  padding: 96px 0;
}

.block.cream {
  background: var(--w-cream);
  color: var(--w-forest);
}

.block.dark {
  background: var(--w-forest);
  color: var(--w-on-dark);
}

/* Section eyebrow — mono, used for grouping (no separate label type level) */
.sec-eye {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--w-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w-lime-deep);
  font-weight: 500;
}

.sec-eye .pipe {
  display: inline-block;
  width: 42px;
  height: 1.5px;
  background: rgba(22, 51, 0, 0.34);
}

.sec-h {
  margin: 0 0 24px;
  font-family: var(--w-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--w-forest);
}

.sec-h em {
  font-style: normal;
  color: var(--w-lime-deep);
}

.sec-sub {
  margin: 0 0 56px;
  max-width: 680px;
  color: var(--w-ink-2);
  font-size: 18px;
  line-height: 1.58;
}

/* ---------- Culture cards ---------- */
.ccard-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ccard {
  position: relative;
  min-height: 520px;
  border: 0;
  border-radius: var(--w-r-card);
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #edece6, #dcdbd2);
  color: var(--w-forest);
  cursor: pointer;
  outline: none;
  isolation: isolate;
}

.ccard:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 51, 0, 0.28);
}

.ccard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.ccard-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 34%);
}

.ccard-title {
  position: absolute;
  left: 28px;
  top: 26px;
  right: 28px;
  margin: 0;
  font-family: var(--w-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--w-forest);
}

.ccard-plus {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--w-lime);
  color: var(--w-forest);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  z-index: 4;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.ccard-detail {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 34px 32px 96px;
  background: var(--w-forest);
  color: var(--w-on-dark);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.ccard.open .ccard-detail {
  opacity: 1;
  visibility: visible;
}

.ccard.open .ccard-scrim {
  opacity: 0;
}

.ccard.open .ccard-plus {
  transform: rotate(45deg);
}

.ccard-dtitle {
  margin: 0;
  font-family: var(--w-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--w-lime);
}

.ccard-lead {
  margin: 0;
  color: rgba(255, 252, 245, 0.82);
  font-size: 18px;
  line-height: 1.5;
}

.ccard-block {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 252, 245, 0.2);
}

.ccard-blabel {
  display: block;
  margin-bottom: 8px;
  font-family: var(--w-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--w-lime);
}

.ccard-btext {
  margin: 0;
  color: rgba(255, 252, 245, 0.86);
  font-size: 18px;
  line-height: 1.56;
}

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

@media (max-width: 760px) {
  .ccard-row {
    grid-template-columns: 1fr;
  }
  .ccard {
    min-height: 420px;
  }
}
