:root {
  --orange: #e6501d;
  --orange-hot: #f65935;
  --ink: #222;
  --muted: #666;
  --line: #eee;
  --paper: #fff;
  --footer: #333;
  --max: 1180px;
  --font: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #f0f0f0; }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 84px; }
.logo img { height: 64px; width: auto; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; border: 1px solid #eee; background: #fff; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #222; position: relative; margin: 0 auto; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-nav { display: none; }
.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #eee; max-height: calc(100vh - 84px); overflow: auto; padding: 8px 16px 20px; }
.site-nav a { display: block; padding: 10px 0; }
.site-nav .drop { display: none; padding-left: 12px; }
.site-nav li.open > .drop { display: block; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid #f3f3f3; list-style: none; }

.hero { position: relative; min-height: 72vh; background: #1c1612 center/cover no-repeat; color: #fff; display: grid; align-items: end; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,12,9,.78), rgba(18,12,9,.12) 55%); }
.hero .wrap { position: relative; z-index: 1; padding: 48px 0 56px; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: 0.08em; }
.hero .sub { margin: 12px 0 0; font-size: 1.25rem; }
.hero .sub::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--orange); margin-right: 10px; vertical-align: middle; }
.hero-dots { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); }
.hero-dots button[aria-current="true"] { background: var(--orange); }

.section { padding: 56px 0; }
.section h2, .page-title { text-align: center; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 8px; }
.section .lead, .center { text-align: center; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; text-align: center; }
.stats strong { display: block; color: var(--orange); font-size: 1.8rem; font-weight: 500; }
.stats span { color: var(--muted); font-size: 0.92rem; }

.series-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0; }
.series-tabs button { border: 1px solid #eee; background: #fff; min-height: 40px; padding: 0 16px; cursor: pointer; }
.series-tabs button[aria-pressed="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }
.series-panel { display: none; }
.series-panel.is-on { display: grid; gap: 12px; }
.series-panel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid #f3f3f3; box-shadow: 0 0 8px rgba(0,0,0,.06); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .pad { padding: 14px 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 20px; }
.filters button { border: 1px solid #eee; background: #fff; min-height: 36px; padding: 0 12px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--orange); border-color: var(--orange); }

.news-grid { display: grid; gap: 16px; }
.news-card { background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.08); }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card .pad { padding: 16px; }
.date-pill { display: inline-block; border: 1px solid var(--orange-hot); color: var(--orange-hot); border-radius: 30px; padding: 2px 12px; font-size: 0.85rem; }

.promise { display: grid; gap: 16px; }
.promise article { background: #fff; border-top: 3px solid var(--orange); padding: 18px; box-shadow: 0 0 8px rgba(0,0,0,.05); }
.promise h3 { margin: 0 0 8px; font-weight: 500; }

.form { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.form label { font-weight: 500; }
.form input, .form textarea, .form select { width: 100%; min-height: 46px; border: 1px solid #ddd; padding: 10px 12px; }
.form textarea { min-height: 120px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; background: var(--orange); color: #fff; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.note { font-size: 0.92rem; color: var(--muted); }
.ok { border-top: 3px solid var(--orange); padding-top: 12px; }

.page-hero { padding: 36px 0 8px; }
.crumbs { color: var(--muted); font-size: 0.9rem; text-align: center; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 0 0 1rem; }
.list { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); }
.style-block { margin-top: 36px; scroll-margin-top: 110px; }
.style-block h2 { text-align: center; font-weight: 400; }
.style-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; align-items: start; }
.style-gallery button { padding: 0; border: 0; background: #f3f3f3; cursor: pointer; }
.style-gallery img { width: 100%; display: block; object-fit: cover; }
.style-gallery .shot-land img { aspect-ratio: 4 / 3; }
.style-gallery .shot-portrait { max-width: 260px; }
.style-gallery .shot-portrait img { aspect-ratio: 3 / 4; }
.style-gallery .shot-land:first-child { grid-column: 1 / -1; max-width: none; }
.style-gallery .shot-land:first-child img { aspect-ratio: auto; object-fit: contain; }

.films { display: grid; gap: 28px; justify-items: center; margin-top: 8px; }
.film { margin: 0; width: min(100%, 320px); }
.film figcaption { margin-top: 8px; text-align: center; }
.film video { width: 100%; display: block; background: #111; }
.film-portrait video { aspect-ratio: 9 / 16; object-fit: cover; }
.film-landscape { width: min(100%, 860px); }
.film-landscape video { aspect-ratio: 16 / 9; object-fit: cover; }

.site-footer { background: var(--footer); color: #fff; padding: 40px 0 28px; }
.foot-grid { display: grid; gap: 22px; }
.site-footer a { color: #ddd; }
.site-footer h3 { margin: 0 0 8px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.legal-name { margin-top: 18px; color: #ccc; font-size: 0.92rem; }
.email { color: #fff; font-weight: 500; }

#lightbox { width: 100%; height: 100%; max-width: none; margin: 0; border: 0; background: transparent; padding: 24px; }
#lightbox::backdrop { background: rgba(0,0,0,.88); }
#lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; margin: auto; }
.lb-close, .lb-prev, .lb-next { position: fixed; min-height: 44px; min-width: 44px; background: #fff; border: 0; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; }
  .site-nav > ul { display: flex; align-items: center; gap: 4px; }
  .site-nav > ul > li { position: relative; border: 0; }
  .site-nav > ul > li > a { padding: 10px 12px; }
  .site-nav .drop { position: absolute; top: 100%; left: 0; min-width: 140px; background: #fff; border: 1px solid #f0f0f0; display: none; z-index: 5; }
  .site-nav li:hover > .drop, .site-nav li:focus-within > .drop { display: block; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards.cols-3, .news-grid, .series-panel { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .promise { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .films { grid-template-columns: 280px minmax(0, 1fr); align-items: start; justify-items: stretch; }
  .film-landscape { width: 100%; }
  .logo img { height: 78px; }
}

@media (max-width: 799px) {
  .site-nav > ul > li > a { font-weight: 500; }
}
