/* =========================================================
   雞排 × Sumo 佇遮 — 佈景樣式 (online version)
   圖文分離：所有樣式集中於此，HTML 只負責結構與文字
   ========================================================= */

:root {
  --accent: #C25E28;
  --accent-soft: #C25E2822;   /* accent + 0x22 alpha */
  --ink: #2A2320;
  --cream: #FFF6EA;
  --card: #FFF9EF;
  --bg: #F6F0E6;
  --muted: #5C5045;
  --muted2: #8A7A6B;
  --panel: #EFE4D2;
  --pill: 999px;
  --maxw: 1160px;
}

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

body {
  overflow-x: hidden;
  background: var(--bg);
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
  color: var(--ink);
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--cream); }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: "Noto Sans TC", sans-serif; }
.page { min-height: 100vh; }

/* ---------- 共用小元件 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; }

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow__text { font-size: 14px; font-weight: 700; letter-spacing: 3px; color: var(--muted2); }

.accent-dot { color: var(--accent); }

/* 按鈕 */
.btn { display: inline-block; white-space: nowrap; font-size: 16px; font-weight: 700;
  padding: 15px 30px; border-radius: var(--pill); cursor: pointer; font-family: inherit;
  border: none; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.btn--accent { background: var(--accent); color: var(--cream); box-shadow: 0 3px 0 rgba(42,35,32,.25); }
.btn--accent:hover { background: var(--ink); color: var(--cream); box-shadow: 0 1px 0 rgba(42,35,32,.25); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--accent); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--ink); padding: 13px 28px; border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* 圖片佔位（未上稿的 image-slot） */
.slot { position: relative; background: var(--panel); }
.slot--fill { position: absolute; inset: 0; }

/* =========================================================
   導覽列
   ========================================================= */
.nav { max-width: var(--maxw); margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 32px) 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; position: relative; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 60px; width: auto; }

.nav__toggle { display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 2px solid var(--ink); background: var(--card);
  border-radius: 12px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); padding: 0; }

.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px;
  font-size: 15px; font-weight: 500; }
.nav__links a.active { color: var(--accent); font-weight: 700; }

.nav__cta { white-space: nowrap; background: var(--ink); color: var(--cream);
  padding: 10px 20px; border-radius: var(--pill); }
.nav__cta:hover { background: var(--accent); color: var(--cream); }

@media (max-width: 759px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; flex-direction: column; align-items: flex-start; gap: 8px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--card);
    border-bottom: 2px solid var(--ink); padding: 16px clamp(20px,4vw,32px) 22px;
    font-size: 16px; z-index: 60; box-shadow: 0 14px 26px rgba(42,35,32,.14); }
  .nav__links.open { display: flex; }
}

/* =========================================================
   頁尾
   ========================================================= */
.footer { background: var(--ink); color: var(--cream); }
.footer__top { max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 32px) 32px;
  display: flex; flex-wrap: wrap; gap: 36px 60px; align-items: flex-start; justify-content: space-between; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.footer__brand img { height: 76px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 14.5px; line-height: 1.8; color: rgba(255,246,234,.7); text-wrap: pretty; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col--cta { gap: 14px; }
.footer__h { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.footer__col a { color: rgba(255,246,234,.85); font-size: 14.5px; }
.footer__col a:hover { color: var(--accent); }
.footer__cta { white-space: nowrap; background: var(--accent); color: var(--cream);
  font-size: 15px; font-weight: 700; padding: 12px 24px; border-radius: var(--pill); align-self: flex-start; }
.footer__cta:hover { background: var(--cream); color: var(--ink); }
.footer__bar { border-top: 1px solid rgba(255,246,234,.15); }
.footer__bar-in { max-width: var(--maxw); margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 32px); display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font-size: 13px; color: rgba(255,246,234,.5); }
.footer__mark { font-family: Outfit, sans-serif; letter-spacing: 1.5px; }

/* =========================================================
   首頁 Hero
   ========================================================= */
.hero { max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 32px) 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 56px); align-items: center; }
.hero__col { display: flex; flex-direction: column; gap: 26px; }
.hero__title { font-size: clamp(88px, 11.5vw, 148px); line-height: .95; font-weight: 900;
  letter-spacing: 4px; white-space: nowrap; }
.hero__sub { display: flex; flex-direction: column; gap: 10px; }
.hero__brand { font-family: Outfit, sans-serif; font-size: 22px; font-weight: 700;
  letter-spacing: 5px; color: var(--accent); text-transform: uppercase; }
