:root {
  --ink: #0E2A47;     /* 主色：深海軍藍 */
  --steel: #2F5D8A;   /* 次色：鋼藍 */
  --signal: #1A9BC4;  /* 強調：箭的青藍 */
  --mist: #EEF3F8;    /* 底色 */
  --line: #D5DFEA;    /* 分隔線 */
  --muted: #5A6B7E;   /* 次要文字 */
  --paper: #FFFFFF;

  --sans: "IBM Plex Sans", "Noto Sans TC", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, ul { margin: 0; }
img { display: block; }

a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-zh {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .12em;
}
.brand-en {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
}
nav { display: flex; gap: 28px; }
nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav a:hover { color: var(--steel); border-bottom-color: var(--signal); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(#E0E8F1 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, #E0E8F1 1px, transparent 1px) 0 0 / 48px 48px,
    var(--mist);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  min-height: min(78vh, 680px);
  padding-top: 64px;
  padding-bottom: 64px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 20px;
}
h1 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.15;
  letter-spacing: .04em;
}
.lede {
  max-width: 34em;
  margin-top: 24px;
  font-size: 17px;
  color: var(--muted);
}
.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s;
}
.btn:hover { background: var(--steel); }

/* 主視覺：拉滿的反曲弓，箭直指右緣 */
.hero-bow { width: 100%; max-width: 480px; justify-self: end; overflow: visible; }
.hero-bow .limb   { stroke: var(--ink); stroke-width: 14; }
.hero-bow .string { stroke: var(--ink); stroke-width: 3; }
.hero-bow .shaft,
.hero-bow .head   { stroke: var(--signal); stroke-width: 12; }
.hero-bow .fletch { stroke: var(--steel); stroke-width: 5; }

@media (prefers-reduced-motion: no-preference) {
  .hero-bow .shaft {
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    animation: draw .9s .3s cubic-bezier(.2, .8, .2, 1) forwards;
  }
  .hero-bow .head {
    opacity: 0;
    animation: appear .3s 1.05s forwards;
  }
}
@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Values ---------- */
.values { padding: 96px 0; }
h2 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .08em;
  margin-bottom: 40px;
}
.pillars {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillars li {
  padding: 32px 28px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  border-radius: 4px;
  transition: border-top-color .2s, transform .2s, box-shadow .2s;
}
.pillars li:hover {
  border-top-color: var(--signal);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 42, 71, .08);
}
h3 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.pillars p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9D6E3;
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 64px;
  align-items: start;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { background: var(--paper); border-radius: 6px; padding: 3px; }
.footer-name {
  color: var(--paper);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .12em;
}
.site-footer .brand-en { color: #8FB3D3; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-self: end; }
.facts dt {
  font-size: 12px;
  color: #8FB3D3;
  letter-spacing: .1em;
}
.facts dd { font-family: var(--mono); color: var(--paper); font-size: 15px; overflow-wrap: anywhere; }
.facts .addr dd { font-family: var(--sans); }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: #8FB3D3;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .header-inner { height: 64px; }
  nav { gap: 16px; }
  nav a { font-size: 14px; }
  .brand-en { font-size: 9px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-bow { order: -1; max-width: 220px; justify-self: start; }
  .values { padding: 64px 0; }
  .pillars { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .facts { justify-self: start; }
}
