@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root{
  --mint:#b4fde1;
  --mint-deep:#8aebc7;
  --sky:#add8e6;
  --sky-deep:#8ec6d9;
  --ink:#172620;
  --ink-soft:rgba(23,38,32,.72);
  --plate:#ffffff;
  --paper:#f1fcf7;
  --r-xl:28px;
  --r-lg:22px;
  --r-pill:999px;
  --lift:6px 8px 0 rgba(23,38,32,.16);
  --clay:inset -4px -4px 10px rgba(23,38,32,.11), inset 5px 5px 12px rgba(255,255,255,.92);
  --pop:cubic-bezier(.34,1.56,.64,1);
}

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

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

body{
  margin:0;
  padding-bottom:132px;
  font-family:'Roboto','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--ink);
  background-color:var(--paper);
  background-image:
    radial-gradient(circle at 10% 4%, #d9fbee 0, rgba(217,251,238,0) 52%),
    radial-gradient(circle at 92% 2%, #e2f4fb 0, rgba(226,244,251,0) 48%);
  background-attachment:fixed;
  overflow-x:hidden;
}

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

a{ color:var(--ink); }

h1,h2,h3{ font-weight:700; letter-spacing:.01em; }

:focus-visible{
  outline:3px solid var(--sky-deep);
  outline-offset:3px;
}

/* ---------- 角落品牌 + 联系入口 ---------- */
.corner{
  position:fixed;
  inset:0 0 auto 0;
  z-index:70;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  pointer-events:none;
}
.corner > *{ pointer-events:auto; }

.brand{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:var(--r-lg);
  border:3px solid var(--ink);
  background:linear-gradient(155deg,var(--mint),var(--sky));
  box-shadow:var(--clay), 3px 4px 0 rgba(23,38,32,.18);
  text-decoration:none;
  overflow:hidden;
  transition:transform .22s var(--pop);
}
.brand:hover{ transform:translateY(-3px) rotate(-4deg); }
.brand .mark{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
}
.mark-txt{ font-size:20px; font-weight:700; }

.contact{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:var(--r-pill);
  border:3px solid var(--ink);
  background:var(--plate);
  font-weight:500;
  text-decoration:none;
  box-shadow:var(--clay), 3px 4px 0 rgba(23,38,32,.16);
  transition:transform .2s var(--pop), background .2s ease;
}
.contact:hover{ transform:translateY(-3px); background:var(--sky); }

/* ---------- 主区域 ---------- */
main{ display:block; }

.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  min-height:45vh;
  max-width:1080px;
  margin:0 auto;
  padding:88px 18px 14px;
  text-align:center;
  background-image:radial-gradient(rgba(23,38,32,.11) 1.4px, transparent 1.4px);
  background-size:19px 19px;
  background-position:center top;
}

.lede h1{
  margin:0;
  font-size:clamp(2rem,7.4vw,3.05rem);
  line-height:1.18;
  text-wrap:balance;
}
.lede .sub{
  max-width:48ch;
  margin:12px auto 0;
  color:var(--ink-soft);
  font-size:17px;
}

.collage{
  position:relative;
  width:min(430px,100%);
  height:172px;
  margin:10px auto 0;
}
.tile{
  position:absolute;
  width:53%;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border:4px solid var(--ink);
  border-radius:var(--r-lg);
  background:linear-gradient(150deg,var(--mint),#ffffff);
  box-shadow:var(--clay), var(--lift);
  transition:transform .38s var(--pop);
}
.tile-a{ left:1%; top:0; transform:rotate(-4deg); }
.tile-b{ right:1%; top:26px; transform:rotate(5deg); background:linear-gradient(150deg,var(--sky),#ffffff); }
.collage:hover .tile-a{ transform:rotate(-1.5deg) translateY(-7px); }
.collage:hover .tile-b{ transform:rotate(2deg) translateY(-7px); }
.tile .shot{ width:100%; height:100%; object-fit:cover; }

/* ---------- 正文 + 右侧栏 ---------- */
.board{
  max-width:1120px;
  margin:30px auto 0;
  padding:0 18px;
  display:grid;
  gap:26px;
  align-items:start;
}

.prose{
  background:var(--plate);
  border-radius:var(--r-xl);
  padding:24px 20px 8px;
  box-shadow:var(--clay), 0 10px 0 rgba(23,38,32,.09);
  overflow-wrap:break-word;
}

.prose section{
  padding:4px 0 22px;
  scroll-margin-top:92px;
}
.prose section + section{
  border-top:3px dashed rgba(23,38,32,.18);
  padding-top:26px;
}

.prose h2{
  margin:0 0 8px;
  font-size:clamp(1.32rem,4.6vw,1.7rem);
  line-height:1.35;
}
.prose h3{
  margin:22px 0 8px;
  font-size:1.15rem;
  line-height:1.4;
}
.prose h2 + hr,
.prose h3 + hr{
  margin-top:0;
}
.prose hr{
  width:66px;
  height:8px;
  margin:0 0 16px;
  border:0;
  border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--mint),var(--sky));
}

.prose p{ margin:0 0 15px; }
.prose ul,
.prose ol{ margin:0 0 16px; padding-left:1.3em; }
.prose li{ margin:0 0 8px; }

.prose a{
  color:#0f5a44;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.prose a:hover{ background:var(--mint); }

.prose blockquote{
  margin:0 0 16px;
  padding:14px 18px;
  border-radius:var(--r-lg);
  background:linear-gradient(160deg,#eafdf5,#e3f3fa);
  box-shadow:var(--clay);
}
.prose blockquote p:last-child{ margin-bottom:0; }

.prose figure{
  margin:0 0 16px;
}
.prose img{
  border-radius:var(--r-lg);
  border:3px solid var(--ink);
}

.prose table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 16px;
  font-size:16px;
}
.prose th,
.prose td{
  padding:10px 12px;
  text-align:left;
  border-bottom:2px solid rgba(23,38,32,.14);
}

/* 右侧栏 */
.rail{
  padding:20px 18px;
  border-radius:var(--r-xl);
  background:linear-gradient(165deg,#e7fdf4,#def2fb);
  box-shadow:var(--clay), 0 8px 0 rgba(23,38,32,.09);
}
.rail h2{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.4;
}
.rail hr{
  width:52px;
  height:7px;
  margin:0 0 15px;
  border:0;
  border-radius:var(--r-pill);
  background:var(--sky-deep);
}
.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 15px;
  border-radius:var(--r-pill);
  background:var(--plate);
  font-size:16px;
  line-height:1.5;
  text-decoration:none;
  box-shadow:2px 3px 0 rgba(23,38,32,.13);
  transition:transform .2s var(--pop), background .2s ease;
}
.rail-list a:hover{ transform:translateX(4px); background:var(--mint); }

/* ---------- 页脚 ---------- */
footer{
  max-width:1120px;
  margin:46px auto 0;
  padding:24px 18px 0;
  border-top:3px solid rgba(23,38,32,.16);
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
footer .big{
  margin:0;
  font-size:clamp(2rem,10vw,4rem);
  font-weight:700;
  line-height:1;
  letter-spacing:.02em;
  background:linear-gradient(120deg,var(--mint-deep),var(--sky-deep));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
footer .meta{
  margin:0;
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--ink-soft);
}
footer .meta small{ font-size:16px; }
footer .meta a{
  margin-left:14px;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 4px;
  color:var(--ink);
  text-decoration:none;
  border-bottom:2px solid var(--mint-deep);
}
footer .meta a:hover{ border-bottom-color:var(--ink); }

/* ---------- 底部胶囊导航 ---------- */
.dock{
  position:fixed;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  z-index:80;
  width:min(960px, calc(100% - 18px));
  padding:8px;
  border:3px solid var(--ink);
  border-radius:var(--r-pill);
  background:linear-gradient(180deg,#ffffff,#ecfdf5);
  box-shadow:var(--clay), 0 9px 0 rgba(23,38,32,.18);
}
.dock ol{
  display:flex;
  gap:8px;
  margin:0;
  padding:0 2px;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.dock ol::-webkit-scrollbar{ display:none; }
.dock li{ flex:0 0 auto; }
.dock a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 16px;
  border-radius:var(--r-pill);
  border:2px solid rgba(23,38,32,.85);
  background:var(--mint);
  font-size:16px;
  font-weight:500;
  white-space:nowrap;
  text-decoration:none;
  transition:transform .2s var(--pop), background .2s ease, box-shadow .2s ease;
}
.dock a:hover{
  transform:translateY(-3px);
  background:var(--sky);
  box-shadow:0 4px 0 rgba(23,38,32,.2);
}
.dock a:active{ transform:translateY(2px); box-shadow:none; }

/* ---------- 断点 ---------- */
@media (min-width:760px){
  .hero{ padding-top:96px; }
  .collage{ height:210px; width:min(520px,100%); }
  .prose{ padding:32px 34px 10px; }
  footer .meta a{ min-height:44px; }
}

@media (min-width:960px){
  .board{ grid-template-columns:minmax(0,1fr) 290px; gap:34px; }
  .rail{
    position:sticky;
    top:88px;
    order:2;
  }
  .prose{ order:1; }
  .hero{ padding-left:24px; padding-right:24px; }
}

@media (max-width:600px){
  body{ font-size:17px; padding-bottom:126px; }
  .hero{ padding-top:86px; }
  .collage{ height:150px; }
  .tile{ width:56%; }
  .prose{ padding:20px 16px 6px; border-radius:24px; }
  .rail{ border-radius:24px; padding:18px 15px; }
  footer{ margin-top:36px; }
  .dock{ width:calc(100% - 12px); bottom:8px; padding:7px; }
  .dock a{ padding:0 14px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,
  *::before,
  *::after{
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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