:root {
  --ink: #161513;
  --muted: #6d6860;
  --line: #e1ddd6;
  --bg: #f3f1ec;
  --paper: #fffefb;
  --umber: #5c4638;
  --fg: var(--ink);
  --accent: var(--umber);
  --accent-2: #161513;
  --max: 40.5rem;
  --shell: 72rem;
  --sans: "Noto Sans TC", "Source Han Sans TC", "PingFang TC", sans-serif;
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.7;
}

.site-header,
.site-footer {
  width: 100%;
  font-family: var(--sans);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .shell,
.site-footer .shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0.8rem 1.4rem;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-seal {
  display: grid;
  place-items: center;
  width: 4.15rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
}

.brand-name {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.brand-person {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  color: var(--ink);
  background: #ece8e1;
}

main, article {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.1rem 1.25rem 3.2rem;
}

p {
  margin: 0 0 1.15rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.claim {
  font-size: 1.05rem;
  line-height: 1.55;
  border-left: 2px solid var(--ink);
  padding: 0.1rem 0 0.1rem 0.85rem;
  margin: 0 0 1.6rem;
}

.byline, .muted { color: var(--muted); }

h1 {
  font-size: 1.65rem;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 2.2rem 0 0.7rem;
}

h3 {
  font-size: 1rem;
  margin: 1.4rem 0 0.4rem;
}

img.hero {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.4rem 0 1.5rem;
  border: 1px solid var(--line);
}

ul, ol {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
}

article li + li,
main:not(.home) li + li { margin-top: 0.35rem; }

.home {
  max-width: 68rem;
  padding: 3.2rem 1.4rem 4.2rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.28;
  max-width: 16em;
  margin: 0 0 1rem;
}

.lede {
  max-width: 32rem;
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.62rem 1.15rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
}

.btn:hover { color: #fff; opacity: 0.86; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { color: var(--ink); background: var(--paper); opacity: 1; }

.axis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 3rem 0 3.4rem;
}

.tile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 11.5rem;
}

.tile:hover { border-color: var(--ink); color: var(--ink); }

.tile strong {
  display: block;
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.tile p { margin: 0 0 1rem; color: var(--muted); }

.latest h2 { margin-top: 0; }

.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.feature:hover { border-color: var(--ink); color: var(--ink); }

.feature img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  margin: 0;
  border: 0;
}

.feature div { padding: 1.35rem 1.4rem 1.3rem; }

.feature strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 0.45rem;
}

.feature .muted { margin: 0 0 1rem; }

a {
  color: var(--umber);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.05rem 1.15rem 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.card:hover,
.card:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.card strong {
  display: block;
  font-size: 1.08rem;
  margin: 0.1rem 0 0.4rem;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.card .go {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--umber);
  font-weight: 600;
}

.article-nav {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 1.4rem;
  padding: 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
}

.list { list-style: none; padding: 0; }
.list li { margin: 0 0 0.85rem; }

.site-footer {
  background: var(--ink);
  color: #c9c3b9;
  margin-top: auto;
}

.site-footer .shell { padding: 2.1rem 1.4rem 1.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3.5rem;
  align-items: start;
  padding-bottom: 1.4rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.footer-tag {
  margin: 0 0 0.7rem;
  max-width: 28rem;
  font-size: 0.88rem;
}

.footer-disclaimer {
  margin: 0;
  max-width: 32rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
}

.social {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 1.4rem;
  row-gap: 0.45rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social li { margin: 0; }

.social a {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  gap: 0.4rem;
  padding: 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.social a:hover {
  color: inherit;
  opacity: 0.7;
}

.social a::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.i-fb::before {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 9h3.5l-.5-3H14V4.5c0-.9.2-1.5 1.5-1.5H17V0h-2.4C11.8 0 10 1.7 10 4.6V6H7.5v3H10v9h4V9z'/%3E%3C/svg%3E");
}

.i-ig::before {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M8 4.5h8A3.5 3.5 0 0 1 19.5 8v8a3.5 3.5 0 0 1-3.5 3.5H8A3.5 3.5 0 0 1 4.5 16V8A3.5 3.5 0 0 1 8 4.5z'/%3E%3Ccircle fill='none' stroke='black' stroke-width='1.8' cx='12' cy='12' r='3.2'/%3E%3Ccircle fill='black' cx='16.6' cy='7.4' r='1'/%3E%3C/svg%3E");
}

.i-yt::before {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M23 12.2s-.2-4.1-1-5.8c-.5-1.1-1.5-1.6-2.5-1.7C16.7 4.4 12 4.4 12 4.4h0s-4.7 0-7.5.3c-1 .1-2 .6-2.5 1.7-.8 1.7-1 5.8-1 5.8s.2 4.1 1 5.8c.5 1.1 1.6 1.6 2.5 1.7 1.9.2 7.5.3 7.5.3s4.7 0 7.5-.3c1-.1 2-.6 2.5-1.7.8-1.7 1-5.8 1-5.8zM9.8 15.6V8.8l6.3 3.4-6.3 3.4z'/%3E%3C/svg%3E");
}

.i-th::before {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 8.15c-.25-2.35-1.95-3.95-4.55-3.95-3.45 0-5.8 2.5-5.8 6.2 0 3.35 1.95 5.7 4.95 5.7 1.45 0 2.65-.5 3.45-1.4v2.55c-.85.5-2 .75-3.3.75-4.35 0-7.35-3.05-7.35-7.65C4 6.15 7.2 3 11.95 3c4.25 0 7.05 2.7 7.3 6.55v7.7h-2.55V8.4c0 .1 0 .2-.2-.25zM14.35 12c0 1.55-1 2.65-2.5 2.65-1.55 0-2.55-1.2-2.55-2.85s1-2.85 2.55-2.85c1.5 0 2.5 1.15 2.5 2.8z'/%3E%3C/svg%3E");
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #2c2a27;
}

.legal {
  margin: 0;
  font-size: 0.75rem;
}

.legal a {
  color: #fff;
  margin-right: 0.9rem;
  text-decoration: none;
}

.copy {
  margin: 0;
  font-size: 0.72rem;
  color: #8f887e;
}

@media (max-width: 720px) {
  .site-header .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  h1 { font-size: 1.38rem; }
  .hero h1 { font-size: 1.55rem; }
  .axis,
  .feature,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links { justify-content: flex-start; }
}
