@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root{
  --ink:#1B1B2F;
  --rose:#E8506F;
  --cream:#F7EDE2;
  --paper:#FFFBF6;
  --line:#1B1B2F;
  --soft:rgba(27,27,47,.18);
  --sheet:rgba(247,237,226,.62);
  --sans:system-ui,-apple-system,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --serif:"Cormorant Infant","Songti SC","Times New Roman",serif;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  overflow-x:hidden;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  letter-spacing:.01em;
}

img{display:block;max-width:100%;height:auto}

a{color:var(--rose)}

:focus-visible{
  outline:3px solid var(--rose);
  outline-offset:2px;
}

/* ---------- 顶部 ---------- */
.top{
  position:sticky;
  top:-34px;
  z-index:30;
  background:var(--ink);
  color:var(--cream);
  border-bottom:3px solid var(--rose);
}

.bar{
  margin:0;
  height:34px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 16px;
  font-size:14px;
  letter-spacing:.22em;
  color:var(--sheet);
}

.bar .dot{
  width:9px;
  height:9px;
  background:var(--rose);
  flex:0 0 auto;
}

.bar-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 16px;
  max-width:1180px;
  margin:0 auto;
}

.logo{
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:var(--rose);
  border:2px solid var(--cream);
  overflow:hidden;
  text-decoration:none;
}

.logo img{width:100%;height:100%;object-fit:cover}

.mark{
  width:20px;
  height:20px;
  background:var(--cream);
  clip-path:polygon(0 0,100% 0,100% 100%);
}

nav{flex:1 1 auto;min-width:0}

nav p{
  margin:0;
  display:flex;
  gap:2px;
  padding:2px 0;
  overflow-x:auto;
  white-space:nowrap;
  scrollbar-width:thin;
}

nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  color:var(--cream);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  border-bottom:3px solid transparent;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}

nav a:hover,nav a:focus-visible{
  background:var(--rose);
  border-bottom-color:var(--cream);
  color:#fff;
}

/* ---------- 开场 ---------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:45vh;
  display:flex;
  align-items:center;
  background:var(--ink);
  color:var(--cream);
  border-bottom:4px solid var(--rose);
  clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
  padding:34px 0 62px;
}

.hero::before{
  content:"";
  position:absolute;
  right:-8%;
  bottom:-46%;
  width:74%;
  height:200px;
  background:var(--rose);
  transform:rotate(-11deg);
  opacity:.92;
}

.hero-in{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.hero-text{
  flex:1 1 auto;
  min-width:0;
  text-align:left;
}

h1{
  margin:0 0 12px;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(30px,7vw,58px);
  line-height:1.08;
  letter-spacing:.01em;
  color:var(--cream);
}

.lede{
  margin:0;
  max-width:44ch;
  font-size:17px;
  line-height:1.6;
  color:var(--sheet);
}

.hero-fig{
  flex:0 0 auto;
  margin:0;
  width:124px;
  height:124px;
  border:2px solid var(--rose);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.hero-fig svg{width:100%;height:100%}

.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ---------- 主体 ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:28px 16px 44px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 268px;
  gap:28px;
  align-items:start;
}

.main-col{min-width:0}

.main-col div{
  background:var(--paper);
  border-left:6px solid var(--rose);
  padding:22px 20px 26px;
  margin:0 0 22px;
  scroll-margin-top:100px;
}

.main-col div:nth-child(even){
  border-left-color:var(--ink);
}

.main-col h2,
.main-col h3{
  font-family:var(--serif);
  font-weight:600;
  line-height:1.2;
  margin:0 0 12px;
  letter-spacing:.01em;
}

.main-col h2{font-size:26px}
.main-col h3{font-size:20px;margin-top:18px}

.main-col h2>span,
.main-col h3>span,
.side h2>span,
.foot-links h2>span{
  display:inline-block;
  border-bottom:3px solid var(--rose);
  padding-bottom:2px;
}

.main-col p{margin:0 0 12px}
.main-col p:last-child{margin-bottom:0}

.main-col ul,.main-col ol{
  margin:0 0 14px;
  padding-left:20px;
}

.main-col li{margin:0 0 6px}

.main-col a{
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:700;
}

.main-col blockquote{
  margin:16px 0;
  padding:6px 0 6px 14px;
  border-left:4px solid var(--ink);
  color:#3C3C55;
}

.main-col strong{font-weight:800}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:96px;
  background:var(--paper);
  border:2px solid var(--ink);
  padding:14px 16px 18px;
}

.side h2{
  margin:0 0 10px;
  font-family:var(--serif);
  font-weight:600;
  font-size:19px;
  line-height:1.2;
}

.side ul{
  list-style:none;
  margin:0;
  padding:0;
}

.side a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 8px;
  color:var(--ink);
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid var(--soft);
  transition:background .18s ease,color .18s ease;
}

.side a:hover,.side a:focus-visible{
  background:var(--rose);
  color:#fff;
}

/* ---------- 页脚 ---------- */
footer{
  margin-top:8px;
  padding:36px 16px 0;
  background:var(--ink);
  color:var(--cream);
  border-top:6px solid var(--rose);
}

.foot{
  max-width:1180px;
  margin:0 auto;
  padding-bottom:26px;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:28px;
  align-items:start;
}

address{font-style:normal}

.bigmark{
  display:block;
  font-family:"Great Vibes",var(--serif);
  font-size:clamp(46px,9vw,88px);
  line-height:1.05;
  color:var(--cream);
  word-break:break-word;
}

.foot-links h2{
  margin:0 0 12px;
  font-family:var(--serif);
  font-weight:600;
  font-size:19px;
  line-height:1.2;
}

.foot-links ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 12px;
  border:2px solid var(--skin,#B9B4C7);
  border-color:rgba(247,237,226,.5);
  color:var(--cream);
  font-weight:700;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}

.foot-links a:hover,.foot-links a:focus-visible{
  background:var(--rose);
  border-color:var(--rose);
  color:#fff;
}

.copy{
  max-width:1180px;
  margin:0 auto;
  padding:14px 0 24px;
  font-size:14px;
  color:rgba(247,237,226,.72);
  border-top:1px solid rgba(247,237,226,.24);
}

/* ---------- 动效 ---------- */
.rv{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .42s ease,transform .42s ease;
}

.rv.in{
  opacity:1;
  transform:none;
}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .wrap{grid-template-columns:minmax(0,1fr);gap:22px}
  .side{position:static}
  .foot{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:600px){
  .hero{padding:26px 0 46px}
  .hero-in{gap:14px}
  .hero-fig{width:84px;height:84px}
  .lede{font-size:16px}
  .wrap{padding:22px 14px 34px}
  .main-col div{padding:18px 16px 22px;border-left-width:5px}
  .main-col h2{font-size:23px}
  .foot-links ul{gap:6px}
  .copy{font-size:14px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
}

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