/* Ver 2026-07-04 00:34, by Claude Sonnet 5 */

/* ---------- Tokens ---------- */
:root {
  --ink: #16110d;
  --ink-2: #1f1811;
  --ink-3: #2b2116;
  --amber: #c8860d;
  --amber-bright: #f2b705;
  --amber-deep: #8a4b17;
  --parchment: #f3ead9;
  --parchment-2: #ebe0c9;
  --text-ink: #241b12;
  --text-cream: #f3ead9;
  --muted-on-dark: rgba(243, 234, 217, 0.68);
  --muted-on-light: rgba(36, 27, 18, 0.62);

  --font-display: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", serif;
  --font-en: Georgia, "Times New Roman", "STSong", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;

  --section-pad-y: clamp(4.5rem, 9vw, 8rem);
  --section-pad-x: clamp(1.5rem, 6vw, 4rem);
  --max-width: 1120px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-ink);
  background: var(--parchment);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber-bright);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--amber-bright); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: 0.01em;
  margin-bottom: 2.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 17, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 134, 13, 0.25);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  border-radius: 8px;
  padding: 4px;
  line-height: 0;
}
.brand-mark img { border-radius: 4px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--text-cream);
}
.brand-cn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--muted-on-dark);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}
.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover { color: var(--amber-bright); }
.nav-cta {
  border: 1px solid var(--amber);
  color: var(--amber-bright) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--amber); color: var(--ink) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  color: var(--ink);
  box-shadow: 0 8px 30px -8px rgba(242, 183, 5, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(242, 183, 5, 0.65); }
.btn-ghost {
  color: var(--text-cream);
  border: 1px solid rgba(243, 234, 217, 0.35);
}
.btn-ghost:hover { border-color: var(--amber-bright); color: var(--amber-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 50% 0%, var(--ink-3) 0%, var(--ink) 60%);
  color: var(--text-cream);
  overflow: hidden;
}
.amber-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(60vw, 640px);
  height: min(60vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.35) 0%, rgba(200, 134, 13, 0.14) 42%, rgba(200, 134, 13, 0) 72%);
  filter: blur(4px);
  animation: amberBreathe 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes amberBreathe {
  from { opacity: 0.75; transform: translateX(-50%) scale(0.96); }
  to { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .amber-glow { animation: none; }
}
.hero-inner {
  position: relative;
  text-align: center;
  padding-top: clamp(6rem, 14vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.18;
  margin: 0.5rem 0 1.5rem;
}
.hero-sub {
  max-width: 40em;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-on-dark);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Philosophy (light) ---------- */
.philosophy { background: var(--parchment); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}
.philosophy-col .glyph {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--amber-deep);
  margin-bottom: 0.6rem;
}
.philosophy-col p { color: var(--text-ink); font-size: 1.05rem; }
.philosophy-divider { display: flex; align-items: center; justify-content: center; }
.amber-drop {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--amber-bright), var(--amber) 55%, var(--amber-deep) 100%);
  box-shadow: 0 0 16px 2px rgba(242, 183, 5, 0.45);
  flex-shrink: 0;
}
.philosophy-lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-align: center;
  color: var(--text-ink);
  margin-bottom: 1.5rem;
}
.philosophy-lede strong { color: var(--amber-deep); }
.philosophy-body {
  max-width: 46em;
  margin: 0 auto;
  text-align: center;
  color: var(--muted-on-light);
  font-size: 1.05rem;
}

/* ---------- Services (dark) ---------- */
.services { background: var(--ink); color: var(--text-cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--ink-2);
  border: 1px solid rgba(200, 134, 13, 0.2);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 16px 40px -18px rgba(242, 183, 5, 0.45);
}
.service-card-primary {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border-color: var(--amber);
}
.service-tag {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 0.9rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.service-price {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--amber-bright);
  margin-bottom: 1rem;
}
.service-desc { color: var(--muted-on-dark); font-size: 0.95rem; }

/* ---------- Scenarios (light) ---------- */
.scenarios { background: var(--parchment); }
.scenario-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem 2.5rem;
}
.scenario-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.scenario-list .amber-drop { margin-top: 0.5rem; }
.scenario-list strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-ink);
}
.scenario-list p { color: var(--muted-on-light); font-size: 0.98rem; }

/* ---------- Process (dark) ---------- */
.process { background: var(--ink); color: var(--text-cream); }
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 2.5rem;
}
.process-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 134, 13, 0.25);
}
.process-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--amber);
  flex-shrink: 0;
}
.process-list h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.process-list p { color: var(--muted-on-dark); font-size: 0.95rem; }

/* ---------- Contact (light) ---------- */
.contact { background: var(--parchment); }
.contact-inner { text-align: center; }
.contact-inner h2 { margin-bottom: 1rem; }
.contact-inner p {
  color: var(--muted-on-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); }
.footer-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-brand { justify-content: center; }
.footer-note { font-family: var(--font-display); font-size: 0.95rem; }
.footer-copy { font-size: 0.82rem; opacity: 0.7; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .site-nav { gap: 0.9rem 1.2rem; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-divider { transform: rotate(90deg); margin: 0.5rem 0; }
}
