/* ============================================================
   郭小溪 · guohealth.com — 纯静态品牌站（0 JS / 0 远程依赖）
   设计令牌：实测自 Framer 原模板（artemis1.framer.website）
   ============================================================ */

:root {
  --cream: #F8F6F3;        /* 页面底色（暖米白） */
  --ink: #2A3132;          /* 主墨色（暗青灰） */
  --muted: #5F6566;        /* 次级文字灰 */
  --navy: #14204A;         /* 展示色（大标题·深藏青） */
  --orange: #E8541E;       /* 强调色（砖橙，较原 #FF5900 沉稳） */
  --line: #E4E0D9;         /* 分隔线 */
  --card-bg: #FFFFFF;      /* 卡片底 */
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 243, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-link { font-size: 15px; color: var(--ink); font-weight: 500; }
.nav-link:hover { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 36px; }

.logo {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
  white-space: nowrap;
}
.logo .logo-amp { color: var(--ink); font-style: italic; }

/* ---------- 按钮 ---------- */
.btn-pill {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border: 0;
  cursor: pointer;
}
.btn-pill:hover { background: var(--ink); }
.btn-pill.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-pill.ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 28px 72px;
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 1px;
}
.hero-s {
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.8;
  color: var(--ink);
}
.hero-tag { margin-top: 22px; max-width: 30em; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* hero 图组：4 张旋转卡 */
.hero-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 9;
  min-height: 320px;
}
.hero-collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 32, 74, 0.16);
  border: 4px solid #fff;
}
.collage-1 { left: 2%;  top: 2%;   width: 46%;  aspect-ratio: 1/1.1; transform: rotate(-5deg); }
.collage-2 { right: 4%; top: 6%;   width: 42%;  aspect-ratio: 1/1.2; transform: rotate(4deg); }
.collage-3 { left: 12%; bottom: 0; width: 40%;  aspect-ratio: 1/0.95; transform: rotate(6deg); }
.collage-4 { right: 0;  bottom: 3%; width: 34%; aspect-ratio: 1/1.15; transform: rotate(-4deg); }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-title-sm {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--orange);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 34em;
}
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- 图片长条（静态横滑，无自动跑马灯） ---------- */
.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-snap-type: x proximity;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: center;
}
@media (min-width: 1100px) {
  .photo-strip { grid-auto-columns: 1fr; grid-auto-flow: column; overflow-x: visible; }
  .photo-strip img { aspect-ratio: 4 / 5; }
}

/* ---------- 卡片（What I share / Works） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 26px;
  height: 100%;
}
.card:hover { border-color: var(--orange); }
.card-cover { aspect-ratio: 4 / 3; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.card h3 {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 700;
  min-height: 4.5em;
  letter-spacing: 0;
}
.card p { font-size: 15px; line-height: 1.8; color: var(--muted); flex: 1; }
.card-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--orange);
  border: 1px solid rgba(232, 84, 30, 0.4);
  border-radius: 99px;
  padding: 3px 12px;
  background: rgba(232, 84, 30, 0.06);
}

/* ---------- 胶囊标签 ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--card-bg);
  border-radius: 99px;
  padding: 8px 20px;
}
.pill:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- 故事正文 ---------- */
.prose { font-size: 17px; line-height: 2; color: #3E4547; max-width: 46em; }
.prose .lead { font-size: 19px; color: var(--ink); }
.prose p + p { margin-top: 18px; }
.prose h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 42px 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.prose h4 { font-size: 17px; color: var(--ink); margin: 30px 0 6px; }
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding: 2px 0 2px 22px;
  margin: 26px 0;
  color: var(--ink);
  font-size: 18px;
}
.prose ul { margin: 16px 0; padding-left: 1.4em; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); }
.prose-note {
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 34px;
  background: rgba(255,255,255,0.6);
}

/* ---------- 宝丽来三连 ---------- */
.polaroids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 12px;
}
.polaroid {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 12px 16px;
  box-shadow: 0 10px 26px rgba(20, 32, 74, 0.10);
}
.polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.polaroid:nth-child(2) { transform: rotate(1.5deg) translateY(6px); }
.polaroid:nth-child(3) { transform: rotate(2.5deg); }
.polaroid img { aspect-ratio: 1/1.05; object-fit: cover; width: 100%; }
.polaroid figcaption {
  text-align: center;
  font-size: 15px;
  color: var(--ink);
  padding-top: 12px;
  font-family: var(--serif);
  letter-spacing: 1px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 44px 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 0 22px; color: #3E4547; line-height: 1.9; max-width: 46em; }
.faq-item .faq-a p + p { margin-top: 10px; }

/* ---------- 联系卡 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 40px;
  max-width: 900px;
}
.contact-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.contact-card:hover { border-color: var(--orange); }
.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.5;
}
.contact-cta { margin-top: 30px; }

/* ---------- 文章页 ---------- */
.article-hero { padding: 70px 0 20px; }
.back-link {
  display: inline-block;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
}
.back-link:hover { color: var(--orange); }
.article-hero .card-tag { margin-bottom: 18px; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.35;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.article-date { margin-top: 16px; font-size: 14px; color: var(--muted); }
.article-cover { margin: 34px 0 8px; border-radius: 16px; overflow: hidden; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article-body { padding: 40px 0 24px; }
.article-faq { padding: 30px 0 10px; }
.next-link {
  display: block;
  margin-top: 48px;
  padding: 22px 26px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 17px;
  color: var(--ink);
}
.next-link:hover { border-color: var(--orange); color: var(--orange); }
.next-link small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-bottom: 4px; }

/* ---------- Works / About 通用 ---------- */
.page-head { padding: 84px 0 20px; }
.about-figure { margin: 30px 0 10px; border-radius: 16px; overflow: hidden; }
.about-figure img { width: 100%; max-height: 520px; object-fit: cover; }
.about-figcap { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- CTA 区 ---------- */
.cta-section { text-align: center; }
.cta-section .contact-grid, .cta-section .contact-cta { margin-left: auto; margin-right: auto; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 34px 0;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 14px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 56px 28px 40px; }
  .hero-collage { max-width: 520px; margin: 0 auto; }
  .collage-4 { right: 2%; }
  .polaroids { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 26px; }
  .polaroid:nth-child(2) { transform: rotate(1.5deg); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 44px 24px 30px; }
  .hero-collage { min-height: 300px; }
  .collage-1 { left: 0; }
  .collage-2 { right: 0; }
  .collage-3 { left: 6%; bottom: 2%; }
  .collage-4 { right: 3%; bottom: 4%; width: 32%; }
  .card-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 20px; }
  .photo-strip { grid-auto-columns: minmax(150px, 180px); }
  .footer-inner { padding: 0 20px; justify-content: center; text-align: center; }
}
