:root {
  --blue-950: #092d62;
  --blue-800: #124987;
  --blue-100: #eaf3ff;
  --green-900: #31572f;
  --green-700: #5b7d49;
  --green-100: #edf2e7;
  --cream: #f8f5ec;
  --ink: #18211d;
  --muted: #68716d;
  --white: #fff;
  --shadow: 0 22px 60px rgba(18, 46, 57, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif; }
a { color: inherit; text-decoration: none; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { height: 88px; padding: 0 max(32px, calc((100vw - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); position: relative; z-index: 20; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--blue-950); font-size: 25px; font-weight: 700; letter-spacing: .05em; }
.brand-mark { width: 42px; height: 42px; border: 2px solid var(--blue-800); border-radius: 50%; display: grid; place-items: center; transform: rotate(45deg); }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; display: block; width: 16px; height: 16px; border: 2px solid var(--blue-800); border-width: 2px 0 0 2px; position: absolute; }
.brand-mark::after { transform: rotate(90deg); }
.brand-mark span { transform: rotate(180deg); }
.site-nav { display: flex; gap: 62px; font-family: "Microsoft YaHei", sans-serif; }
.site-nav a { position: relative; padding: 30px 0; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 20px; height: 2px; background: var(--blue-800); transition: .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: 0; right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { min-height: 610px; position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: linear-gradient(90deg, #dbeaff 0%, #f7f7f1 49%, #f8f1db 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 56%, rgba(255,255,255,.96) 0 9%, rgba(255,255,255,.34) 36%, transparent 62%); }
.hero-art { position: absolute; inset-block: 0; width: 52%; z-index: -2; overflow: hidden; }
.hero-art-ai { left: 0; background: radial-gradient(circle at 18% 45%, rgba(42,126,210,.4), transparent 35%), linear-gradient(135deg, #c9e0fa, #f8fbff); }
.hero-art-heart { right: 0; background: radial-gradient(circle at 82% 42%, rgba(182,174,101,.28), transparent 31%), linear-gradient(225deg, #f7edcf, #fbfcf7); }
.network { position: absolute; inset: 4% 5% 25% -6%; opacity: .46; background-image: radial-gradient(circle, #3f8ed1 0 2px, transparent 3px); background-size: 72px 72px; transform: rotate(-9deg); }
.network::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(31deg, transparent 0 70px, rgba(45,119,185,.18) 71px 72px); }
.orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(2px); }
.orb-a { left: 16%; bottom: -8%; background: rgba(77,153,218,.20); box-shadow: 0 0 100px rgba(25,100,180,.25); }
.orb-b { right: 12%; top: 15%; background: rgba(172,182,118,.18); box-shadow: 0 0 110px rgba(104,126,70,.18); }
.leaf { position: absolute; width: 160px; height: 80px; border: 2px solid rgba(86,116,64,.25); border-radius: 100% 0 100% 0; }
.leaf-a { right: 5%; bottom: 14%; transform: rotate(-18deg); }
.leaf-b { right: 17%; bottom: 5%; transform: rotate(35deg) scale(.7); }
.hero-copy { width: min(970px, calc(100% - 48px)); text-align: center; margin-top: -8px; }
.hero h1 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.18; letter-spacing: .03em; font-weight: 700; }
.hero h1 span { color: var(--blue-950); }
.hero h1 em { color: var(--green-900); font-style: normal; }
.hero h1 em::before { content: "，"; color: var(--ink); }
.hero p { margin: 26px auto 38px; font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .06em; }
.hero-actions { display: flex; justify-content: center; gap: 22px; }
.button, .path-link { min-width: 188px; padding: 15px 25px; border-radius: 7px; color: #fff; font-family: "Microsoft YaHei", sans-serif; transition: transform .2s, box-shadow .2s; }
.button:hover, .pathway:hover .path-link { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(23,54,70,.18); }
.button-ai { background: var(--blue-950); }
.button-psychology { background: var(--green-700); }

.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-block: 68px; }
.pathway { min-height: 330px; border-radius: 18px; padding: 45px; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow); border: 1px solid rgba(20,63,93,.06); transition: transform .25s; overflow: hidden; position: relative; }
.pathway:hover { transform: translateY(-5px); }
.pathway::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -75px; top: -80px; opacity: .28; }
.pathway-ai { background: linear-gradient(135deg, #fff, var(--blue-100)); }
.pathway-ai::after { background: repeating-radial-gradient(circle, rgba(21,88,153,.28) 0 1px, transparent 2px 18px); }
.pathway-psychology { background: linear-gradient(135deg, #fff, #f5f1e5); }
.pathway-psychology::after { background: repeating-radial-gradient(circle, rgba(72,105,55,.20) 0 1px, transparent 2px 20px); }
.path-icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 18px/1 "Microsoft YaHei", sans-serif; }
.ai-icon { background: linear-gradient(145deg, #0e5da7, #071e4a); box-shadow: 0 8px 25px rgba(16,78,137,.25); }
.heart-icon { background: linear-gradient(145deg, #78975d, #35552d); font-size: 34px; }
.pathway h2 { margin: 25px 0 10px; font-size: 35px; color: var(--blue-950); }
.pathway-psychology h2 { color: var(--green-900); }
.pathway p { margin: 0 0 27px; color: #46534e; font-size: 17px; }
.path-link { margin-top: auto; font-style: normal; min-width: 205px; background: var(--blue-950); }
.pathway-psychology .path-link { background: var(--green-700); }
.path-link i { margin-left: 8px; font-style: normal; }

.philosophy { min-height: 290px; display: grid; grid-template-columns: 1fr minmax(420px, 700px) 1fr; background: var(--cream); overflow: hidden; }
.philosophy-landscape { min-height: 290px; opacity: .78; }
.philosophy-landscape.left { background: radial-gradient(ellipse at 10% 100%, #294d68, transparent 48%), linear-gradient(145deg, #aac4d4, #f8f5ec 75%); clip-path: polygon(0 25%, 18% 15%, 35% 44%, 53% 26%, 75% 62%, 100% 40%, 100% 100%, 0 100%); }
.philosophy-landscape.right { background: radial-gradient(ellipse at 90% 100%, #47613e, transparent 50%), linear-gradient(215deg, #bac898, #f8f5ec 72%); clip-path: polygon(0 55%, 18% 38%, 38% 62%, 55% 24%, 75% 46%, 100% 20%, 100% 100%, 0 100%); }
.philosophy-copy { text-align: center; align-self: center; padding: 40px 10px; }
.philosophy-copy h2 { font-size: clamp(28px, 3vw, 43px); margin: 12px 0 17px; }
.philosophy-copy p { color: var(--muted); font-size: 17px; letter-spacing: .05em; }
.seed { color: var(--green-700); font-size: 31px; }

.site-footer { min-height: 142px; padding: 35px max(36px, calc((100vw - 1180px)/2)); background: linear-gradient(90deg, #082953, #0b386d); color: #fff; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { font-size: 23px; letter-spacing: .08em; }
.footer-brand small { opacity: .75; }
.site-footer nav { display: flex; gap: 52px; font-family: "Microsoft YaHei", sans-serif; }
.site-footer a { opacity: .86; }
.site-footer a:hover { opacity: 1; }

.detail-hero { min-height: 380px; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.detail-hero::after { content: ""; width: 480px; height: 480px; border: 1px solid currentColor; opacity: .09; border-radius: 50%; position: absolute; right: -90px; top: -210px; box-shadow: 0 0 0 70px currentColor, 0 0 0 140px currentColor; }
.detail-ai { background: linear-gradient(135deg, #dcecff, #fff); color: var(--blue-950); }
.detail-psychology { background: linear-gradient(135deg, #eef3e8, #fffaf0); color: var(--green-900); }
.detail-about { background: linear-gradient(135deg, #f0ede4, #fff); color: #4a514d; }
.detail-copy { position: relative; z-index: 1; }
.detail-copy h1 { margin: 9px 0; font-size: clamp(44px, 6vw, 72px); }
.eyebrow { font-family: "Microsoft YaHei", sans-serif; letter-spacing: .22em; }
.detail-rule { width: 42px; height: 3px; margin: 25px auto; background: currentColor; }
.detail-body { max-width: 860px; min-height: 370px; padding-block: 72px 95px; font-size: 19px; line-height: 2; }
.text-back { display: inline-block; margin-top: 36px; color: var(--blue-800); font-family: "Microsoft YaHei", sans-serif; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding-inline: 20px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px; }
  .menu-toggle span { width: 25px; height: 2px; background: var(--blue-950); }
  .site-nav { display: none; position: absolute; top: 72px; inset-inline: 0; padding: 15px 22px 25px; background: rgba(255,255,255,.98); flex-direction: column; gap: 0; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 2px; }
  .site-nav a::after { display: none; }
  .hero { min-height: 590px; }
  .hero-art { width: 100%; height: 50%; }
  .hero-art-ai { top: 0; bottom: auto; }
  .hero-art-heart { top: auto; bottom: 0; }
  .hero::before { background: rgba(255,255,255,.52); }
  .hero h1 { font-size: 40px; }
  .hero h1 span, .hero h1 em { display: block; }
  .hero h1 em::before { content: ""; }
  .hero p { line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: center; }
  .pathways { grid-template-columns: 1fr; padding-block: 38px; width: min(100% - 30px, 560px); }
  .pathway { min-height: 310px; padding: 35px 24px; }
  .pathway h2 { font-size: 31px; }
  .philosophy { display: block; min-height: 310px; position: relative; }
  .philosophy-landscape { position: absolute; inset: auto 0 0; min-height: 160px; }
  .philosophy-landscape.left { right: 50%; }
  .philosophy-landscape.right { left: 50%; }
  .philosophy-copy { position: relative; z-index: 2; padding: 65px 25px 150px; }
  .site-footer { flex-direction: column; gap: 28px; text-align: center; padding-block: 38px; }
  .site-footer nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .detail-hero { min-height: 320px; }
  .detail-body { width: calc(100% - 38px); padding-block: 45px 70px; font-size: 17px; }
}

/* Homepage v2: real hero image, one-screen desktop composition */
@media (min-width: 761px) {
  .site-header { height: 72px; }
  .site-nav a { padding-block: 24px; }
  .site-nav a::after { bottom: 14px; }

  .homepage {
    height: calc(100vh - 138px);
    min-height: 650px;
    display: grid;
    grid-template-rows: minmax(300px, 1fr) auto auto;
    overflow: hidden;
  }
  .hero {
    min-height: 0;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: #eef1ec;
  }
  .hero::before {
    background: radial-gradient(ellipse at 50% 54%, rgba(255,255,255,.96) 0 8%, rgba(255,255,255,.57) 25%, rgba(255,255,255,.08) 60%, transparent 74%);
  }
  .hero-art { display: none; }
  .hero-picture { position: absolute; inset: 0; z-index: -2; }
  .hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
  .hero-copy { width: min(940px, calc(100% - 48px)); margin: 0; }
  .hero h1 { font-size: clamp(37px, 4.1vw, 61px); line-height: 1.14; text-shadow: 0 2px 18px rgba(255,255,255,.88); }
  .hero p { margin: 16px auto 22px; font-size: clamp(15px, 1.2vw, 18px); text-shadow: 0 1px 10px rgba(255,255,255,.9); }
  .button, .path-link { padding: 11px 20px; min-width: 174px; }

  .pathways { gap: 22px; padding-block: 14px; }
  .pathway {
    min-height: 136px;
    padding: 17px 24px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 17px;
    text-align: left;
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(18,46,57,.08);
  }
  .path-icon { grid-row: 1 / 3; width: 54px; height: 54px; font-size: 15px; }
  .heart-icon { font-size: 27px; }
  .pathway h2 { margin: 0 0 3px; font-size: 26px; align-self: end; }
  .pathway p { margin: 0; font-size: 14px; align-self: start; }
  .path-link { grid-column: 3; grid-row: 1 / 3; margin: 0; text-align: center; min-width: 170px; }

  .philosophy { min-height: 90px; grid-template-columns: 1fr minmax(420px, 700px) 1fr; }
  .philosophy-landscape { min-height: 90px; }
  .philosophy-copy { padding: 10px; }
  .philosophy-copy h2 { margin: 1px 0 5px; font-size: clamp(22px, 2vw, 29px); }
  .philosophy-copy p { margin: 0; font-size: 14px; }
  .seed { display: none; }

  .site-footer { min-height: 66px; padding-block: 9px; }
  .footer-brand { flex-direction: row; align-items: baseline; gap: 13px; }
  .footer-brand strong { font-size: 19px; }
}

@media (min-width: 761px) and (max-height: 850px) {
  .site-header { height: 62px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 35px; height: 35px; }
  .site-nav a { padding-block: 19px; }
  .homepage { height: calc(100vh - 120px); min-height: 570px; grid-template-rows: minmax(255px, 1fr) auto auto; }
  .hero h1 { font-size: clamp(33px, 3.8vw, 50px); }
  .hero p { margin-block: 10px 15px; }
  .pathways { padding-block: 9px; }
  .pathway { min-height: 112px; padding-block: 11px; }
  .philosophy, .philosophy-landscape { min-height: 76px; }
  .philosophy-copy h2 { font-size: 22px; }
  .site-footer { min-height: 58px; }
}

@media (max-width: 760px) {
  .homepage { display: block; min-height: 0; }
  .hero { min-height: 560px; position: relative; isolation: isolate; }
  .hero-art { display: none; }
  .hero-picture { position: absolute; inset: 0; z-index: -2; }
  .hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.84) 40%, rgba(255,255,255,.3)); }
  .pathway { min-height: 235px; padding: 27px 24px; }
  .path-icon { flex: 0 0 58px; }
  .pathway h2 { margin-top: 13px; }
  .pathway p { margin-bottom: 22px; }
  .path-link { margin-top: auto; }
  .footer-brand { flex-direction: column; gap: 5px; }
}
