/* ===== 基本設定 ===== */
:root {
  --bg: #15130f;
  --bg-soft: #1f1b16;
  --text: #f4efe7;
  --text-muted: #b9ae9f;
  --accent: #f0a54a;
  --accent-deep: #d9822b;
  --border: rgba(244, 239, 231, 0.14);
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 19, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 19px;
}

.brand-text { font-weight: 700; letter-spacing: 0.04em; }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }

.main-nav a { color: var(--text-muted); transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }

.main-nav .nav-cta {
  color: var(--bg);
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.main-nav .nav-cta:hover { color: var(--bg); background: var(--accent-deep); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 78% 30%, rgba(240, 165, 74, 0.18), transparent 55%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }

.hero-name {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 1.05;
}

.hero-alias {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--accent);
}

.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 34em;
  margin-bottom: 26px;
}

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tags li {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--bg-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.hero-photo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.55;
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* ===== 區塊標題 ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-head p { color: var(--text-muted); }

/* ===== Works ===== */
.works {
  padding: 88px 0 96px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.video-card { display: block; }
.video-card.is-extra { display: none; }
.video-grid.show-all .video-card.is-extra { display: block; }

.video-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.video-card:hover .video-thumb img { transform: scale(1.05); }

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(21, 19, 15, 0.62);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  padding-left: 3px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.video-card:hover .play-btn { background: var(--accent); color: var(--bg); }

.video-card h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.works-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.works-actions .btn { cursor: pointer; font-family: inherit; background-color: transparent; }
.works-actions .btn-primary { background: var(--accent); }
.works-actions .btn-primary:hover { background: var(--accent-deep); }

/* ===== About ===== */
.about {
  padding: 88px 0 96px;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-copy h2 {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.3;
  margin-bottom: 22px;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 14px;
}

.about-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-facts li {
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
}

.about-facts strong {
  display: block;
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 6px;
}

.about-facts strong span { font-size: 15px; margin-left: 2px; }

.about-facts p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== Contact ===== */
.contact {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 165, 74, 0.14), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: center;
}

.contact-line { margin-bottom: 22px; }

.contact-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-id {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text);
}

.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 18px; }

.contact-actions .btn { cursor: pointer; font-family: inherit; background-color: transparent; }

.contact-actions .btn-line { background: #06c755; color: #fff; }
.contact-actions .btn-line:hover { background: #05b04b; }

.contact-note { font-size: 13px; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.site-footer a:hover { color: var(--accent); }

/* ===== 手機 ===== */
@media (max-width: 960px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { order: -1; max-width: 300px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-tags, .hero-actions { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero-lead { font-size: 16px; }
  .hero-lead br { display: none; }
  .works { padding: 64px 0 72px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .video-card h3 { font-size: 14px; }
  .about { padding: 64px 0 72px; }
  .about-copy p { font-size: 16px; }
  .about-copy h2 br { display: none; }
  .about-facts { gap: 10px; }
  .about-facts li { padding: 18px 14px; }
  .about-facts strong { font-size: 22px; }
  .contact { padding: 64px 0 72px; }
  .contact-card { padding: 26px 18px; }
  .footer-inner { justify-content: center; text-align: center; }
}
