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

:root{
  --ink:#0E0E0E;
  --red:#E2452B;
  --paper:#F5F1EA;
  --blk:#171717;
  --dim:rgba(245,241,234,.66);
  --soft:rgba(245,241,234,.88);
  --line:rgba(245,241,234,.15);
  --bar:112px;
}

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

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

body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:Inter,system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.7;
  letter-spacing:.005em;
  overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit}
menu{margin:0;padding:0;list-style:none}

/* ---------- 顶部两行 ---------- */
.top{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(14,14,14,.94);
  border-bottom:1px solid var(--line);
  padding:10px 20px 6px;
  backdrop-filter:blur(10px);
}

.brandrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  max-width:1180px;
  margin:0 auto;
}

.stamp{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
  font-weight:800;
  font-size:19px;
  letter-spacing:-.035em;
  line-height:1.1;
}

.stamp::before{
  content:"";
  width:13px;
  height:13px;
  flex:none;
  background:var(--red);
  transform:rotate(45deg);
  transition:transform .35s ease;
}

.stamp:hover::before{transform:rotate(135deg)}
.stamp .mark{width:32px;height:32px;border-radius:9px;object-fit:cover}

.cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  background:var(--red);
  color:var(--paper);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .25s ease,background .25s ease;
}

.cta:hover{transform:translateY(-2px);background:#f0502f}

/* ---------- 菜单 details ---------- */
.disc{max-width:1180px;margin:0 auto}
.disc summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--dim);
  transition:color .25s ease;
}
.disc summary::-webkit-details-marker{display:none}
.disc summary::before{
  content:"";
  width:18px;
  height:2px;
  flex:none;
  background:var(--red);
  box-shadow:0 5px 0 var(--red),0 -5px 0 var(--red);
  transition:box-shadow .25s ease;
}
.disc summary:hover{color:var(--paper)}
.disc[open] summary{color:var(--red)}
.disc[open] summary::before{box-shadow:0 5px 0 var(--red)}

.menulist{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:2px;
  padding:6px 0 14px;
}

.menulist a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 10px;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  border-bottom:1px solid var(--line);
  transition:background .2s ease,color .2s ease,padding-left .2s ease;
}

.menulist a::before{
  content:"";
  width:7px;
  height:7px;
  flex:none;
  background:var(--red);
  border-radius:2px;
  transition:transform .2s ease;
}

.menulist a:hover{background:#1c1c1c;padding-left:16px}
.menulist a:hover::before{transform:scale(1.5)}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:calc(100svh - var(--bar));
  overflow:hidden;
  background:#141414;
}

.hero-bg{position:absolute;inset:0;margin:0}

.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(1) contrast(1.2) brightness(.62);
  animation:drift 14s ease-in-out infinite alternate;
}

@keyframes drift{from{transform:scale(1.02)}to{transform:scale(1.1)}}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(196deg,rgba(14,14,14,.2) 0%,rgba(14,14,14,.55) 46%,rgba(14,14,14,.95) 88%);
}

.hero-copy{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:26vh 20px 52px;
}

.hero-h1{
  display:flex;
  flex-wrap:wrap;
  margin:0;
  font-size:clamp(2.5rem,8.4vw,6.2rem);
  line-height:.96;
  font-weight:800;
  letter-spacing:-.05em;
  overflow-wrap:anywhere;
}

.hero-h1 span{
  display:inline-block;
  animation:jump .72s cubic-bezier(.2,.75,.2,1) both;
  animation-delay:calc(var(--i) * 42ms);
}

.hero-h1 span:first-child{color:var(--red)}

@keyframes jump{
  from{opacity:0;transform:translateY(.62em) rotate(5deg)}
  to{opacity:1;transform:none}
}

/* ---------- 主体 ---------- */
.page-main{
  max-width:1180px;
  margin:0 auto;
  padding:56px 20px 84px;
}

.sheet{
  display:grid;
  grid-template-columns:238px minmax(0,1fr);
  gap:52px;
  align-items:start;
}

.rail{
  position:sticky;
  top:calc(var(--bar) + 18px);
  background:var(--blk);
  border-radius:28px;
  padding:24px 20px;
}

.rail-h{
  margin:0;
  font-size:19px;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.2;
}

.subtitle{
  margin:3px 0 16px;
  font-family:"Playfair Display",serif;
  font-style:italic;
  font-size:16px;
  color:var(--red);
  letter-spacing:.04em;
}

