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

:root{
  --ink:#172623;
  --ink-deep:#0c1514;
  --sand:#d4c4a8;
  --sand-soft:#ece2d1;
  --teal:#5cc6b0;
  --clay:#c67b5c;
  --olive:#6b7b3c;
  --line:rgba(212,196,168,.16);
  --line-strong:rgba(212,196,168,.3);
  --r:18px;
  --pad:clamp(1.15rem,4.6vw,3.4rem);
  --sheet:"Orbitron","Exo 2",system-ui,-apple-system,"Segoe UI","Noto Sans SC","PingFang SC",sans-serif;
  --text:"Exo 2",system-ui,-apple-system,"Segoe UI","Noto Sans SC","PingFang SC",sans-serif;
}

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

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

body{
  margin:0;
  font-family:var(--text);
  font-size:17px;
  line-height:1.78;
  font-weight:400;
  color:var(--sand-soft);
  background:
    radial-gradient(78rem 42rem at 112% -12%, rgba(92,198,176,.13), transparent 62%),
    radial-gradient(56rem 38rem at -18% 34%, rgba(198,123,92,.12), transparent 62%),
    radial-gradient(50rem 40rem at 60% 118%, rgba(107,123,60,.14), transparent 60%),
    linear-gradient(178deg,#172623 0%,#101c1a 52%,#0c1514 100%);
  background-attachment:fixed;
  overflow-x:hidden;
  padding-bottom:calc(76px + env(safe-area-inset-bottom));
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:5;
  pointer-events:none;
  opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open{overflow:hidden}

h1,h2,h3{
  font-family:var(--sheet);
  font-weight:600;
  line-height:1.22;
  letter-spacing:.01em;
  margin:0;
  color:var(--sand);
}

p{margin:0 0 1rem}
p:last-child{margin-bottom:0}

a{color:var(--teal)}
a:focus-visible,button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

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

/* ── 底部固定条 ───────────────────────────── */
.dock{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:60;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  padding:.55rem var(--pad) calc(.55rem + env(safe-area-inset-bottom));
  background:rgba(13,22,21,.88);
  backdrop-filter:blur(15px) saturate(1.25);
  -webkit-backdrop-filter:blur(15px) saturate(1.25);
  border-top:1px solid var(--line-strong);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:44px;
  padding:.15rem .2rem;
  text-decoration:none;
  color:var(--sand-soft);
  font-family:var(--sheet);
  font-size:.98rem;
  font-weight:600;
  letter-spacing:.07em;
  white-space:nowrap;
}

.brand-dot{
  width:13px;height:13px;
  border-radius:50%;
  background:radial-gradient(circle at 32% 30%, var(--teal), #2d7d6c 70%);
  box-shadow:0 0 0 3px rgba(92,198,176,.18);
  flex:none;
}

.dock-acts{display:flex;align-items:center;gap:.45rem}

.dock-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 .95rem;
  border:1px solid var(--line-strong);
  border-radius:999px;
  color:var(--sand-soft);
  text-decoration:none;
  font-size:.94rem;
  transition:border-color .3s ease-out,color .3s ease-out;
}
.dock-link:hover{border-color:var(--teal);color:var(--teal)}

.burger{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-height:44px;
  padding:0 .9rem;
  border:0;
  border-radius:999px;
  background:linear-gradient(140deg,var(--teal),#3fa791);
  color:#0b1a17;
  font-family:var(--text);
  font-size:.94rem;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 8px 22px -12px rgba(92,198,176,.9);
}

.burger-bars{
  position:relative;
  display:block;
  width:17px;height:2px;
  background:#0b1a17;
  border-radius:2px;
}
.burger-bars::before,.burger-bars::after{
  content:"";
  position:absolute;left:0;
  width:17px;height:2px;
  background:#0b1a17;
  border-radius:2px;
  transition:transform .3s ease-out;
}
.burger-bars::before{top:-6px}
.burger-bars::after{top:6px}

/* ── 全屏菜单 ────────────────────────────── */
.menu{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  flex-direction:column;
  padding:calc(1rem + env(safe-area-inset-top)) var(--pad) calc(1.5rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(40rem 26rem at 90% 0%, rgba(92,198,176,.16), transparent 60%),
    linear-gradient(158deg,#132320,#09100f 72%);
  transform:translateY(101%);
  visibility:hidden;
  transition:transform .5s cubic-bezier(.22,.9,.24,1),visibility 0s linear .5s;
}
.menu.is-open{transform:translateY(0);visibility:visible;transition-delay:0s,0s}

.menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--line);
}
.menu-mark{
  font-family:var(--sheet);
  font-size:.95rem;
  letter-spacing:.12em;
  color:var(--olive);
  filter:brightness(1.5);
}
.menu-close{
  min-height:44px;
  padding:0 1rem;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:transparent;
  color:var(--sand-soft);
  font-family:var(--text);
  font-size:.94rem;
  cursor:pointer;
}
.menu-close:hover{border-color:var(--clay);color:var(--clay)}

.menu-nav{
  margin:auto 0;
  width:100%;
  max-width:46rem;
  align-self:center;
}
.menu-nav ol{
  list-style:none;
  counter-reset:m;
  margin:0;padding:0;
}
.menu-nav li{
  counter-increment:m;
  border-bottom:1px solid var(--line);
  opacity:0;
  transform:translateY(14px);
}
.menu.is-open .menu-nav li{animation:rise .45s ease-out forwards}
.menu.is-open .menu-nav li:nth-child(1){animation-delay:.08s}
.menu.is-open .menu-nav li:nth-child(2){animation-delay:.14s}
.menu.is-open .menu-nav li:nth-child(3){animation-delay:.2s}
.menu.is-open .menu-nav li:nth-child(4){animation-delay:.26s}
.menu.is-open .menu-nav li:nth-child(5){animation-delay:.32s}
.menu.is-open .menu-nav li:nth-child(6){animation-delay:.38s}
.menu.is-open .menu-nav li:nth-child(7){animation-delay:.44s}

@keyframes rise{to{opacity:1;transform:translateY(0)}}

.menu-nav a{
  display:flex;
  align-items:center;
  gap:.9rem;
  min-height:54px;
  padding:.5rem 0;
  text-decoration:none;
  color:var(--sand-soft);
  font-family:var(--sheet);
  font-size:clamp(1.08rem,4.4vw,1.45rem);
  transition:color .3s ease-out,padding-left .3s ease-out;
}
.menu-nav a::before{
  content:counter(m,decimal-leading-zero);
  font-size:.76rem;
  letter-spacing:.14em;
  color:var(--teal);
  opacity:.85;
  flex:none;
}
.menu-nav a:hover{color:var(--teal);padding-left:.5rem}

/* ── 首屏 ────────────────────────────────── */
.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle, rgba(212,196,168,.28) 1px, transparent 1.4px);
  background-size:24px 24px;
  -webkit-mask-image:radial-gradient(120% 90% at 20% 40%, #000 8%, transparent 72%);
  mask-image:radial-gradient(120% 90% at 20% 40%, #000 8%, transparent 72%);
  opacity:.85;
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  left:var(--pad);
  bottom:0;
  width:88px;height:3px;
  background:linear-gradient(90deg,var(--teal),var(--clay));
  border-radius:3px;
}
.hero-in{
  position:relative;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:clamp(2.6rem,10vh,5.5rem) var(--pad) clamp(2.2rem,8vh,4.4rem);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1.1rem;
}
.hero-mark{
  margin:0;
  font-family:var(--sheet);
  font-size:.82rem;
  letter-spacing:.34em;
  color:var(--teal);
}
.hero h1{
  font-size:clamp(2.05rem,8.6vw,5.2rem);
  line-height:1.06;
  letter-spacing:-.015em;
  text-align:left;
  max-width:22ch;
  background:linear-gradient(120deg,#f2e8d8 12%,var(--sand) 48%,#a8c7ba 96%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-wrap:balance;
}
.hero-lead{
  margin:0;
  max-width:48ch;
  color:rgba(236,226,209,.78);
  font-size:1rem;
  font-weight:300;
}

/* ── 主体 ────────────────────────────────── */
.main{
  max-width:1200px;
  margin:0 auto;
  padding:clamp(1.6rem,4.4vw,3rem) var(--pad) 3rem;
}

.split{display:grid;grid-template-columns:minmax(0,1fr);gap:1.3rem}

.rail{
  border:1px solid var(--line);
  border-radius:var(--r) var(--r) calc(var(--r) * 1.6) var(--r);
  background:linear-gradient(180deg,rgba(212,196,168,.06),rgba(212,196,168,.015));
  padding:.95rem 1rem 1.05rem;
}
.rail h2{
  font-size:.86rem;
  letter-spacing:.28em;
  color:var(--olive);
  filter:brightness(1.55);
  margin-bottom:.7rem;
}
.rail-list{
  list-style:none;
  display:flex;
  gap:.45rem;
  margin:0;
  padding:0 0 .25rem;
  overflow-x:auto;
  scrollbar-width:none;
}
.rail-list::-webkit-scrollbar{display:none}
.rail-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 .85rem;
  border:1px solid var(--line);
  border-radius:999px;
  text-decoration:none;
  color:rgba(236,226,209,.86);
  font-size:.92rem;
  white-space:nowrap;
  transition:border-color .3s ease-out,color .3s ease-out;
}
.rail-list a:hover{border-color:var(--teal);color:var(--teal)}

.body{min-width:0}
.body > section,.body > div{min-width:0}
.body p{color:rgba(236,226,209,.86)}
.body h2,.body h3{
  font-size:clamp(1.2rem,4.2vw,1.55rem);
  margin:0 0 .85rem;
  padding-left:1.05rem;
  position:relative;
}
.body h2::before,.body h3::before{
  content:"";
  position:absolute;
  left:0;top:.42em;
  width:4px;height:1em;
  border-radius:2px;
  background:linear-gradient(180deg,var(--teal),var(--clay));
}
.body h3{font-size:clamp(1.08rem,3.8vw,1.28rem)}

.body > section{
  background:linear-gradient(180deg,rgba(212,196,168,.055),rgba(212,196,168,.018));
  border:1px solid var(--line);
  border-bottom:3px solid rgba(92,198,176,.5);
  border-radius:var(--r);
  padding:clamp(1.15rem,3.6vw,2.1rem);
  margin:0 0 1.1rem;
  box-shadow:0 20px 44px -32px rgba(0,0,0,.95);
  scroll-margin-top:1.4rem;
  transition:transform .4s ease-out,border-bottom-color .4s ease-out;
}
.body > section:hover{
  transform:translateY(-3px);
  border-bottom-color:var(--teal);
}
.body > section:nth-of-type(even){
  border-radius:calc(var(--r) * 1.6) var(--r) var(--r) var(--r);
}
.body > section:last-child{margin-bottom:0}

.body ul,.body ol{padding-left:1.15rem;margin:0 0 1rem}
.body li{margin:.3rem 0}
.body a{text-decoration-color:rgba(92,198,176,.45);text-underline-offset:3px}
.body strong{color:var(--sand-soft)}

.body figure{
  margin:0 0 1rem;
  border-radius:var(--r);
  overflow:hidden;
  border:1px solid var(--line);
}
.body figure img{width:100%}

/* 装饰面板 */
.plate{
  position:relative;
  min-height:132px;
  margin:0 0 1.1rem;
  display:flex;
  align-items:flex-end;
  padding:1rem 1.1rem;
  border:1px solid var(--line-strong);
  border-radius:calc(var(--r) * 1.6) var(--r) calc(var(--r) * 1.6) var(--r);
  background:
    radial-gradient(24rem 12rem at 88% -20%, rgba(198,123,92,.34), transparent 62%),
    radial-gradient(18rem 12rem at 8% 120%, rgba(92,198,176,.3), transparent 62%),
    linear-gradient(150deg,#1c2f2b,#121e1c);
  overflow:hidden;
}
.plate-net{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(212,196,168,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(212,196,168,.16) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:linear-gradient(160deg,#000,transparent 78%);
  mask-image:linear-gradient(160deg,#000,transparent 78%);
  pointer-events:none;
}
.plate figcaption{
  position:relative;
  font-family:var(--sheet);
  font-size:.8rem;
  letter-spacing:.3em;
  color:rgba(236,226,209,.9);
  text-transform:uppercase;
}

/* ── 页脚 ────────────────────────────────── */
.foot{
  border-top:1px solid var(--line-strong);
  background:linear-gradient(180deg,rgba(198,123,92,.08),rgba(12,21,20,.4));
  padding:clamp(2rem,6vw,3.4rem) var(--pad) calc(2.4rem + env(safe-area-inset-bottom));
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:1.6rem;
}
.foot h2{
  font-size:.82rem;
  letter-spacing:.26em;
  color:var(--olive);
  filter:brightness(1.6);
  margin-bottom:.7rem;
}
.foot-cta{
  border:1px solid rgba(92,198,176,.4);
  border-radius:calc(var(--r) * 1.6) var(--r) calc(var(--r) * 1.6) var(--r);
  background:
    radial-gradient(22rem 12rem at 100% 0%, rgba(92,198,176,.2), transparent 62%),
    linear-gradient(150deg,rgba(212,196,168,.08),rgba(212,196,168,.02));
  padding:clamp(1.2rem,4vw,2rem);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.9rem;
}
.foot-cta h2{font-size:clamp(1.15rem,4.4vw,1.5rem);letter-spacing:.02em;color:var(--sand);filter:none;margin:0}
.foot-btn{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 1.2rem;
  border-radius:999px;
  background:var(--teal);
  color:#0b1a17;
  font-weight:600;
  font-size:.95rem;
  text-decoration:none;
  transition:transform .3s ease-out,box-shadow .3s ease-out;
}
.foot-btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px -14px rgba(92,198,176,.95)}

.foot-list{list-style:none;margin:0;padding:0}
.foot-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:rgba(236,226,209,.82);
  text-decoration:none;
  font-size:.95rem;
  transition:color .3s ease-out;
}
.foot-list a:hover{color:var(--teal)}
.foot-brand{margin:0 0 .3rem;font-family:var(--sheet);color:var(--sand-soft)}
.foot-desc{margin:0;font-size:.92rem;color:rgba(236,226,209,.66)}
.copy{
  grid-column:1/-1;
  margin:0;
  padding-top:1.1rem;
  border-top:1px solid var(--line);
  font-size:.85rem;
  letter-spacing:.08em;
  color:rgba(236,226,209,.55);
}

/* ── 断点 ────────────────────────────────── */
@media (min-width:760px){
  .foot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-cta{grid-column:1/-1}
  .plate{min-height:180px}
}

@media (min-width:960px){
  .split{grid-template-columns:246px minmax(0,1fr);gap:2rem;align-items:start}
  .rail{position:sticky;top:1.4rem}
  .rail-list{flex-direction:column;overflow:visible;gap:.1rem}
  .rail-list a{
    border:0;
    border-radius:0;
    border-left:2px solid transparent;
    padding:0 .3rem 0 .7rem;
    min-height:38px;
    white-space:normal;
  }
  .rail-list a:hover{border-left-color:var(--teal)}
  .foot{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
  .foot-cta{grid-column:auto;min-height:100%}
}

@media (max-width:430px){
  .brand{font-size:.9rem;letter-spacing:.04em}
  .dock-link{padding:0 .7rem;font-size:.9rem}
  .burger{padding:0 .75rem}
  .hero h1{max-width:100%}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001s !important;
    animation-delay:0s !important;
    transition-duration:.001s !important;
  }
  .menu-nav li{opacity:1;transform:none}
}

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