
:root{
  --bg:#0a0a0a;
  --surface:#111111;
  --surface-2:#151515;
  --ink:#f5f5f5;
  --body:rgba(255,255,255,.72);
  --mute:rgba(255,255,255,.58);
  --faint:rgba(255,255,255,.38);
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.14);
  --accent:#9fd9c5;
  --max:1180px;
}

*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,"Noto Sans TC","PingFang TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}

.masters-page{
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
}

.hero{
  padding:112px 0 92px;
  border-bottom:1px solid var(--line);
}

.brand-kicker{
  margin:0 0 18px;
  color:var(--faint);
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(24px,2.6vw,36px);
  line-height:1.12;
  letter-spacing:-.02em;
  font-weight:600;
}

.hero-lead{
  max-width:760px;
  margin:26px 0 0;
  color:var(--body);
  font-size:18px;
  line-height:1.65;
  letter-spacing:-.01em;
}

.hero-copy{
  max-width:760px;
  margin:20px 0 0;
  color:var(--mute);
  font-size:14px;
  line-height:1.75;
}

.master-section{
  padding:82px 0 96px;
  border-bottom:1px solid var(--line);
}

.section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,440px);
  gap:40px;
  align-items:end;
  margin-bottom:38px;
}

.section-head h2{
  margin:0;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:600;
}

.section-head p{
  margin:0;
  color:var(--mute);
  font-size:13px;
  line-height:1.65;
}

.masters-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}

.master-card{
  min-height:286px;
  padding:28px;
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:22px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg);
  transition:background .2s ease;
}

.master-card:hover{
  background:var(--surface);
}

.avatar{
  width:56px;
  height:56px;
  border:1px solid var(--line-strong);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--surface);
}

.avatar-code{
  font-size:11px;
  letter-spacing:.08em;
  color:var(--body);
}

.master-copy h3{
  margin:0;
  font-size:20px;
  line-height:1.3;
  letter-spacing:-.02em;
  font-weight:600;
}

.master-meta{
  margin:6px 0 22px;
  color:var(--faint);
  font-size:11px;
  line-height:1.5;
}

.master-copy h4{
  margin:0 0 10px;
  color:var(--body);
  font-size:14px;
  font-weight:600;
}

.master-desc{
  margin:0;
  color:var(--mute);
  font-size:13px;
  line-height:1.75;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}

.tags span{
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--faint);
  font-size:10px;
  line-height:1;
}

.method-section{padding-bottom:92px}

.method-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}

.method-card{
  min-height:190px;
  padding:24px 20px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.method-card span{
  display:block;
  margin-bottom:38px;
  color:var(--faint);
  font-size:10px;
  letter-spacing:.12em;
}

.method-card strong{
  display:block;
  margin-bottom:11px;
  font-size:14px;
  font-weight:600;
}

.method-card p{
  margin:0;
  color:var(--mute);
  font-size:12px;
  line-height:1.7;
}

.closing{
  padding:110px 0 120px;
  max-width:760px;
}

.closing-kicker{
  margin:0 0 16px;
  color:var(--faint);
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
}

.closing h2{
  margin:0;
  font-size:clamp(24px,2.4vw,32px);
  line-height:1.18;
  letter-spacing:-.02em;
  font-weight:600;
}

.closing>p:not(.closing-kicker){
  margin:22px 0 0;
  color:var(--mute);
  font-size:14px;
  line-height:1.75;
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:34px;
  padding-bottom:5px;
  border-bottom:1px solid var(--line-strong);
  color:var(--body);
  font-size:13px;
}

.text-link span{color:var(--accent)}

.page-footer{
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
  padding:34px 0 58px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  border-top:1px solid var(--line);
  color:var(--faint);
  font-size:11px;
}

.page-footer span{
  color:var(--body);
  font-weight:600;
}

.page-footer p{margin:0}

.reveal{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .55s ease,transform .55s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .masters-page,
  .page-footer{
    width:min(100% - 32px,var(--max));
  }

  .hero{
    padding:78px 0 68px;
  }

  .hero h1{
    font-size:24px;
  }

  .hero-lead{
    margin-top:22px;
    font-size:16px;
  }

  .hero-copy{
    font-size:13px;
  }

  .master-section{
    padding:64px 0 74px;
  }

  .section-head{
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:28px;
  }

  .masters-grid{
    grid-template-columns:1fr;
  }

  .master-card{
    min-height:0;
    padding:24px 20px;
    grid-template-columns:52px minmax(0,1fr);
    gap:18px;
  }

  .avatar{
    width:48px;
    height:48px;
  }

  .method-grid{
    grid-template-columns:1fr;
  }

  .method-card{
    min-height:0;
    padding:20px;
    display:grid;
    grid-template-columns:42px 100px 1fr;
    align-items:start;
    gap:10px;
  }

  .method-card span,
  .method-card strong,
  .method-card p{
    margin:0;
  }

  .closing{
    padding:82px 0 92px;
  }

  .page-footer{
    flex-direction:column;
    gap:7px;
  }
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}
