@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --rose: #eb879c;
  --blush: #ffb6c1;
  --plum: #26171a;
  --paper: #fdf1f4;
  --card: #ffffff;
  --mute: #6b5457;
  --line: rgba(38, 23, 26, 0.14);
  --shadow: 0 2px 4px rgba(38, 23, 26, 0.06), 0 14px 32px -18px rgba(38, 23, 26, 0.3);
  --shadow-lift: 0 4px 8px rgba(38, 23, 26, 0.08), 0 22px 44px -20px rgba(38, 23, 26, 0.36);
  --r: 18px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --text: 'Source Serif 4', Georgia, 'Songti SC', 'Noto Serif CJK SC', serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.72;
  color: var(--plum);
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 100% -6%, var(--blush) 0%, rgba(255, 182, 193, 0) 58%),
    radial-gradient(760px 380px at 2% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 34%, #ffffff 100%);
}

img { max-width: 100%; }

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #7c2c42;
  outline-offset: 3px;
  border-radius: 10px;
}

/* 顶部细条 */
.ticker {
  background: var(--plum);
  color: var(--blush);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.ticker p {
  margin: 0 auto;
  padding: 9px 16px;
  max-width: 1200px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 页头：品牌居中，菜单分列两侧 */
.mast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px clamp(12px, 3vw, 30px);
}

.mast-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mast-nav--l ol { justify-content: flex-end; }
.mast-nav--r ol { justify-content: flex-start; }

.mast-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: 11px;
  font-size: 16px;
  text-decoration: none;
  color: var(--plum);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}
.mast-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(235, 135, 156, 0.22);
}
.mast-nav a:hover {
  background: var(--card);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(20px, 2.7vw, 27px);
  letter-spacing: 0.05em;
  color: var(--plum);
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}
.brand:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.brand-logo { height: 38px; width: auto; display: block; }

/* 粘性锚点条 */
.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(253, 241, 244, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 5px rgba(38, 23, 26, 0.05);
}
.sticky-bar ol {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 8px clamp(12px, 3vw, 30px);
  max-width: 1220px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.sticky-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--mute);
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.sticky-bar a:hover,
.sticky-bar a.is-on {
  color: var(--plum);
  background: var(--card);
  box-shadow: var(--shadow);
}
.sticky-bar a.is-on { box-shadow: inset 0 -2px 0 var(--rose), var(--shadow); }

/* 主体两栏 */
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px) clamp(14px, 3vw, 30px) 64px;
}

.stream { min-width: 0; }

/* 首屏 */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: min(70vh, 520px);
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero--solo { grid-template-columns: minmax(0, 1fr); }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--blush));
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(29px, 4.6vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.hero-desc {
  margin: 0;
  max-width: 34ch;
  color: var(--mute);
  font-size: 17px;
}
.hero-media { margin: 0; }
.hero-media img,
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px -16px rgba(38, 23, 26, 0.45);
}

/* 标题与正文 */
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
}
h2 > span,
h3 > span {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--rose);
}

.sec-head {
  margin: 28px 0 12px;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.body {
  padding: clamp(18px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow);
}
.body article {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 122px;
}
.body article:first-child { border-top: 0; padding-top: 0; }
.body h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 0 0 12px; }
.body h3 { font-size: 19px; margin: 22px 0 8px; }
.body p { margin: 0 0 14px; line-height: 1.86; }
.body ul,
.body ol { margin: 0 0 16px; padding-left: 1.25em; }
.body li { margin-bottom: 6px; }
.body blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--rose);
  border-radius: 0 12px 12px 0;
  background: var(--paper);
}
.body a {
  color: #9c3f56;
  text-underline-offset: 3px;
}
.body img { height: auto; border-radius: 12px; }

/* 侧栏（右侧） */
.side {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 16px;
}
.side-block {
  position: relative;
  padding: 16px 18px 20px;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-block::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--blush);
}
.side-block h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0.04em; }

.side-links {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  color: var(--plum);
  transition: background-color 0.22s ease, transform 0.22s ease;
}
.side-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--rose);
}
.side-links a:hover { background: var(--paper); transform: translateX(3px); }

/* 页脚 */
.foot {
  margin-top: 40px;
  padding: clamp(28px, 5vw, 56px) clamp(14px, 3vw, 30px) 18px;
  background: var(--plum);
  color: #f8eaed;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 0.8fr;
  gap: clamp(18px, 3vw, 36px);
  max-width: 1180px;
  margin: 0 auto;
}
.foot address { font-style: normal; }
.foot h2 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--blush);
}
.foot h2 > span { border-bottom-color: var(--rose); }

.brand-big {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--blush);
}
.mark-logo {
  display: block;
  width: auto;
  max-width: 130px;
  height: auto;
  margin-top: 12px;
  border-radius: 10px;
}

.foot-links {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 0;
  font-size: 16px;
  text-decoration: none;
  color: #f8eaed;
  transition: color 0.22s ease, transform 0.22s ease;
}
.foot-links a:hover { color: var(--blush); transform: translateX(3px); }

.swatches { display: flex; gap: 8px; margin-top: 6px; }
.swatches span {
  height: 22px;
  flex: 1;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.swatches span:nth-child(1) { background: var(--rose); }
.swatches span:nth-child(2) { background: var(--blush); }
.swatches span:nth-child(3) { background: #f8eaed; }

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  color: var(--plum);
  background: var(--blush);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}
.totop:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.6);
}

.foot-base {
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 182, 193, 0.28);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(248, 234, 237, 0.78);
}
.foot-base p { margin: 0; }

/* 动效 */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero { animation: rise 0.3s ease both; }
.sec-head { animation: rise 0.3s ease 0.04s both; }
.body { animation: rise 0.3s ease 0.07s both; }
.side-block { animation: rise 0.28s ease 0.1s both; }
.sticky-bar li,
.side-links li,
.foot-links li { animation: rise 0.26s ease both; }
.sticky-bar li:nth-child(1) { animation-delay: 0.02s; }
.sticky-bar li:nth-child(2) { animation-delay: 0.04s; }
.sticky-bar li:nth-child(3) { animation-delay: 0.06s; }
.sticky-bar li:nth-child(4) { animation-delay: 0.08s; }
.sticky-bar li:nth-child(5) { animation-delay: 0.1s; }
.sticky-bar li:nth-child(6) { animation-delay: 0.12s; }
.sticky-bar li:nth-child(7) { animation-delay: 0.14s; }

/* 移动端 */
@media (max-width: 960px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: 2; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-media img,
  .hero-img { max-height: 340px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .mast {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    text-align: center;
  }
  .brand { order: -1; justify-self: center; margin-bottom: 2px; }
  .mast-nav ol { justify-content: center; }
  .mast-nav--l ol,
  .mast-nav--r ol { justify-content: center; }
  .ticker { font-size: 12px; letter-spacing: 0.16em; }
  .sec-head { margin-top: 22px; }
}

@media (max-width: 520px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .body { padding: 18px 16px; }
  .hero { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
