/* 鹿崽の公开工作站 — 纯静态样式，零依赖 */
:root {
  --bg: #fbf7f1;
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #26362f;
  --muted: #68766f;
  --line: rgba(91, 113, 103, 0.14);
  --pink: #ef7fa7;
  --pink-deep: #b4486f;
  --pink-soft: #ffe3ed;
  --mint: #72d8b4;
  --green: #1d7b64;
  --green-deep: #245b4e;
  --mint-soft: #dff3e9;
  --cream: #fff1ca;
  --shadow: 0 24px 70px rgba(126, 82, 104, 0.14);
  --shadow-soft: 0 12px 34px rgba(126, 82, 104, 0.09);
  --font: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 204, 222, 0.78), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(199, 245, 220, 0.72), transparent 30%),
    radial-gradient(circle at 74% 74%, rgba(255, 238, 184, 0.48), transparent 28%),
    linear-gradient(180deg, #fff9fc 0%, var(--bg) 60%, #f1fbf5 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 119, 109, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 119, 109, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible {
  outline: 3px solid rgba(29, 123, 100, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

/* 樱花瓣 */
.sakura-field { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute;
  left: var(--left, 12%);
  top: -10vh;
  width: 12px;
  height: 17px;
  border: 1px solid rgba(239, 127, 167, 0.18);
  border-radius: 78% 14% 72% 22%;
  background: linear-gradient(135deg, #fff 0%, #ffc6d8 48%, #ef8bad 100%);
  box-shadow: 0 8px 20px rgba(239, 127, 167, 0.16);
  opacity: 0.38;
  animation: petal-fall var(--duration, 19s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes petal-fall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg) scale(var(--scale, .8)); }
  50% { transform: translate3d(var(--drift, 48px), 52vh, 0) rotate(190deg) scale(var(--scale, .8)); }
  100% { transform: translate3d(calc(var(--drift, 48px) * -.35), 112vh, 0) rotate(390deg) scale(var(--scale, .8)); }
}

/* 头部 */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  min-height: 74px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 42px rgba(128, 93, 108, 0.12);
  backdrop-filter: blur(22px);
}
.brand { min-height: 48px; display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 15px;
  background: radial-gradient(circle at 30% 22%, #fff, transparent 45%), linear-gradient(145deg, #fff1bb, #ffdfea 52%, #cbf4dd);
  box-shadow: inset 0 -7px 16px rgba(29, 123, 100, .06), 0 10px 22px rgba(239, 127, 167, .15);
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 16px; font-weight: 850; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
nav { display: flex; align-items: center; gap: 7px; }
nav > a {
  min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 12px; color: #405249; background: transparent; font-size: 13px; font-weight: 760;
}
nav > a:hover { color: var(--pink-deep); background: rgba(255, 255, 255, .76); border-color: rgba(239, 127, 167, .18); }

/* Hero */
.hero {
  position: relative;
  min-height: 610px;
  padding: 66px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: 54px;
}
.hero::before {
  content: "";
  position: absolute; inset: 28px -20px 42px; z-index: -1;
  border: 1px solid rgba(255, 255, 255, .64); border-radius: 34px;
  background: radial-gradient(circle at 13% 30%, rgba(255, 205, 222, .52), transparent 38%), radial-gradient(circle at 90% 22%, rgba(199, 245, 220, .5), transparent 36%), rgba(255, 255, 255, .18);
}
.eyebrow { margin: 0 0 12px; color: var(--pink-deep); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
h1, h2, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 22px;
  color: var(--green-deep);
  font-size: clamp(58px, 7vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: .01em;
  text-shadow: 0 4px 0 rgba(255, 225, 235, .92), 0 18px 36px rgba(239, 127, 167, .18);
}
.hero-lead { max-width: 610px; margin-bottom: 19px; color: #405249; font-size: 18px; line-height: 1.8; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span {
  padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .86); border-radius: 999px;
  color: var(--pink-deep); background: rgba(255, 233, 241, .86); box-shadow: 0 8px 18px rgba(147, 91, 108, .08); font-size: 12px; font-weight: 800;
}
.hero-badges span:nth-child(2) { color: var(--green); background: rgba(223, 243, 233, .9); }
.hero-badges span:nth-child(3) { color: #98691f; background: rgba(255, 241, 202, .88); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  min-height: 50px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, .82); border-radius: 14px; font-weight: 820;
  box-shadow: 0 10px 24px rgba(114, 81, 96, .1); transition: transform 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(114, 81, 96, .14); }
.button-primary { color: #fff; background: linear-gradient(135deg, #f47fa6, #e9a35f); }

/* 秘书卡 */
.secretary-card {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 237, 244, .88) 55%, rgba(224, 247, 237, .84));
  box-shadow: var(--shadow);
  animation: secretary-breathe 6s ease-in-out infinite;
}
@keyframes secretary-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.secretary-topline { min-height: 42px; padding: 0 4px 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.secretary-topline span { color: var(--pink-deep); font-weight: 850; }
.secretary-topline small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.secretary-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(239, 127, 167, .08); }
.secretary-image > img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.petal-sticker { position: absolute; display: grid; place-items: center; color: #fff; background: var(--pink); box-shadow: 0 8px 20px rgba(180, 72, 111, .2); }
.sticker-one { width: 50px; height: 50px; top: 18px; right: 18px; border-radius: 16px 22px 18px 26px; font-size: 23px; transform: rotate(8deg); }
.sticker-two { width: 34px; height: 34px; left: 18px; bottom: 20px; border-radius: 50%; background: var(--mint); font-size: 16px; }
.secretary-caption { min-height: 76px; padding: 14px 7px 2px; display: flex; align-items: center; gap: 12px; }
.secretary-caption > div { display: grid; }
.secretary-caption strong { color: var(--green-deep); font-size: 17px; }
.secretary-caption small { color: var(--muted); }
.live-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(29, 123, 100, .11); }

/* 入口区 */
.entrances { padding: 88px 0 38px; }
.section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.section-heading h2, .boundary h2 { margin-bottom: 0; color: var(--green-deep); font-size: clamp(36px, 4.6vw, 54px); font-weight: 900; line-height: 1.12; }
.section-heading > p { max-width: 460px; margin-bottom: 4px; color: var(--muted); }
.primary-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.primary-services > li { display: contents; }
.primary-service {
  position: relative; min-height: 250px; padding: 24px; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .88); border-radius: 22px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow-soft);
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease;
}
.primary-service::before { content: ""; position: absolute; width: 150px; height: 150px; right: -62px; bottom: -60px; border-radius: 50%; opacity: .38; }
.primary-service:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .94); box-shadow: 0 18px 40px rgba(126, 82, 104, .13); }
.service-index { color: var(--muted); font-size: 11px; font-weight: 850; }
.service-code { width: 78px; height: 78px; margin: 30px 0 24px; display: grid; place-items: center; border-radius: 23px; color: #fff; font-size: 26px; font-weight: 900; box-shadow: inset 0 -8px 18px rgba(0, 0, 0, .06), 0 10px 24px rgba(114, 81, 96, .12); }
.tone-pink .service-code, .tone-pink::before { background: var(--pink-soft); color: var(--pink-deep); }
.tone-mint .service-code, .tone-mint::before { background: var(--mint-soft); color: var(--green); }
.tone-cream .service-code, .tone-cream::before { background: var(--cream); color: #98691f; }
.service-body { display: block; }
.service-body strong { display: block; margin-bottom: 9px; color: var(--green-deep); font-size: 21px; font-weight: 850; }
.service-desc { display: block; color: var(--muted); }
.service-arrow { position: absolute; right: 24px; top: 20px; color: var(--pink-deep); font-size: 20px; transition: transform 180ms ease; }
.primary-service:hover .service-arrow { transform: translate(3px, -3px); }

/* 公开承诺 */
.boundary {
  margin: 54px 0 72px; padding: 54px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px;
  border: 1px solid rgba(255, 255, 255, .84); border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 230, 239, .88), rgba(226, 247, 238, .88)); box-shadow: var(--shadow);
}
.boundary-copy > p:last-child { max-width: 440px; margin: 24px 0 0; color: #53645c; }
.boundary-lanes { border-top: 1px solid rgba(91, 113, 103, .16); }
.boundary-lanes article { min-height: 132px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid rgba(91, 113, 103, .16); }
.lane-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; color: var(--pink-deep); background: rgba(255, 255, 255, .72); font-weight: 900; }
.boundary-lanes article:nth-child(2) .lane-icon { color: var(--green); }
.boundary-lanes strong { color: var(--green-deep); font-size: 19px; }
.boundary-lanes p { margin: 5px 0 0; color: var(--muted); }
.lane-tag { padding: 5px 8px; border: 1px solid rgba(91, 113, 103, .24); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; }