.hero__lead { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 460px; text-wrap: pretty; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero__art { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.hero__blob1 { position: absolute; top: -26px; right: -26px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--accent); opacity: .18; }
.hero__blob2 { position: absolute; bottom: -20px; left: -30px; width: 76px; height: 76px;
  border-radius: 50%; border: 3px solid var(--accent); opacity: .35; }
.hero__frame { position: relative; width: 100%; aspect-ratio: 1 / 1.02; border: 3px solid var(--ink);
  border-radius: 28px; overflow: hidden; background: var(--panel); box-shadow: 10px 10px 0 var(--accent); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__bubble { position: absolute; background: var(--card); border: 2px solid var(--ink);
  border-radius: var(--pill); padding: 9px 18px; font-size: 14px; font-weight: 700;
  box-shadow: 3px 3px 0 rgba(42,35,32,.9); }
.hero__bubble--bl { bottom: 22px; left: -18px; }
.hero__bubble--tr { top: 26px; right: -14px; }

/* 首頁服務區 */
.home-serv { max-width: var(--maxw); margin: 0 auto; padding: 56px clamp(20px, 4vw, 32px) 88px; }
.home-serv__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.home-serv__head h2 { font-size: 26px; font-weight: 900; }
.link-accent { font-size: 14px; font-weight: 700; color: var(--accent); }

/* =========================================================
   一般內頁頁首
   ========================================================= */
.phead { max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 32px) 20px;
  display: flex; flex-direction: column; gap: 14px; }
.phead__title { font-weight: 900; letter-spacing: 2px; font-size: clamp(36px, 7vw, 52px); }
.phead__title--sm { font-size: clamp(28px, 5.5vw, 52px); }
.phead__lead { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.phead--split { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.phead--split .phead__text { display: flex; flex-direction: column; gap: 14px; flex: 1 1 360px; }
.phead__art { flex: 0 1 300px; max-width: 320px; margin-left: auto; }
.phead__art img { width: 100%; height: auto; }

/* =========================================================
   服務卡片（首頁 + 服務頁共用）
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--accent); }
.card__glyph { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); font-weight: 900; }
.card__title { font-size: 20px; font-weight: 900; }
.card__desc { font-size: 15px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }

.serv-grid { max-width: var(--maxw); margin: 0 auto; padding: 28px clamp(20px, 4vw, 32px) 20px; }

/* 服務頁 CTA */
.serv-cta { max-width: var(--maxw); margin: 0 auto; padding: 36px clamp(20px, 4vw, 32px) 90px; }
.serv-cta__box { background: var(--accent); border-radius: 24px;
  padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.serv-cta__box h2 { font-size: 28px; font-weight: 900; color: var(--cream); }
.serv-cta__box p { font-size: 16px; color: rgba(255,246,234,.85); margin-top: 8px; }
.serv-cta__btn { white-space: nowrap; background: var(--ink); color: var(--cream);
  font-size: 17px; font-weight: 700; padding: 16px 32px; border-radius: var(--pill); }
.serv-cta__btn:hover { background: var(--cream); color: var(--ink); }

/* =========================================================
   關於我們
   ========================================================= */
.people { max-width: var(--maxw); margin: 0 auto; padding: 28px clamp(20px, 4vw, 32px) 8px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.person { background: var(--card); border: 2px solid var(--ink); border-radius: 24px;
  padding: clamp(24px, 4vw, 34px); display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden; }
.person__blob { position: absolute; top: -34px; right: -34px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--accent-soft); }
.person__photo { position: relative; border: 2px solid var(--ink); border-radius: 16px;
  overflow: hidden; background: #F8EDDC; height: 330px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.person__id { display: flex; align-items: center; gap: 20px; position: relative; }
.person__id-col { display: flex; flex-direction: column; gap: 8px; }
.person__name-row { display: flex; align-items: baseline; gap: 10px; }
.person__name { font-size: 30px; font-weight: 900; }
.person__en { font-family: Outfit, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2px;
  color: var(--muted2); text-transform: uppercase; }
.person__role { align-self: flex-start; background: var(--accent); color: var(--cream);
  font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: var(--pill); white-space: nowrap; }
.person__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1.5px solid var(--ink); border-radius: var(--pill); padding: 5px 13px;
  font-size: 13.5px; font-weight: 500; background: var(--bg); }
.person__quote { border-top: 2px dashed rgba(42,35,32,.2); padding-top: 16px;
  font-size: 18px; font-weight: 700; color: var(--accent); }

.story { max-width: var(--maxw); margin: 0 auto; padding: 40px clamp(20px, 4vw, 32px) 90px; }
.story__box { background: var(--ink); color: var(--cream); border-radius: 24px;
  padding: clamp(30px, 5vw, 52px) clamp(26px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(30px, 4vw, 44px); align-items: center; }
.story__col { display: flex; flex-direction: column; gap: 16px; }
.story__k { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--accent); }
.story__box h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; line-height: 1.45; text-wrap: pretty; }
.story__box p { font-size: 16px; line-height: 1.9; color: rgba(255,246,234,.75); text-wrap: pretty; }
.story__btn { align-self: flex-start; margin-top: 8px; background: var(--accent); color: var(--cream);
  font-size: 15px; font-weight: 700; padding: 13px 26px; border-radius: var(--pill); white-space: nowrap; }
.story__btn:hover { background: var(--cream); color: var(--ink); }
.story__mark { justify-self: center; width: 100%; max-width: 300px; aspect-ratio: 1;
  border-radius: 20px; overflow: hidden; border: 3px solid rgba(255,246,234,.25); }
.story__mark img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   作品集
   ========================================================= */
.filters { max-width: var(--maxw); margin: 0 auto; padding: 10px clamp(20px, 4vw, 32px) 24px;
  display: flex; flex-wrap: wrap; gap: 10px; }
.filter { border: 1.5px solid var(--ink); background: var(--card); color: var(--ink);
  border-radius: var(--pill); padding: 9px 20px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.filter.active { border-color: var(--accent); background: var(--accent); color: var(--cream); }

.works { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px) 90px; }
.works__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.work { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.work:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--accent); }
.work__img { height: 190px; background: var(--panel); border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.work__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.work__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work__cat { align-self: flex-start; background: var(--accent-soft); color: var(--accent);
  font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: var(--pill); }
.work__title { font-size: 19px; font-weight: 900; line-height: 1.4; }
.work__desc { font-size: 14.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* =========================================================
   文章
   ========================================================= */
.featured { max-width: var(--maxw); margin: 0 auto; padding: 28px clamp(20px, 4vw, 32px) 0; }
.featured__card { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: var(--card); border: 2px solid var(--ink); border-radius: 24px; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease; color: var(--ink); }
.featured__card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--accent); color: var(--ink); }
.featured__img { min-height: 300px; background: var(--panel); border-right: 2px solid var(--ink); position: relative; }
.featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured__meta { display: flex; align-items: center; gap: 12px; }
.badge-accent { background: var(--accent); color: var(--cream); font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--pill); }
.date { font-size: 13.5px; color: var(--muted2); }
.featured__body h2 { font-size: clamp(21px, 3.5vw, 28px); font-weight: 900; line-height: 1.45; text-wrap: pretty; }
.featured__body p { font-size: 15.5px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }
.read-more { font-size: 14.5px; font-weight: 700; color: var(--accent); }

.posts { max-width: var(--maxw); margin: 0 auto; padding: 34px clamp(20px, 4vw, 32px) 90px;
  display: flex; flex-direction: column; }
.post { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 22px 18px;
  border-bottom: 2px dashed rgba(42,35,32,.18); color: var(--ink); transition: background .15s; }
.post:hover { background: var(--card); color: var(--ink); }
.post__date { font-family: Outfit, sans-serif; font-size: 13.5px; color: var(--muted2); }
.post__cat { background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--pill); white-space: nowrap; }
.post__title { flex: 1 1 320px; font-size: 17.5px; font-weight: 700; line-height: 1.5; text-wrap: pretty; }
.post__arrow { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* =========================================================
   聯絡表單
   ========================================================= */
.forms { max-width: 720px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 32px) 90px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.formcard { background: var(--card); border: 2px solid var(--ink); border-radius: 24px;
  padding: clamp(24px, 4vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.formcard--hi { border: 3px solid var(--accent); position: relative; box-shadow: 8px 8px 0 var(--accent-soft); }
.formcard__tag { position: absolute; top: -14px; right: 28px; background: var(--accent); color: var(--cream);
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: var(--pill); }
.formcard__head { display: flex; flex-direction: column; gap: 6px; }
.formcard__head h2 { font-size: 24px; font-weight: 900; }
.formcard__head span { font-size: 13.5px; color: var(--muted2); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { border: 1.5px solid var(--ink); border-radius: 10px;
  padding: 11px 14px; font-size: 15px; background: var(--bg); outline-color: var(--accent); font-weight: 400; }
.field textarea { resize: vertical; }
.fields { display: flex; flex-direction: column; gap: 14px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--ink); background: var(--bg); color: var(--ink); border-radius: var(--pill);
  padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: background .12s, color .12s, border-color .12s; }
.chip.on { border-color: var(--accent); background: var(--accent); color: var(--cream); }
.chip-label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.form-submit { margin-top: 4px; color: var(--cream); font-size: 16px; font-weight: 700;
  padding: 14px 28px; border: none; border-radius: var(--pill); cursor: pointer; font-family: inherit;
  transition: background .15s; }
.form-submit--dark { background: var(--ink); }
.form-submit--dark:hover { background: var(--accent); }
.form-submit--accent { background: var(--accent); box-shadow: 0 3px 0 rgba(42,35,32,.25); }
.form-submit--accent:hover { background: var(--ink); }
.form-done { background: var(--accent-soft); border-radius: 16px; padding: 26px; font-size: 16px;
  font-weight: 700; color: var(--accent); text-align: center; }
.hidden { display: none !important; }

/* LINE@ 加入好友卡 */
.linecard__body { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.linecard__qr-wrap { flex: 0 0 auto; display: block; border: 1.5px solid var(--ink); border-radius: 16px;
  padding: 10px; background: #fff; line-height: 0; }
.linecard__qr { display: block; width: 150px; height: 150px; border-radius: 8px; }
.linecard__info { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.linecard__id { font-size: 15px; font-weight: 700; }
.linecard__hint { font-size: 13.5px; line-height: 1.7; color: var(--muted2); }
.linecard__btn { display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  text-decoration: none; background: #06C755; box-shadow: 0 3px 0 rgba(6,199,85,.35); }
.linecard__btn:hover { background: var(--ink); }
