:root {
  --paper: #fdfcf8;
  --paper-deep: #f5f3ee;
  --ink: #1a1714;
  --ink-soft: #4a4540;
  --ink-faint: #8c8580;
  --line: #eae7e2;
  --amber: #c2692a;
  --leaf: #3a7d5e;
  --blue: #335c81;
  --font-serif: Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
  --font-sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.geo-page {
  --geo-art: url('/assets/inner-visuals/homepage-paper-texture.webp');
  background-color: var(--paper-deep);
  background-image:
    linear-gradient(180deg, rgba(253, 252, 248, .84), rgba(245, 243, 238, .90)),
    url('/assets/inner-visuals/homepage-paper-texture.webp');
  background-position: center top;
  background-size: auto, 1600px auto;
  background-repeat: no-repeat, repeat-y;
  background-attachment: fixed;
}

body.geo-theme-relation {
  --geo-art: url('/assets/inner-visuals/relation-understanding.webp');
}

body.geo-theme-evidence {
  --geo-art: url('/assets/inner-visuals/evidence-review.webp');
}

body.geo-theme-fingerprint {
  --geo-art: url('/assets/inner-visuals/fingerprint-observation.webp');
}

body.geo-theme-practitioner {
  --geo-art: url('/assets/inner-visuals/human-guidance.webp');
}

body.geo-page ::selection {
  color: var(--ink);
  background: rgba(194, 105, 42, .24);
}

.geo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(222, 216, 207, .78);
  background: rgba(253, 252, 248, .88);
  backdrop-filter: blur(14px);
}

.geo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.geo-logo svg { width: 32px; height: 32px; flex: 0 0 auto; }
.geo-wordmark { white-space: nowrap; }
.geo-logo mark { color: var(--amber); background: transparent; }
.geo-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.geo-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 3px;
  color: var(--ink-faint);
  font-size: 13px;
  text-decoration: none;
  text-underline-offset: 5px;
}
.geo-nav a:hover { color: var(--amber); }
.geo-nav a[aria-current="page"] { color: var(--ink); }
.geo-nav a.geo-me {
  padding: 0 14px; border: 1px solid rgba(194, 105, 42, .28); border-radius: 999px;
  color: var(--amber); background: rgba(245, 237, 228, .72);
}
.geo-faq { padding: 0; border-top: 1px solid var(--line); }
.geo-faq summary {
  min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; cursor: pointer; font-weight: 700; list-style: none;
}
.geo-faq summary::-webkit-details-marker { display: none; }
.geo-faq summary::after { content: "+"; color: var(--amber); font-size: 20px; font-weight: 400; }
.geo-faq[open] summary::after { content: "–"; }
.geo-faq p { margin: 0; padding: 0 0 18px; }

.geo-main { overflow-x: hidden; }
.geo-hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 84px 24px 76px;
  background-image:
    linear-gradient(102deg, rgba(253, 252, 248, .90) 0%, rgba(253, 252, 248, .82) 58%, rgba(245, 241, 234, .86) 100%),
    var(--geo-art);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.geo-hero-inner,
.geo-section-inner {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

.geo-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

.geo-title {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.geo-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.geo-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.geo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.geo-button.secondary { border-color: rgba(222, 216, 207, .9); background: rgba(253, 252, 248, .60); color: var(--ink); }

.geo-section {
  padding: 72px 24px;
  border-top: 1px solid rgba(222, 216, 207, .76);
  background: rgba(253, 252, 248, .72);
  backdrop-filter: blur(8px);
}
.geo-section.alt { background: rgba(239, 235, 227, .78); }
.geo-section h2 {
  max-width: 22ch;
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.22;
  text-wrap: balance;
}
.geo-section p { max-width: 72ch; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }

.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.geo-card {
  min-height: 174px;
  padding: 26px;
  border: 1px solid rgba(205, 195, 184, .78);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 38px rgba(76, 55, 37, .06);
}
.geo-card:nth-child(4n + 1) { background: rgba(245, 237, 228, .88); }
.geo-card:nth-child(4n) { background: rgba(232, 239, 235, .82); }
.geo-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.geo-card h3 { margin: 0 0 10px; font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.geo-card p, .geo-card li { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.geo-card ul { padding-left: 18px; margin: 8px 0 0; }

.geo-band {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(58, 125, 94, .28);
  border-radius: 16px;
  background: rgba(232, 239, 235, .72);
}
.geo-band.warn { border-color: rgba(194, 105, 42, .30); background: rgba(245, 237, 228, .86); }
.geo-band strong { color: var(--ink); }
.geo-list { display: grid; gap: 14px; margin-top: 20px; }
.geo-row { padding: 18px 0; border-top: 1px solid var(--line); }
.geo-row strong { display: block; margin-bottom: 6px; }
.geo-row p { margin: 0; }

.geo-footer {
  padding: 36px 24px 56px;
  background: var(--ink);
  color: rgba(253, 252, 248, .72);
}
.geo-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}
.geo-footer a { color: rgba(253, 252, 248, .8); text-decoration: none; }
.geo-footer a:hover { color: #fff; }

body.geo-page :where(a, button):focus-visible {
  outline: 3px solid rgba(194, 105, 42, .38);
  outline-offset: 3px;
}

@keyframes logo-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes logo-spin-rev { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes logo-breathe { 0%, 100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.logo-ring-outer { transform-origin: 18px 18px; animation: logo-spin 22s linear infinite; }
.logo-petals { transform-origin: 18px 18px; animation: logo-spin-rev 14s linear infinite; }
.logo-center { transform-origin: 18px 18px; animation: logo-breathe 3.5s ease-in-out infinite; }

@media (hover: hover) {
  .geo-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
  .geo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(194, 105, 42, .30);
    box-shadow: 0 22px 50px rgba(76, 55, 37, .10);
  }
}

@media (max-width: 760px) {
  body.geo-page { background-size: auto, 1000px auto; background-attachment: scroll; }
  .geo-header { align-items: flex-start; flex-direction: column; gap: 8px; min-height: 0; padding: 12px 18px 8px; }
  .geo-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .geo-nav::-webkit-scrollbar { display: none; }
  .geo-nav a { flex: 0 0 auto; font-size: 12px; }
  .geo-hero { min-height: 430px; padding: 58px 18px 48px; background-position: 58% center; }
  .geo-hero-inner, .geo-section-inner, .geo-footer-inner { width: min(100%, calc(100vw - 36px)); }
  .geo-title { font-size: clamp(31px, 9.4vw, 42px); line-height: 1.15; }
  .geo-title span { display: block; }
  .geo-lede { font-size: 16px; line-height: 1.78; }
  .geo-section { padding: 48px 18px; }
  .geo-section h2 { font-size: 28px; }
  .geo-grid { grid-template-columns: minmax(0, 1fr); }
  .geo-card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 420px) {
  .geo-title { font-size: 30px; }
  .geo-logo svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  body.geo-page { background-attachment: scroll; }
  .logo-ring-outer, .logo-petals, .logo-center { animation: none !important; }
  .geo-card { transition: none; }
}
