@charset "UTF-8";
/* 兰棠汇官网 · 共享样式
   移动优先（mobile-first），无外部字体与框架依赖。
   断点：720px（平板）/ 1000px（桌面）
   配色取自新 LOGO：蓝花瓣 #1f5c97 / #3e8fcb，赭色花心 #b4744f，米白底 #faf8f3 */

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #232a30;
  --muted: #6d7478;
  --blue: #1f5c97;
  --blue-l: #3e8fcb;
  --blue-pale: #eaf2f9;
  --clay: #b4744f;
  --clay-pale: #f7ede5;
  --line: #e6e0d4;
  --radius: 18px;
  --maxw: 1120px;
  --shadow: 0 8px 28px rgba(31, 60, 90, .07);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--blue-l);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; object-fit: cover; border: 1px solid var(--line);
}
.brand b { display: block; font-size: 19px; letter-spacing: .14em; line-height: 1.2; }
.brand small { display: block; font-size: 10px; letter-spacing: .24em; color: var(--muted); font-weight: 400; }
.desknav { display: none; gap: 22px; align-items: center; }
.desknav a { color: var(--muted); font-size: 14px; white-space: nowrap; }
.desknav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
/* 特异性高于后面的 .btn，确保窄屏不显示桌面端 CTA */
.topbar .top-cta { display: none; }

/* ---------- 底部 H5 标签栏 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 56px; font-size: 11px; color: var(--muted);
  border-top: 2px solid transparent; letter-spacing: .04em;
}
.tabbar a:hover { text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--blue); font-weight: 700; border-top-color: var(--blue); }
.tabbar .tnum { font-size: 10px; letter-spacing: .12em; opacity: .65; line-height: 1.2; }

/* ---------- 通用组件 ---------- */
section { padding: 52px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--blue); text-transform: uppercase; margin: 0 0 8px; }
.sec-head { margin-bottom: 28px; }
h2 { font-size: clamp(22px, 5vw, 32px); }
h2 .en { display: block; font-size: 11px; letter-spacing: .24em; color: var(--blue-l); font-weight: 400; margin-top: 6px; }
h3 { font-size: 19px; }
.lead { color: var(--muted); font-size: 15px; }
.small { font-size: 13px; color: var(--muted); }
.mt0 { margin-top: 0; }
.center { text-align: center; }

