:root {
  --red: #be2026; --blue: #0b3a9b; --ink: #17181c; --muted: #6a6d75;
  --line: #e4e5e8; --soft: #f5f6f8; --bg: #fff; --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%; padding-bottom: 64px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }

/* header */
.top {
  position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px;
}
.brandmark { display: flex; align-items: center; gap: 10px; }
.brandmark img { border-radius: 6px; }
.brandmark b { display: block; font-size: 18px; font-weight: 900; color: var(--red); line-height: 1.2; letter-spacing: .04em; }
.brandmark b i { font-style: normal; color: var(--blue); }
.brandmark small { display: block; font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .28em; }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.top nav a:hover { background: var(--soft); color: var(--blue); }

/* hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-in { max-width: 1120px; margin: 0 auto; padding: 56px 20px 44px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-weight: 800; letter-spacing: .12em; font-size: 14px; }
.hero h1 { margin: 0; font-size: clamp(38px, 7vw, 68px); line-height: 1.12; font-weight: 900; letter-spacing: .02em; color: var(--blue); }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { margin: 18px 0 0; max-width: 36em; font-size: 17px; color: #33353b; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px; border: 2px solid var(--ink);
  font-weight: 800; background: #fff; cursor: pointer; font-size: 16px; font-family: inherit; color: var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.line { background: #06c755; border-color: #06c755; color: #fff; }
.btn.line:hover { background: #05a847; border-color: #05a847; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.stats b { display: block; font-size: 30px; line-height: 1.1; color: var(--ink); font-weight: 900; }

/* sections */
.sec { max-width: 1120px; margin: 0 auto; padding: 40px 20px 8px; }
.sec h2 { margin: 0 0 16px; font-size: 22px; font-weight: 900; padding-left: 12px; border-left: 6px solid var(--red); line-height: 1.2; }
.sec h2.h2b { margin-top: 32px; border-left-color: var(--blue); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; }
.sec-h a { color: var(--blue); font-weight: 700; }
.crumb { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--blue); }
.intro { margin: 8px 0 0; max-width: 48em; color: #33353b; }
.ph1 { margin: 0 0 4px; font-size: clamp(26px, 5vw, 38px); font-weight: 900; line-height: 1.2; }

/* brand grid */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; border-top: 4px solid var(--blue); }
.bcard:hover { border-color: var(--blue); background: var(--soft); }
.bcard b { display: block; font-size: 18px; font-weight: 800; }
.bcard span { font-size: 13px; color: var(--muted); }
.tgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.tgrid a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; }
.tgrid a:hover { border-color: var(--red); color: var(--red); }
.tgrid b { font-weight: 700; }
.tgrid span { margin-left: 8px; font-size: 13px; color: var(--muted); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.ph { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.cb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cb h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.cb p { margin: 0; font-size: 14px; color: #3d4047; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb time { margin-top: auto; font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips span { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #eef2fb; color: var(--blue); font-weight: 600; }
.chips.big span { font-size: 14px; padding: 4px 12px; }

/* model chips */
.mchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; }
.mchips a { border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-weight: 600; font-size: 14px; }
.mchips a:hover { border-color: var(--blue); color: var(--blue); }
.mchips span { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 12px; }

/* work page */
.work time { color: var(--muted); font-size: 14px; }
.desc { margin: 16px 0 12px; padding: 14px 18px 14px 34px; background: var(--soft); border-radius: var(--radius); font-size: 17px; font-weight: 600; }
.photos { columns: 3 300px; column-gap: 12px; margin: 20px 0 8px; }
.photos a { display: block; margin-bottom: 12px; break-inside: avoid; }
.photos img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* notes */
.notes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notes li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.notes li { display: flex; gap: 12px; align-items: baseline; }
.notes li span { flex: none; font-size: 20px; }
.work .notes { margin: 28px 0 4px; }

/* filters */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 16px 0 10px; }
.filters label { font-size: 13px; font-weight: 700; color: var(--muted); display: grid; gap: 4px; }
.filters select { font: inherit; font-size: 16px; padding: 10px; border: 1px solid #c9cbd1; border-radius: 8px; background: #fff; color: var(--ink); }
.filters select:disabled { background: var(--soft); color: var(--muted); }
.more { text-align: center; margin: 24px 0; }

/* footer */
.foot { margin-top: 48px; background: var(--ink); color: #fff; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.foot h2 { margin: 0 0 10px; font-size: 18px; font-weight: 900; }
.foot .muted { color: #a9acb5; font-size: 14px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; max-width: 260px; padding: 4px 0; border-bottom: 1px solid #33353b; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

/* bottom contact bar */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
.cta-bar a { padding: 16px 6px; text-align: center; font-weight: 800; font-size: 15px; border-left: 1px solid var(--line); }
.cta-bar a.line { background: #06c755; color: #fff; border-left: 0; }
.cta-bar a.fb { background: #1877f2; color: #fff; border-left: 0; }
.cta-bar a.map { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cta-bar svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 720px) {
  .top { padding: 8px 12px; }
  .top nav a { padding: 6px 8px; font-size: 14px; }
  .top nav a:nth-child(n+3) { display: none; }
  .hero-in { padding: 36px 16px 28px; }
  .sec { padding: 28px 16px 4px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cb { padding: 10px; }
  .cb h3 { font-size: 15px; }
  .cb p { font-size: 13px; }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
}
