/* 湖月照影 · 对公官网「造园册页（Garden Folio）」视觉与交互样式 (huyuezhaoying.com)
   设计基准：Apple HIG 网页版 + Nutlope/hallmark (Dose 云母暖宣 & Furrow 乌丝栏/等高线)
            + pbakaus/impeccable (纹理预算 <=0.08、禁英文眉标、同色相松烟青墨、文字稳态)
            + 集团手绘与造园册页组件库 */
:root {
  color-scheme: light;
  --tap: 48px;
  --disabled-opacity: 0.45;
  --scrim: rgba(23, 31, 38, 0.42);

  /* 纸张与云母屏风层 (Hue ~85° 晨光暖熟宣，废除冷白 #FFF 与蓝方格) */
  --paper: #FAF6EC;
  --paper-2: #EFE8D7;
  --card: rgba(250, 246, 236, 0.92);
  --card-solid: #FAF6EC;
  --glint: rgba(255, 255, 255, 0.94);

  /* 墨分五色 (锁 ~188° 松烟青墨色相，禁用纯黑 #000) */
  --ink-strong: #1C2423;
  --ink: #33403E;
  --ink-2: #5C6B68;
  --ink-4: #D4CCBA;
  --line: rgba(28, 36, 35, 0.82);
  --line-soft: rgba(154, 116, 50, 0.36);
  --gold: #9A7432;
  --gold-line: rgba(154, 116, 50, 0.44);

  /* 双信号色：Dose 松石竹青主信号 + 西泠印泥朱砂焦点 (<=5% 面积) */
  --accent: #1B6B50;
  --accent-ink: #13503B;
  --brand-active: #0E3F2E;
  --accent-tint: rgba(27, 107, 80, 0.09);
  --seal: #A42828;
  --seal-border: #7A1818;
  --seal-tint: rgba(164, 40, 40, 0.08);
  --accent-2: #B86B19;
  --accent-2-ink: #824908;
  --accent-2-edge: #B86B19;
  --accent-2-tint: rgba(184, 107, 25, 0.10);
  --ok: #1B6B50;

  /* 造园册页微圆角规制 */
  --r-lg: 6px;
  --r-md: 4px;
  --r-sm: 4px;

  /* 字体三体分工：正文无衬线 + 印章/书口刀刻重宋 + 数字等宽 */
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --serif: "STSongti-SC-Black", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  /* 纹理预算 <= 0.075：单层离散宣纸纤维 + 晨光斜照 + 极淡泥金暖晕，废除旧版科技蓝网格 */
  background-image:
    linear-gradient(128deg, rgba(255, 253, 248, 0.78) 0%, rgba(250, 246, 236, 0) 46%),
    radial-gradient(1100px 540px at 88% -6%, rgba(154, 116, 50, 0.08), transparent 65%),
    radial-gradient(960px 540px at -8% 28%, rgba(27, 107, 80, 0.06), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.18  0 0 0 0 0.22  0 0 0 0 0.21  0 0 0 9 -4.1'/></filter><rect width='240' height='240' filter='url(%23g)' opacity='0.065'/></svg>");
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 顶部极简导航（云母熟宣半透顶栏 + 泥金乌丝底线） */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 236, 0.90);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--gold-line);
}
.top-in {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
  height: 48px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1.5px solid var(--ink-strong);
  background: var(--paper-2);
  padding: 4px;
}
.brand-seal {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 900;
  color: #FAF6EC;
  background: var(--seal);
  border: 1px solid var(--seal-border);
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover {
  color: var(--accent-ink);
  background: var(--accent-tint);
}

/* 按钮与交互控件（全部 >= 48px 命中区、册页方正微圆角） */
.hd--primary--hatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 4px;
  background: var(--accent);
  color: #FAF6EC;
  border: 1.5px solid var(--ink-strong);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.hd--primary--hatch:hover {
  transform: translateY(-2px);
}
.hd--primary--hatch:active:not(:disabled) {
  background: var(--brand-active);
}
.btn-ghost,
.filter-tab,
.region-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--card);
  color: var(--ink-strong);
  border: 1.5px solid var(--ink-strong);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover,
.filter-tab:hover,
.region-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.btn-ghost:active:not(:disabled),
.filter-tab:active:not(:disabled),
.region-pill:active:not(:disabled) {
  background: var(--accent-tint);
}
.hd--primary--hatch:disabled,
.btn-ghost:disabled,
.filter-tab:disabled,
.region-pill:disabled {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}
.filter-tab.is-active,
.region-pill.is-active {
  background: var(--accent-tint);
  color: var(--accent-ink);
  border: 1.8px solid var(--accent);
  font-weight: 700;
}

/* 首屏 Hero：左精炼定调 (44%) + 右 3D 造园轩窗扇形舞台 (56%) */
.hero {
  padding: 68px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: center;
}
.hero-stamp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-sub-label {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-2);
  letter-spacing: 0.12em;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin: 0 0 16px;
  font-weight: 800;
}
.hl-wrap {
  color: var(--accent-ink);
  position: relative;
  display: inline-block;
  border-bottom: 3px solid rgba(154, 116, 50, 0.55);
  padding-bottom: 2px;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 430px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-badges {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--card);
  border: 1.2px solid var(--gold-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-strong);
}
.icon-chip svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* 右侧交互卡牌扇形舞台（造园轩窗画框） */
.stage-box {
  position: relative;
  height: 468px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}