.grid { display: grid; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #174b7d; }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue-pale); }
.btn:active { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tag {
  display: inline-block; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--muted);
}
.tag.strong { border-color: var(--blue-l); color: var(--blue); background: var(--blue-pale); }

.quote {
  border-left: 3px solid var(--clay); padding: 4px 0 4px 16px;
  font-size: 18px; line-height: 1.7; margin: 18px 0;
}
.note {
  background: var(--clay-pale); border-left: 3px solid var(--clay);
  border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: 13.5px; color: #6c4a35;
}
.note.blue { background: var(--blue-pale); border-left-color: var(--blue-l); color: #24455f; }

figure img { width: 100%; border-radius: 12px; background: var(--blue-pale); }
.photo-grid figure.wide { grid-column: 1 / -1; }

/* 兰·棠·汇：兰棠统一大小并排，柿子通栏（两张合起来的宽度） */
.name-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.name-grid figure { margin: 0; }
.name-grid figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.name-grid figure.wide { grid-column: 1 / -1; }
.name-grid figure.wide img { aspect-ratio: 21 / 9; object-position: center 50%; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
figcaption b { color: var(--ink); font-weight: 600; }
figcaption .credit { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: #9a978f; letter-spacing: .03em; }
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.word-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 380px at 82% 8%, rgba(62, 143, 203, .16), transparent 70%),
              radial-gradient(520px 320px at 6% 92%, rgba(180, 116, 79, .10), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.hero .inner {
  min-height: 76vh;
  min-height: 76dvh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 26px; padding-top: 48px; padding-bottom: 56px;
}
.hero-mark { width: 108px; height: 108px; border-radius: 50%; background: #fff; padding: 8px;
  box-shadow: 0 10px 30px rgba(31, 92, 151, .14); flex-shrink: 0; }
.hero-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-art { display: grid; place-items: center; }
.hero .slogan { color: var(--clay); letter-spacing: .32em; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(30px, 8.4vw, 56px); line-height: 1.3; letter-spacing: .02em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .desc { font-size: 15px; color: var(--muted); max-width: 46ch; margin: 0 0 22px; }

/* ---------- 页面内页头 ---------- */
.pagehead { background: var(--blue-pale); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.crumb { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.crumb a { color: var(--muted); }
.pagehead h1 { font-size: clamp(25px, 6.2vw, 38px); margin: 0 0 10px; }
.pagehead .lead { margin: 0; max-width: 58ch; }

/* ---------- 故事 / 图文 ---------- */
.story { font-size: 16px; }
.story p { margin-bottom: 1.1em; }
.story strong { color: var(--blue); }
.split { display: grid; gap: 22px; align-items: start; }
.split aside { min-width: 0; }

/* ---------- 时间轴 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px;
  width: 2px; background: var(--line);
}
.tl { position: relative; padding-left: 34px; margin-bottom: 30px; }
.tl::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--blue-l);
}
.tl:last-child::before { border-color: var(--clay); }
.tl-k { font-size: 12px; letter-spacing: .18em; color: var(--blue); font-weight: 700; }
.tl h3 { margin: 2px 0 8px; font-size: 18px; }
.tl .kicker { color: var(--clay); font-size: 14px; margin: 0 0 10px; font-weight: 600; }
.tl p:last-child { margin-bottom: 0; }
.tl .left { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 12px; }

/* ---------- 架构 / 流程 / 五站 ---------- */
.arch { display: grid; gap: 12px; }
.arch .layer { border-left: 4px solid var(--blue); background: var(--surface); border-radius: 0 14px 14px 0;
  padding: 14px 18px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.arch .layer:nth-child(2) { border-left-color: var(--blue-l); }
.arch .layer:nth-child(3) { border-left-color: var(--clay); }
.arch .layer:nth-child(4) { border-left-color: #8b9a8f; }
.arch .layer b { display: block; font-size: 14px; margin-bottom: 2px; }
.arch .layer span { font-size: 13.5px; color: var(--muted); }

.flow { display: grid; gap: 12px; grid-template-columns: 1fr; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.step .n { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--blue-pale);
  color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step b { display: block; font-size: 15px; }
.step span { font-size: 13px; color: var(--muted); }

.sitecard { display: flex; flex-direction: column; gap: 8px; }
.sitecard .domain { font-size: 13px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sitecard .role { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.sitecard h3 { margin: 0; }
.sitecard .go { margin-top: auto; font-size: 13px; font-weight: 600; }
.sitecard.span-all { grid-column: 1 / -1; }
.sitecard.span-all .lead { max-width: 64ch; }

.chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; margin: 0; list-style: none; }
.chain li { background: var(--blue-pale); color: var(--blue); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.chain .arrow { background: transparent; color: var(--muted); padding: 0 2px; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { text-align: center; padding: 16px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fact b { display: block; font-size: 22px; color: var(--blue); line-height: 1.3; }
.fact span { font-size: 12px; color: var(--muted); }

/* ---------- 每日要闻 ---------- */
.news { border-bottom: 1px solid var(--line); }
.news-stamp { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 16px 2px; color: var(--ink); }
.news-item a:hover { text-decoration: none; background: var(--blue-pale); }
.news-item a:hover .news-title { color: var(--blue); text-decoration: underline; }
.news-date { font-size: 12px; color: var(--clay); letter-spacing: .06em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding-top: 2px; }
.news-title { font-size: 15px; line-height: 1.55; font-weight: 600; overflow-wrap: anywhere; }
.news-meta { font-size: 12px; color: var(--muted); }
.news-cat::after { content: " · "; }
.news-src { color: var(--blue); }
.news-foot { margin-top: 16px; }
/* 标题与来源分行，避免英文长标题末尾紧贴来源；min-width:0 防 grid 子项溢出 */
.news-body { display: grid; gap: 3px; min-width: 0; }
@media (min-width: 720px) {
  .news-item a { grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 18px 4px; }
  .news-title { font-size: 16px; }
}

/* ---------- 联系 ---------- */
.contact-hero { padding: 46px 0; }
.contact-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 26px 30px; box-shadow: var(--shadow);
}
.contact-card img { width: 88px; height: 88px; border-radius: 20px; object-fit: cover; margin: 0 auto 14px; }
.contact-card h2 { margin: 0; }
.contact-card .c-slogan { font-size: clamp(18px, 5vw, 22px); letter-spacing: .1em; color: var(--blue); margin: 14px 0 26px; }
.contact-card .contact-list { max-width: 420px; margin: 0 auto; text-align: left; }
.contact-card .contact-item { border-top: 1px solid var(--line); padding: 11px 0; }
.contact-card .contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .lab { flex: 0 0 62px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.contact-item .val { font-size: 15px; word-break: break-all; }
.qr-hint { font-size: 13px; color: var(--muted); }

/* ---------- 页脚 / 回顶 ---------- */
.footer { background: var(--blue-pale); color: var(--ink); padding: 36px 0 20px; margin-top: 0; border-top: 1px solid var(--line); }
.footer a { color: var(--blue); }
.footer .fgrid { display: grid; gap: 22px; }
.footer h4 { font-size: 14px; letter-spacing: .14em; margin: 0 0 10px; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 2.1; }
.footer .fine { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px;
  font-size: 12px; color: var(--muted); }

.totop {
  position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 55;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--blue); font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow); display: none; place-items: center;
}
.totop.show { display: grid; }

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 28px; }
  .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .name-grid { grid-template-columns: repeat(2, 1fr); }
  .word-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.5fr .8fr; gap: 32px; }
  .split aside { position: sticky; top: 88px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .hero .inner { min-height: 68dvh; }
  .hero-mark { width: 132px; height: 132px; }
  .footer .fgrid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  .desknav { display: flex; }
  .topbar .top-cta { display: inline-flex; min-height: 38px; padding: 0 18px; font-size: 13px; }
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .hero .inner {
    flex-direction: row; align-items: center; justify-content: space-between;
    min-height: 74dvh; gap: 64px;
  }
  .hero-copy { flex: 1 1 60%; }
  .hero-art { flex: 0 0 260px; }
  .hero-mark { width: 240px; height: 240px; padding: 16px; }
  .totop { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  * { animation-duration: .01ms !important; }
}
