/* v2 styles — AI-first single page.
   Palette: off-white paper + ink black + one warm accent.
   Type: serif big heads (Noto Serif SC), sans body (Noto Sans SC), mono labels (JetBrains Mono). */

:root {
  --bg: #f4f1e9;
  --bg-2: #ebe6d8;
  --ink: #1a1814;
  --ink-2: #3a362d;
  --muted: #847b68;
  --rule: rgba(26,24,20,0.14);
  --accent: #c25a3a;     /* warm terra — for AI/work highlights */
  --accent-ink: #6e2d1a;
  --ok: #2e7d4f;
  --serif: "Noto Serif SC", "Source Han Serif", Georgia, serif;
  --sans:  "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
}

.v2-root {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── nav ─── */
.v2-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 56px;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,233,0.92);
  backdrop-filter: saturate(140%) blur(8px);
}
.v2-brand { display: flex; align-items: baseline; gap: 10px; }
.v2-brand-cn { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 0.5px; }
.v2-brand-en { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.v2-navlinks { display: flex; gap: 28px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
.v2-navlinks a { color: var(--ink); text-decoration: none; cursor: pointer; }
.v2-navlinks a:hover { color: var(--accent); }
.v2-cta { padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.v2-cta:hover { background: var(--ink); color: var(--bg) !important; border-color: var(--ink); }

/* ─── hero ─── */
.v2-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding: 60px 56px 80px;
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
}
.v2-hero-left { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--accent-ink);
  margin-bottom: 28px;
  text-transform: uppercase;
  width: fit-content;
}
.v2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(194,90,58,0.15); animation: v2pulse 2s ease-in-out infinite; }
@keyframes v2pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(194,90,58,0.15); } 50% { box-shadow: 0 0 0 8px rgba(194,90,58,0.05); } }

.v2-headline {
  font-family: var(--serif); font-weight: 500;
  font-size: 76px; line-height: 1.08; letter-spacing: -1.5px;
  margin: 0 0 32px;
  color: var(--ink);
}
.v2-headline em { font-style: italic; color: var(--accent); font-family: "Playfair Display", var(--serif); }
.v2-headline .v2-accent { color: var(--accent-ink); border-bottom: 4px solid var(--accent); padding-bottom: 2px; }

.v2-lede { font-size: 15px; line-height: 1.85; color: var(--ink-2); margin: 0 0 32px; max-width: 520px; }
.v2-lede b { color: var(--ink); font-weight: 500; }

.v2-cta-row { display: flex; gap: 12px; margin-bottom: 36px; }
.v2-btn {
  padding: 14px 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  text-decoration: none; cursor: pointer; border-radius: 2px;
  transition: all 0.15s;
}
.v2-btn-dark { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.v2-btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.v2-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.v2-btn-ghost:hover { border-color: var(--ink); }

.v2-identity { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1.5px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--rule); }
.v2-identity .v2-sep { margin: 0 10px; opacity: 0.5; font-style: normal; }

/* ─── hero photo ─── */
.v2-hero-right { display: flex; align-items: stretch; justify-content: stretch; min-height: 520px; }
.v2-photo-frame {
  position: relative; width: 100%; height: 100%; min-height: 520px;
  border: 0; padding: 0; background: var(--ink);
  cursor: pointer; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 24px 60px rgba(0,0,0,0.16);
}
.v2-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease, filter 0.3s; }
.v2-photo-frame:hover .v2-photo { transform: scale(1.02); }
.v2-blurred { filter: blur(24px) brightness(0.8); }