.stage-bg-art {
  position: absolute;
  inset: 12px;
  border-radius: 4px;
  background: url("art/hero-1400.webp") center/cover no-repeat;
  opacity: 0.20;
  pointer-events: none;
}
.card-fan {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.fan-item {
  position: absolute;
  width: 224px;
  border-radius: 6px;
  border: 2px solid var(--ink-strong);
  background: var(--paper);
  padding: 4px;
  cursor: pointer;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.fan-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.fan-item[data-pos="left"] {
  transform: translate3d(-148px, 16px, -40px) rotate(-8deg) scale(0.90);
  z-index: 2;
}
.fan-item[data-pos="center"] {
  transform: translate3d(0, -10px, 36px) rotate(0deg) scale(1.04);
  z-index: 5;
  border-color: var(--accent);
}
.fan-item[data-pos="right"] {
  transform: translate3d(148px, 16px, -40px) rotate(8deg) scale(0.90);
  z-index: 2;
}
.stage-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(250, 246, 236, 0.95);
  border: 1.2px solid var(--gold-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-strong);
  z-index: 8;
}

/* 章节通用留白（>= 80px 呼吸感，泥金乌丝虚线分卷） */
.sec {
  padding: 80px 0;
  border-top: 1px dashed var(--gold-line);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.sec h2 {
  font-family: var(--font);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-strong);
  margin: 0;
}

/* 三大核心方向：造园册页卡（文字稳态、仅 -3px 轻提） */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hd--card {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}
.hd--card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.visual-well {
  position: relative;
  height: 212px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1.2px solid var(--gold-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-well img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.hd--card:hover .visual-well img {
  transform: scale(1.03);
}
.floating-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(250, 246, 236, 0.94);
  border: 1.2px solid var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hd--card h3 {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink-strong);
}
.card-short {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--gold-line);
}
.mini-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--paper-2);
  border: 1px solid rgba(154, 116, 50, 0.32);
  color: var(--ink-strong);
}

/* 交互展映台：3 组全视觉切换面板 */
.filter-row,
.region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.showcase-panel {
  display: none;
}
.showcase-panel.is-visible {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  animation: panelSpring 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panelSpring {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.art-card-frame {
  padding: 18px 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}
.art-card-frame:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.art-card-frame img {
  width: 100%;
  max-width: 268px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid var(--gold-line);
}
.art-card-meta {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--gold-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-strong);
}
.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--accent);
  color: #FAF6EC;
  font-size: 12px;
  font-weight: 700;
}

/* 全球升学罗盘：宋本册页三指标大数字卡（左侧书口竖排签条 + 等宽巨字） */
.compass-box {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-tile {
  position: relative;
  padding: 24px 24px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-spine {
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 24px;
  border-right: 1px solid var(--gold-line);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 900;
  color: var(--ink-2);
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  pointer-events: none;
}
.stat-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--gold-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.stat-big {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.stat-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
}

/* 预约沟通：造园册页表单 */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-strong);
}
.field input,
.field select {
  height: 48px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--ink-strong);
  background: var(--paper);
  color: var(--ink-strong);
  font-family: inherit;
  font-size: 15px;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
select {
  height: 48px;
  min-height: 48px;
}

.bar {
  position: sticky;
  bottom: 0;
  z-index: 25;
  background: rgba(250, 246, 236, 0.96);
  border-top: 1px solid var(--gold-line);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--gold-line);
  font-size: 14px;
  color: var(--ink-2);
}
.site-footer-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 6px;
}

.doc {
  max-width: 780px;
  padding: 48px 32px 64px;
}
.doc h1 {
  font-size: 32px;
  color: var(--ink-strong);
  margin: 0 0 8px;
}
.doc h2 {
  font-size: 20px;
  color: var(--ink-strong);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--gold-line);
}
.doc .meta {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.nav-in {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-in .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink-strong);
}
.nav-in ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* 造园册页成片展映弹窗（严格遵守 .sheet + var(--scrim) 规范） */
.sheet {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
}
.sheet.open {
  display: flex;
}
.sheet__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.sheet__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  padding: 20px;
  background: var(--paper);
  border: 2px solid var(--ink-strong);
  border-radius: 6px;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--gold-line);
}
.sheet__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-strong);
  margin: 0;
}
.sheet__video {
  width: 100%;
  max-height: 72vh;
  border-radius: 4px;
  border: 1.2px solid var(--ink-strong);
  background: #1C2423;
  display: block;
}

@media (max-width: 960px) {
  .hero-grid,
  .biz-grid,
  .showcase-panel.is-visible,
  .compass-box,
  .contact-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }
  .wrap {
    padding: 0 16px;
  }
  .top-in {
    gap: 8px;
  }
  .brand {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 16px;
    gap: 8px;
  }
  .brand-seal {
    display: none;
  }
  .nav {
    gap: 2px;
  }
  .nav-link {
    padding: 0 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .hero {
    padding: 36px 0 44px;
  }
  .stage-box {
    height: 360px;
    padding: 16px;
  }
  .fan-item {
    width: 160px;
  }
  .fan-item[data-pos="left"] {
    transform: translate3d(-84px, 12px, -30px) rotate(-7deg) scale(0.88);
  }
  .fan-item[data-pos="right"] {
    transform: translate3d(84px, 12px, -30px) rotate(7deg) scale(0.88);
  }
}