/* 页脚 */
footer { min-height: 138px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 44px; color: var(--muted); border-top: 1px solid var(--line); }
footer > div { display: flex; align-items: center; gap: 11px; }
footer img { width: 38px; }
footer span { display: grid; }
footer strong { color: var(--green-deep); }
footer small { font-size: 11px; }
footer p { margin: 0; font-size: 13px; }
footer > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--pink-deep); font-weight: 800; }

/* 响应式：平板 */
@media (max-width: 920px) {
  .page-shell { width: min(720px, calc(100% - 32px)); }
  .hero { min-height: 0; padding: 62px 0 72px; grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 690px; }
  .secretary-card { width: min(520px, 100%); justify-self: center; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .primary-services { grid-template-columns: 1fr; }
  .primary-service { min-height: 220px; }
  .service-code { margin: 25px 0 20px; }
  .boundary { grid-template-columns: 1fr; gap: 38px; }
  footer { grid-template-columns: 1fr auto; padding: 34px 0; }
  footer p { display: none; }
}

/* 响应式：手机 */
@media (max-width: 680px) {
  .page-shell { width: min(100% - 28px, 560px); }
  .site-header { top: 8px; min-height: 66px; padding: 7px 8px 7px 10px; border-radius: 16px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .secretary-card { padding: 11px; border-radius: 22px; }
  .secretary-topline small { display: none; }
  .secretary-image { border-radius: 17px; }
  .entrances { padding-top: 66px; }
  .section-heading h2, .boundary h2 { font-size: 36px; }
  .primary-service { min-height: 200px; padding: 21px; }
  .service-code { width: 65px; height: 65px; border-radius: 20px; }
  .boundary { margin: 44px 0 54px; padding: 34px 22px; border-radius: 24px; }
  .boundary-lanes article { min-height: 120px; grid-template-columns: 44px 1fr; }
  .lane-tag { display: none; }
  footer { gap: 16px; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal, .secretary-card { animation: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