/* designerly watermark across the image */
.v2-watermark {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 8px;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
}
.v2-wm-lg {
  font-family: var(--serif); font-size: 28px; letter-spacing: 10px; font-weight: 400;
  color: white;
  transform: rotate(-18deg);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.v2-wm-sm {
  font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  transform: rotate(-18deg);
}

.v2-photo-meta {
  position: absolute; top: 20px; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  color: white; text-align: left;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
}
.v2-photo-title { display: flex; flex-direction: column; gap: 4px; }
.v2-photo-title > span:first-child { font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
.v2-photo-sub { color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.v2-photo-counter { font-family: var(--mono); }
.v2-counter-now { font-size: 28px; font-weight: 500; }
.v2-counter-total { color: rgba(255,255,255,0.6); }

.v2-photo-hint {
  position: absolute; bottom: 20px; left: 20px;
  display: flex; align-items: center; gap: 10px;
  color: white; text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 12px;
  background: rgba(0,0,0,0.25); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
.v2-hint-arrow { animation: v2right 1.8s ease-in-out infinite; }
@keyframes v2right { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

.v2-screenshot-notice {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: rgba(26,24,20,0.82);
  color: white;
  font-family: var(--serif); font-size: 22px; letter-spacing: 2px;
  text-align: center; line-height: 1.8;
}
.v2-screenshot-notice small { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.7); }

/* ─── section shared ─── */
.v2-section-head { padding: 0 56px; margin-bottom: 36px; }
.v2-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); display: block; margin-bottom: 10px; }
.v2-section-head h2 { font-family: var(--serif); font-size: 40px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.5px; }
.v2-section-sub { color: var(--ink-2); font-size: 14px; margin: 0; }
.v2-section-sub b { color: var(--ink); }

/* ─── services ─── */
.v2-services { padding: 72px 0 40px; }
.v2-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin: 0 56px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.v2-service {
  padding: 36px 32px; background: var(--bg);
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.v2-service:hover { background: var(--bg-2); }
.v2-service-k { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); }
.v2-service-t { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.3px; }
.v2-service-d { color: var(--ink-2); font-size: 14px; line-height: 1.7; flex: 1; }
.v2-service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-service-tags span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.5px;
  padding: 3px 8px; border: 1px solid var(--rule); color: var(--muted);
}

/* ─── tools ─── */
.v2-tools { padding: 40px 0 40px; }
.v2-tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 0 56px;
}
.v2-tool {
  padding: 24px; background: var(--bg-2);
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 8px;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.v2-tool:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.v2-tool-k { font-family: var(--mono); font-size: 18px; align-self: flex-end; opacity: 0.5; }
.v2-tool:hover .v2-tool-k { opacity: 1; }
.v2-tool-t { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.v2-tool-d { font-size: 13px; line-height: 1.6; flex: 1; opacity: 0.85; }
.v2-tool-s { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.v2-tool:hover .v2-tool-s { color: rgba(255,255,255,0.6); }

/* ─── frames rail ─── */
.v2-frames { padding: 40px 0 40px; background: var(--bg-2); }
.v2-frames-rail {
  display: flex; gap: 16px; padding: 0 56px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.v2-frames-rail::-webkit-scrollbar { height: 6px; }
.v2-frames-rail::-webkit-scrollbar-thumb { background: var(--rule); }
.v2-frame-card {
  position: relative; flex: 0 0 240px; aspect-ratio: 3 / 4;
  overflow: hidden; text-decoration: none; color: white;
  scroll-snap-align: start;
  background: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.08);
}
.v2-frame-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.v2-frame-card:hover .v2-frame-img { transform: scale(1.05); }
.v2-frame-wm {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--serif); font-size: 11px; letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.v2-frame-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex; flex-direction: column; gap: 2px;
}
.v2-frame-t { font-family: var(--serif); font-size: 16px; }
.v2-frame-stats { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.85); }

/* ─── notes ─── */
.v2-notes { padding: 48px 0 40px; }
.v2-notes-list { list-style: none; padding: 0; margin: 0 56px; border-top: 1px solid var(--rule); }
.v2-notes-list li { border-bottom: 1px solid var(--rule); }
.v2-notes-list a {
  display: grid; grid-template-columns: 60px 1fr auto auto 24px;
  align-items: center; gap: 24px;
  padding: 20px 4px;
  text-decoration: none; color: var(--ink);
  transition: background 0.15s;
}
.v2-notes-list a:hover { background: var(--bg-2); padding-left: 12px; padding-right: 12px; }
.v2-note-n { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.v2-note-t { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.v2-note-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--accent); padding: 3px 8px; border: 1px solid currentColor; }
.v2-note-d { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.v2-note-arrow { font-family: var(--mono); color: var(--muted); transition: transform 0.2s; }
.v2-notes-list a:hover .v2-note-arrow { color: var(--accent); transform: translateX(4px); }

/* ─── contact ─── */
.v2-contact { padding: 60px 56px; background: var(--ink); color: var(--bg); margin-top: 40px; }
.v2-contact-head { padding: 0; margin-bottom: 44px; }
.v2-contact .v2-kicker { color: rgba(255,255,255,0.5); }
.v2-contact-head h2 { color: var(--bg); }
.v2-contact .v2-section-sub { color: rgba(255,255,255,0.7); }
.v2-contact .v2-section-sub b { color: var(--bg); }

.v2-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.v2-contact-primary .v2-contact-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 12px;
}
.v2-contact-primary .v2-contact-value {
  font-family: var(--serif); font-size: 36px; font-weight: 400;
  letter-spacing: -0.5px; margin-bottom: 8px;
}
.v2-contact-note { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

.v2-contact-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-content: start; }
.v2-contact-secondary a {
  color: var(--bg); text-decoration: none;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--serif); font-size: 16px;
  display: flex; align-items: baseline; gap: 14px;
}
.v2-contact-secondary a span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  color: rgba(255,255,255,0.4); min-width: 62px;
}
.v2-contact-secondary a:hover { color: var(--accent); }

