/* Ink teal / navy / warm ivory / copper gold */
:root{--navy:#12243A;--teal:#153C3E;--ivory:#F7F3E8;--copper:#B68B59;--gold-light:#E2C493;--paper:var(--ivory);--surface:#EFE9DB;--ink:var(--navy);--accent:var(--copper);--hairline:rgba(182,139,89,.32);--font-sans:"PingFang SC","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",Arial,sans-serif;--font-serif:var(--font-sans)}
body.theme-exce,body.theme-exce *{font-family:var(--font-sans)}
body.theme-exce{background:var(--ivory);color:var(--navy)}
.theme-exce .site-header,.theme-exce[data-page='home']:not(.menu-open) .site-header{background:var(--navy);color:var(--ivory);border-bottom:1px solid var(--copper)}
.theme-exce .brand-name,.theme-exce.home-hero-visible:not(.menu-open) .brand-name{color:var(--gold-light);font-weight:600}
.theme-exce .nav-item .nav-top:before{background:var(--copper)}
.theme-exce .nav-item>.subnav{background:var(--navy);border-color:var(--copper)}
.theme-exce .nav-item>.subnav a{color:var(--ivory)}
.theme-exce .subnav a:hover,.theme-exce .subnav a:focus{background:var(--teal);color:var(--gold-light)}
.theme-exce .home-screen,.theme-exce .group-visual{background-color:var(--ivory);color:var(--navy)}
.theme-exce :is(#group,#party,#latest) :is(p,h2,h3,.eyebrow,.more,.screen-foot,time,.news-row>span,.news-heading>span){color:var(--navy)}
.theme-exce :is(#group,#party,#latest) .screen-heading>p{color:var(--copper)}
.theme-exce #business{background:var(--navy);color:var(--ivory)}
.theme-exce #business .business-card,.theme-exce #business .business-card>div:before{background:var(--teal)}
.theme-exce #business .business-card :is(p,h3){color:var(--ivory)}
.theme-exce .calligraphy-panel,.theme-exce .ink-paper{background:var(--surface)}
.theme-exce :is(.ink-title,.ink-poem p,.ink-seal,.ink-tools button){color:var(--teal)}
.theme-exce .responsibility-screen{background:var(--teal);color:var(--ivory)}
.theme-exce .responsibility-screen:before{background:linear-gradient(90deg,#153C3E 5%,rgba(21,60,62,.92) 50%,rgba(21,60,62,.25)),url('../images/shanghefang.jpg') center/cover}
.theme-exce .hero-copy :is(h1,h2),.theme-exce:not([data-page='home']) .page-hero h1{color:var(--gold-light);font-weight:600}
.theme-exce:not([data-page='home']) .page-hero{height:420px;min-height:420px;max-height:420px;padding:48px 8% 70px;color:var(--ivory)}
.theme-exce:not([data-page='home']) .page-hero :is(p,.sub,.crumbs){color:var(--ivory)}
.theme-exce .page-tabs{background:var(--ivory);color:var(--navy);border-color:var(--hairline)}
.theme-exce .page-tabs a[aria-current],.theme-exce .page-tabs a:hover{color:#86603A}
.theme-exce main>.container{color:var(--navy)}
.theme-exce main>.container :is(p,h1,h2,h3,h4,blockquote,li,time,small,.founder-description,.milestone-copy,.section-copy,.section-label>p,.editorial-kicker,.founder-kicker,.culture-eyebrow,.culture-number,.milestone-year strong,.milestone-tags span,.article-meta,.empty){color:var(--navy)}
.theme-exce main>.container :is(.editorial-visual,.history-panorama) figcaption,.theme-exce main>.container .news-feature-image>span{color:var(--ivory)}
.theme-exce main>.container :is(.founder-feature,.culture-mission,.culture-intro,.culture-principle,.news-feature,.related-card,.account-grid article,.join-contact,.job-item:hover){background:var(--surface);border-color:var(--hairline)}
.theme-exce .editorial-timeline .milestone:before{background:var(--teal);box-shadow:0 0 0 6px var(--ivory)}
.theme-exce .site-footer{background:var(--navy);color:var(--ivory);border-top:1px solid var(--copper)}
.theme-exce .footer-icp{color:inherit;font-size:13px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.theme-exce .quick-tools,.theme-exce .section-dots{background:var(--navy);color:var(--ivory)}
.theme-exce .btn-primary{background:var(--copper);color:var(--navy);border-color:var(--copper)}
.theme-exce :is(input,textarea,select){background:var(--ivory);color:var(--navy);border-color:var(--hairline)}
.theme-exce :is(input,textarea)::placeholder{color:#6F766F}
.theme-exce .contact-form{background:var(--surface)}
@media(max-width:1050px){.theme-exce #primary-nav{background:var(--navy);color:var(--ivory)}}
@media(max-width:700px){.theme-exce:not([data-page='home']) .page-hero{padding:40px 7% 72px}.theme-exce:not([data-page='home']) .page-hero h1{font-size:clamp(26px,7vw,34px);letter-spacing:.08em}}

/* Warm metallic lettering, softly lit from the upper left. */
.theme-exce:not([data-page='home']) .page-hero h1 {
  color:#E7BD83;
  font-weight:600;
  text-shadow:0 2px 3px rgba(3,14,27,.48),0 0 20px rgba(226,180,111,.16);
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .theme-exce:not([data-page='home']) .page-hero h1 {
    background-image:linear-gradient(165deg,#FFF3CF 0%,#F8E2AE 28%,#EBC68C 49%,#F5D7A0 57%,#D99B69 100%);
    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    text-shadow:none;
    filter:drop-shadow(0 2px 1px rgba(3,14,27,.6)) drop-shadow(0 0 12px rgba(226,180,111,.18));
  }
}
@media(forced-colors:active) {
  .theme-exce:not([data-page='home']) .page-hero h1 {background:none;color:CanvasText;-webkit-text-fill-color:CanvasText;filter:none;text-shadow:none}
}

/* Homepage retains its original image-overlay header and light hero lettering. */
.theme-exce[data-page='home']:not(.menu-open) .site-header {
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
.theme-exce[data-page='home'] .hero-copy :is(h1,h2) {
  color:#F5F3ED;
  font-weight:300;
}
.theme-exce[data-page='home']:not(.menu-open) .brand-name {
  color:#F5F3ED;
  font-weight:400;
}

/* Restore copper-gold lettering on the dark poem panel. */
.theme-exce #party .ink-paper :is(.ink-title,.ink-poem p,.ink-seal) { color:#B59158; }
/* Each active slide introduces the whole headline upward, then the subtitle. */
@keyframes hero-text-rise {
  from { opacity:0; transform:translateY(36px); }
  to { opacity:1; transform:translateY(0); }
}
.theme-exce[data-page='home'] .hero-slide.is-active .hero-copy :is(h1,h2) {
  animation:hero-text-rise 1.2s cubic-bezier(.16,1,.3,1) .15s both;
}
.theme-exce[data-page='home'] .hero-slide.is-active .hero-subtitle {
  animation:hero-text-rise 1.2s cubic-bezier(.16,1,.3,1) .4s both;
}
@media(prefers-reduced-motion:reduce) {
  .theme-exce[data-page='home'] .hero-copy :is(h1,h2,.hero-subtitle) { animation:none; }
}

/* Homepage photograph sections retain their original white typography. */
body.theme-exce[data-page='home'] #main-content,
body.theme-exce[data-page='home'] #main-content :is(.home-screen,h1,h2,h3,h4,p,a,span,small,time,button,.eyebrow,.hero-subtitle,.screen-foot,.news-heading,.empty),
body.theme-exce[data-page='home'] .site-header :is(.brand-name,.brand-name small,.nav-top>a,.menu-toggle,.script-toggle),
body.theme-exce[data-page='home'] .site-footer { color:#F5F3ED; }
/* Preserve the explicitly requested copper-gold poem lettering. */
body.theme-exce[data-page='home'] #main-content #party .ink-paper :is(.ink-title,.ink-poem p,.ink-char,.ink-seal) { color:#B59158; }
