:root {
  --pine: #173f34;
  --pine-2: #245748;
  --paper: #f4f0e7;
  --paper-2: #ebe4d7;
  --ink: #1c2924;
  --muted: #53635c;
  --seal: #a94d36;
  --white: #ffffff;
  --line: rgba(23, 63, 52, 0.16);
  --shadow: 0 24px 70px rgba(18, 43, 35, 0.12);
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--seal); outline-offset: 4px; border-radius: 4px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(244, 240, 231, 0.96); }
.site-header__inner, .hero__inner, .section-inner, .site-footer__inner { width: min(100% - 48px, 1160px); margin-inline: auto; }
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { color: var(--pine); font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.14em; text-decoration: none; }
nav { display: flex; gap: 28px; color: #52665e; font-size: 0.875rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--pine); }
.hero { padding: 72px 0 64px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); align-items: center; gap: clamp(36px, 6vw, 82px); }
.hero h1, .services h2, .company h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; color: var(--pine); }
.hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: 0.02em; }
.headline-nowrap { white-space: nowrap; }
.hero__lead { max-width: 34rem; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.service-pill { display: inline-flex; margin: 28px 0 0; padding: 9px 16px; border: 1px solid rgba(169, 77, 54, 0.65); border-radius: 999px; color: var(--seal); font-size: 0.875rem; font-weight: 700; }
.hero-art { min-height: 330px; position: relative; overflow: hidden; border-radius: 132px 132px 24px 24px; background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.2), transparent 28%), linear-gradient(160deg, #1c4b3e 0%, #3c6a5c 48%, #d7c9ac 100%); box-shadow: var(--shadow); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -4%; height: 48%; border-radius: 50% 50% 0 0; background: rgba(244, 240, 231, 0.18); transform: rotate(-5deg); }
.hero-art::after { left: 28%; bottom: 7%; height: 35%; background: rgba(23, 63, 52, 0.42); transform: rotate(7deg); }
.hero-art__mist { position: absolute; z-index: 1; top: 2px; right: 24px; color: rgba(255, 255, 255, 0.13); font-family: "Songti SC", "STSong", serif; font-size: 10rem; line-height: 1; }
.hero-art__caption { position: absolute; z-index: 2; left: 28px; bottom: 24px; color: var(--white); font-family: "Songti SC", "STSong", serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.16em; }
.services { padding: 64px 0; background: var(--white); }
.services h2, .company h2 { margin: 0 0 24px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { padding: 28px; border: 1px solid #e0ddd6; border-radius: 16px; background: #fcfbf8; }
.service-card h3 { margin: 0; color: var(--pine); font-size: 1.05rem; }
.service-card p { margin: 9px 0 0; color: var(--muted); }
.company { padding: 64px 0; background: var(--paper-2); }
.company-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.company-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 0.78rem; }
.company-facts dd { margin: 0; color: var(--pine); font-weight: 700; }
.site-footer { padding: 24px 0; background: var(--pine); color: #eef0eb; font-size: 0.82rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; }
.site-footer a { text-underline-offset: 4px; }
@media (max-width: 768px) {
  .hero { padding: 52px 0 44px; }
  .hero__inner, .service-grid, .company-facts { grid-template-columns: 1fr; }
  .hero-art { min-height: 240px; border-radius: 96px 96px 20px 20px; }
  .services, .company { padding: 48px 0; }
}
@media (max-width: 480px) {
  .site-header__inner, .hero__inner, .section-inner, .site-footer__inner { width: min(100% - 32px, 1160px); }
  .site-header__inner { min-height: 64px; }
  .wordmark { font-size: 1.25rem; }
  nav { gap: 14px; font-size: 0.78rem; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 3.6rem); }
  .site-footer__inner { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Public workbench entry, authorized 2026-09-05. */
[hidden] { display: none !important; }
.site-header nav { align-items: center; gap: 22px; }
.nav-login { border: 1px solid var(--pine); border-radius: 7px; padding: 7px 12px; color: var(--pine); white-space: nowrap; }
.nav-login--owner { background: var(--pine); color: var(--white); }
.nav-login--owner:hover { color: var(--white); background: var(--pine-2); }
.eyebrow { color: var(--muted); letter-spacing: .12em; font-size: .75rem; font-weight: 700; margin: 0 0 12px; }
.workplace { padding: 48px 0; }
.workplace__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.workplace h2 { margin: 0; color: var(--pine); font-size: clamp(1.45rem, 2.8vw, 2rem); font-family: "Songti SC", "STSong", serif; }
.workplace p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.workplace__actions { display: flex; gap: 12px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 11px 22px; border: 1px solid var(--pine); border-radius: 8px; background: var(--pine); color: white; text-decoration: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.button:hover:not(:disabled) { background: var(--pine-2); }
.button:focus-visible { outline: 3px solid var(--seal); outline-offset: 4px; }
.button:disabled { cursor: wait; opacity: .65; }
.button--outline { background: transparent; color: var(--pine); }
.button--outline:hover { color: white; }
.button--wide { width: 100%; margin-top: 18px; }
.back-link { color: var(--muted); font-size: .875rem; text-decoration: none; }
.login-page { min-height: 100svh; display: flex; flex-direction: column; }
.login-main { flex: 1; width: min(100% - 48px, 1050px); margin: 64px auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 60px; }
.login-story { position: relative; padding: 58px 30px 48px 10px; }
.login-story h2 { margin: 30px 0 24px; font-family: "Songti SC", "STSong", serif; color: var(--pine); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.35; font-weight: 600; }
.login-story > p:not(.eyebrow) { color: var(--muted); }
.login-story__seal { display: inline-block; border: 1px solid var(--seal); color: var(--seal); padding: 0 8px; margin-top: 30px; font-family: "Songti SC", "STSong", serif; font-size: 1.8rem; }
.login-card { background: #fffefa; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 14px 44px rgba(18,43,35,.05); align-self: center; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; margin-bottom: 34px; background: var(--paper); border-radius: 9px; }
.login-tabs a { padding: 10px; text-align: center; text-decoration: none; border-radius: 6px; font-size: .9rem; color: var(--muted); }
.login-tabs a[aria-current="page"] { background: white; color: var(--pine); box-shadow: 0 2px 8px rgba(18,43,35,.06); font-weight: 700; }
.login-card h1 { margin: 0 0 12px; font-size: 1.7rem; color: var(--pine); }
.login-description { margin: 0; color: var(--muted); font-size: .9rem; }
.identity-method { display: flex; align-items: center; gap: 14px; margin: 28px 0; }
.identity-method > span { background: var(--pine); color: white; border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.2rem; }
.identity-method strong, .identity-method small { display: block; }
.identity-method strong { font-size: .95rem; }
.identity-method small { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.login-status { padding: 13px 15px; border-radius: 8px; background: #edf2ef; color: #335343; font-size: .875rem; line-height: 1.6; min-height: 68px; }
.login-status[data-state="error"], .login-status[data-state="unavailable"], .login-status[data-state="denied"] { background: #f7eee7; color: #804225; }
.login-help { margin: 22px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.8; }
@media (max-width: 840px) {
  .site-header__inner { gap: 20px; }
  .site-header nav { gap: 12px; }
  .workplace__inner { align-items: flex-start; flex-direction: column; }
  .login-main { gap: 24px; }
  .login-story { padding-top: 36px; }
}
@media (max-width: 600px) {
  .site-header__inner { flex-wrap: wrap; padding-block: 15px; gap: 12px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px; font-size: .78rem; }
  .nav-login { padding: 6px 9px; }
  .login-page .site-header__inner { flex-wrap: nowrap; }
  .login-main { display: block; width: min(100% - 32px, 460px); margin-block: 28px 40px; }
  .login-story { display: none; }
  .login-card { padding: 24px; }
  .login-tabs { margin-bottom: 28px; }
  .workplace__actions { width: 100%; }
  .workplace__actions .button { flex: 1; gap: 12px; padding-inline: 14px; }
}