.rail-list{display:grid;gap:1px}

.rail-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  text-decoration:none;
  font-size:16px;
  color:var(--dim);
  border-bottom:1px solid var(--line);
  transition:color .2s ease,transform .2s ease;
}

.rail-list a::before{
  content:"";
  width:6px;
  height:6px;
  flex:none;
  border-radius:50%;
  background:var(--red);
  opacity:.55;
  transition:opacity .2s ease;
}

.rail-list a:hover{color:var(--paper);transform:translateX(3px)}
.rail-list a:hover::before{opacity:1}

/* ---------- 正文 ---------- */
.body{min-width:0}

.body > section{
  scroll-margin-top:calc(var(--bar) + 34px);
  padding-bottom:4px;
}

.body > section + section{
  margin-top:54px;
  padding-top:50px;
  border-top:1px solid var(--line);
}

.body h2{
  margin:0 0 12px;
  font-size:clamp(1.55rem,3.6vw,2.35rem);
  line-height:1.14;
  font-weight:800;
  letter-spacing:-.04em;
}

.body h2::after{
  content:"";
  display:block;
  width:46px;
  height:3px;
  margin-top:14px;
  background:var(--red);
}

.body h3{
  margin:30px 0 10px;
  font-size:1.22rem;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--red);
}

.body p{margin:0 0 16px;color:var(--soft)}
.body strong{color:var(--paper);font-weight:700}
.body em{font-family:"Playfair Display",serif;font-style:italic}

.body a{
  color:var(--red);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.body ul,.body ol{margin:0 0 18px;padding-left:1.25em;color:var(--soft)}
.body li{margin-bottom:8px}
.body ul li::marker{color:var(--red)}

.body blockquote{
  margin:26px 0;
  padding:18px 22px;
  background:var(--blk);
  border-radius:28px;
  color:var(--soft);
}
.body blockquote p:last-child{margin-bottom:0}

.body figure{margin:26px 0}
.body figure img{border-radius:28px;width:100%}
.body figcaption{font-size:16px;color:var(--dim);padding-top:8px}

.body img{border-radius:28px}
.body hr{border:0;border-top:1px solid var(--line);margin:34px 0}
.body table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 20px}
.body th,.body td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}
.body th{color:var(--red);font-weight:700}

.body .card,.body section > div{
  background:var(--blk);
  border-radius:28px;
}

.body section > div{padding:22px}
.body section > div > :last-child{margin-bottom:0}

/* ---------- 页脚 ---------- */
.foot{
  border-top:1px solid var(--line);
  background:#080808;
  padding:56px max(20px,calc((100vw - 1180px) / 2)) 34px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px 34px;
  align-items:end;
}

.foot-brand{
  margin:0;
  font-size:clamp(2rem,7.2vw,5.4rem);
  font-weight:800;
  line-height:.88;
  letter-spacing:-.055em;
  overflow-wrap:anywhere;
}

.foot-links{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:4px 18px;
  font-size:16px;
}

.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
  color:var(--dim);
  transition:color .2s ease;
}

.foot-links a:hover{color:var(--red)}

.foot-note{
  grid-column:1 / -1;
  display:block;
  text-align:center;
  font-size:16px;
  color:var(--dim);
  border-top:1px solid var(--line);
  padding-top:22px;
}

/* ---------- 滚动进场 ---------- */
.reveal{opacity:0;transform:translateY(22px)}
.reveal.in{
  opacity:1;
  transform:none;
  transition:opacity .6s ease,transform .7s cubic-bezier(.2,.75,.25,1);
}
.reveal.in:nth-child(odd){transition-delay:.05s}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  :root{--bar:104px}
  .sheet{grid-template-columns:1fr;gap:30px}
  .rail{position:static;border-radius:22px;padding:20px 18px}
  .rail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
  .rail-list a{font-size:16px}
  .foot{grid-template-columns:1fr;align-items:start}
  .foot-links{justify-content:flex-start}
  .foot-note{text-align:center}
}

@media (max-width:640px){
  body{font-size:16px}
  .hero{min-height:76svh}
  .hero-copy{padding:20vh 18px 40px}
  .page-main{padding:40px 16px 64px}
  .top{padding:8px 16px 4px}
  .cta{padding:0 16px}
  .menulist{grid-template-columns:1fr}
  .foot{padding-left:16px;padding-right:16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}

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