/* Shared page chrome. Update templates and run node .tools/sync-layout.cjs. */
:root { --site-ink: #294431; }
.frame { width: min(1440px, calc(100% - 96px)); }
.top { background: #fff; border-bottom: 1px solid #edf0e9; }
.top .bar { height: 84px; border: 0; padding: 0; }
.top .logo { height: 44px; width: auto; }
.top nav { align-items: center; gap: 30px; font-size: 14px; }
.top nav a { padding: 10px 0; }
.top nav a[aria-current="page"] { color: #294431; text-decoration: underline; text-decoration-color: #bd973d; text-underline-offset: 12px; text-decoration-thickness: 2px; }
.top nav .nav-contact { margin-left: 8px; border-left: 1px solid #dce0d7; padding-left: 30px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 2px solid #96731e; outline-offset: 5px; }
.site-footer { background: #f5f6f2; border-top: 1px solid #e2e6dc; scroll-margin-top: 100px; }
.site-footer .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 44px 0 36px; }
.site-footer h2 { font: 600 16px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif; letter-spacing: 0; margin: 0 0 17px; }
.footer-company p { color: #6e7867; font-size: 13px; line-height: 1.9; margin: 0; }
.footer-emails dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin: 0; }
.footer-emails dl>div { display: flex; gap: 14px; align-items: baseline; font-size: 12px; }
.footer-emails dt { color: #737f6a; white-space: nowrap; }
.footer-emails dd { margin: 0; }
.footer-emails a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-bottom { display: flex; flex-direction: row; justify-content: space-between; border-top: 1px solid #e0e5d9; padding: 17px 0 22px; font-size: 11px; color: #78816e; gap: 20px; }
@media(max-width:1100px) {
  .frame { width: calc(100% - 64px); }
  .top nav { gap: 22px; }
  .site-footer .footer-main { gap: 40px; }
  .footer-emails dl>div { display: block; }
}
@media(max-width:900px) {
  .top .bar { height: auto; min-height: 74px; padding: 12px 0; }
  .top nav { align-items: stretch; gap: 0; }
  .top.open nav a { padding: 12px 0; }
  .top nav a[aria-current="page"] { text-underline-offset: 5px; }
  .top nav .nav-contact { margin: 0; border-left: 0; padding-left: 0; }
}
@media(max-width:620px) {
  .frame { width: calc(100% - 40px); }
  .top .logo { height: 38px; }
  .top .bar { min-height: 70px; }
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 32px 0; }
  .footer-emails dl { gap: 15px 20px; }
  .footer-emails dt { margin-bottom: 3px; }
  .site-footer h2 { font-size: 15px; margin-bottom: 12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