.v2-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
}
.v2-footer .v2-dim { color: rgba(255,255,255,0.35); font-style: italic; }
.v2-beian { text-align: center; padding: 16px 0 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.45); }
.v2-beian a { color: inherit; text-decoration: none; }
.v2-beian a:hover { color: var(--accent); }

/* ─── 公众号 hover 二维码 ─── */
.v2-gzh-trigger { position: relative; cursor: pointer; }
.v2-gzh-popover {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  background: white; padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 20;
  width: 180px;
}
.v2-gzh-popover img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.v2-gzh-popover-text {
  padding-top: 10px; text-align: center;
  font-family: var(--serif); font-size: 13px; color: var(--ink);
  letter-spacing: 0.5px;
}
.v2-gzh-popover-text small {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px;
  color: var(--muted); display: block; margin-top: 2px;
}
.v2-gzh-popover::after {
  content: ''; position: absolute; top: 100%; right: 20px;
  border: 6px solid transparent; border-top-color: white;
}
.v2-gzh-trigger:hover .v2-gzh-popover,
.v2-gzh-trigger:focus .v2-gzh-popover,
.v2-gzh-trigger:focus-within .v2-gzh-popover {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}

/* ─── 微信点击弹二维码模态 ─── */
.v2-wx-trigger {
  background: var(--ink); color: var(--bg);
  border: none; cursor: pointer; text-align: left;
  padding: 28px 32px;
  font: inherit;
  transition: all 0.2s;
}
.v2-wx-trigger:hover { background: var(--accent); transform: translateY(-2px); }
.v2-wx-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  animation: v2-fade-in 0.2s ease;
}
@keyframes v2-fade-in { from { opacity: 0; } to { opacity: 1; } }
.v2-wx-card {
  position: relative;
  background: var(--bg); color: var(--ink);
  padding: 40px 44px 36px; max-width: 340px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  animation: v2-pop-in 0.25s ease;
}
@keyframes v2-pop-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.v2-wx-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px;
  color: var(--muted); margin-bottom: 20px; text-transform: uppercase;
}
.v2-wx-qr {
  position: relative; width: 100%; aspect-ratio: 1;
  background: white; margin-bottom: 18px;
  border: 1px solid var(--rule);
}
.v2-wx-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v2-wx-placeholder {
  position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1px;
}
.v2-wx-placeholder div { font-family: var(--serif); font-size: 15px; color: var(--ink); letter-spacing: 0; }
.v2-wx-placeholder code { font-family: var(--mono); background: var(--bg-2); padding: 2px 6px; font-size: 10.5px; }
.v2-wx-id {
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  letter-spacing: 1px; text-align: center;
  padding: 8px 0; border-top: 1px solid var(--rule);
}
.v2-wx-note {
  font-family: var(--sans); font-size: 11px; color: var(--muted);
  text-align: center; margin-top: 4px;
}
.v2-wx-close {
  position: absolute; top: 8px; right: 12px;
  background: transparent; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--muted);
  padding: 4px 10px;
}
.v2-wx-close:hover { color: var(--ink); }

/* ─── responsive (real site would use these; artboard stays fixed) ─── */
@media (max-width: 1100px) {
  .v2-hero { grid-template-columns: 1fr; }
  .v2-headline { font-size: 56px; }
  .v2-services-grid, .v2-tools-grid { grid-template-columns: 1fr 1fr; }
  .v2-notes-list a { grid-template-columns: 40px 1fr auto; }
  .v2-note-cat, .v2-note-d { display: none; }
  .v2-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v2-nav, .v2-hero, .v2-section-head, .v2-services-grid, .v2-tools-grid, .v2-notes-list, .v2-frames-rail, .v2-contact { padding-left: 20px; padding-right: 20px; margin-left: 0; margin-right: 0; }
  .v2-headline { font-size: 40px; }
  .v2-services-grid, .v2-tools-grid { grid-template-columns: 1fr; }
  .v2-navlinks a:not(.v2-cta) { display: none; }
}
