/* ==========================================================================
   STYLE 01 — INDUSTRIAL GRIT
   Brick House Fitness · 工業風 · Oswald + Noto Sans HK
   #0B0B0B / #6B2E24 / #C41E3A / #F5F5F5
   ========================================================================== */

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

:root {
  --bg: #0B0B0B;
  --panel: #121212;
  --ink: #F5F5F5;
  --muted: #A9A4A1;
  --crimson: #C41E3A;
  --crimson-soft: #D92A45;
  --brick: #6B2E24;
  --line: rgba(245, 245, 245, 0.14);
  --line-soft: rgba(245, 245, 245, 0.08);
  --gutter: clamp(20px, 5vw, 60px);
  --nav: 92px;
  --radius: 8px;
  --display: "Oswald", "Noto Sans HK", system-ui, sans-serif;
  --sans: "Noto Sans HK", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { list-style: none; padding: 0; }

.wrap {
  width: min(1240px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus-visible { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- buttons */
/* 大圖用品牌剪影：切角 = 高度的 40%（45°），四隻角再加圓勾(r=10px) */
:root {
  --brand-shape-lg: polygon(
    0 calc(40% + 10px),
    1.77px calc(40% + 0.73px),
    7.07px calc(40% - 7.07px),
    calc(34% - 7.07px) 7.07px,
    calc(34% + 0.73px) 1.77px,
    calc(34% + 10px) 0,
    calc(100% - 10px) 0,
    calc(100% - 2.5px) 2.5px,
    100% 10px,
    100% calc(60% - 10px),
    calc(100% - 1.77px) calc(60% - 0.73px),
    calc(100% - 7.07px) calc(60% + 7.07px),
    calc(66% + 7.07px) calc(100% - 7.07px),
    calc(66% - 0.73px) calc(100% - 1.77px),
    calc(66% - 10px) 100%,
    10px 100%,
    2.5px calc(100% - 2.5px),
    0 calc(100% - 10px)
  );
}

/* 品牌剪影：只保留給「大圖」「主視覺主 CTA」同「桌面版浮動 WhatsApp」 */
.hero-actions .btn-primary,
.wa {
  --btn-cut: 20px;
  --brand-shape: polygon(
    0 calc(var(--btn-cut) + 6px),
    1.06px calc(var(--btn-cut) + 0.44px),
    4.24px calc(var(--btn-cut) - 4.24px),
    calc(var(--btn-cut) - 4.24px) 4.24px,
    calc(var(--btn-cut) + 0.44px) 1.06px,
    calc(var(--btn-cut) + 6px) 0,
    calc(100% - 6px) 0,
    calc(100% - 1.5px) 1.5px,
    100% 6px,
    100% calc(100% - var(--btn-cut) - 6px),
    calc(100% - 1.06px) calc(100% - var(--btn-cut) - 0.44px),
    calc(100% - 4.24px) calc(100% - var(--btn-cut) + 4.24px),
    calc(100% - var(--btn-cut) + 4.24px) calc(100% - 4.24px),
    calc(100% - var(--btn-cut) - 0.44px) calc(100% - 1.06px),
    calc(100% - var(--btn-cut) - 6px) 100%,
    6px 100%,
    1.5px calc(100% - 1.5px),
    0 calc(100% - 6px)
  );
}

/* 其餘方角元素統一 8px 圓角 */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.22s var(--ease),
    color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-soft); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(245, 245, 245, 0.34); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(245, 245, 245, 0.07); transform: translateY(-2px); }
.btn-light { background: var(--ink); color: #0B0B0B; }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 38px; font-size: 16px; }
.btn:active { transform: translateY(0); }

/* 主視覺主 CTA：全頁唯一用品牌剪影的按鈕 */
.hero-actions .btn-primary { background: none; }
.hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--crimson);
  clip-path: var(--brand-shape);
  transition: background-color 0.22s var(--ease);
}
.hero-actions .btn-primary:hover { background: none; }
.hero-actions .btn-primary:hover::before { background: var(--crimson-soft); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--crimson-soft); border-color: var(--crimson); }
.link-arrow:hover span { transform: translateX(5px); }

/* -------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav);
}

.brand { text-decoration: none; }
.brand img {
  display: block;
  height: 60px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.brand:hover img { opacity: 0.82; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #D6D1CE;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { min-height: 44px; padding: 0 22px; font-size: 14.5px; }

/* mobile menu */
.mnav { display: none; position: relative; }
.mnav summary {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.mnav summary::-webkit-details-marker { display: none; }
.bars { display: grid; gap: 5px; width: 20px; }
.bars i { display: block; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.mnav[open] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav[open] .bars i:nth-child(2) { opacity: 0; }
.mnav[open] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav-panel {
  position: fixed;
  top: var(--nav); left: 0; right: 0;
  padding: 18px var(--gutter) 30px;
  background: #0B0B0B;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.mnav-panel nav { display: grid; }
.mnav-panel nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.mnav-panel .btn { width: 100%; margin-top: 22px; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav) + 40px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 35%;
  filter: saturate(0.72) contrast(1.1) brightness(0.9);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.42) 34%, rgba(11, 11, 11, 0.86) 76%, #0B0B0B 100%),
    linear-gradient(96deg, rgba(11, 11, 11, 0.94) 0%, rgba(11, 11, 11, 0.5) 52%, rgba(11, 11, 11, 0.06) 100%);
}
.hero-wrap { width: min(1240px, calc(100% - var(--gutter) * 2)); padding-bottom: 0; }

/* 底片顆粒 */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.17;
  mix-blend-mode: overlay;
  background-size: 170px 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* poster 內框 */
.hero-frame {
  position: absolute;
  inset: calc(var(--nav) + 12px) clamp(10px, 1.5vw, 22px) clamp(10px, 1.5vw, 22px);
  z-index: 1;
  border: 1px solid rgba(245, 245, 245, 0.16);
  border-radius: var(--radius);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 44px);
  color: var(--crimson-soft);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--crimson); }

.hero h1 {
  margin-bottom: clamp(24px, 3.4vw, 40px);
  font-family: var(--display);
  font-size: clamp(54px, 10.6vw, 150px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 i { display: inline-block; font-style: normal; color: var(--crimson); transform-origin: 30% 80%; }

/* 逐字：純色塊閃爍亮起，完全無位移 */
.hero h1 .h1-line { display: block; }
.hero h1 .w { display: inline-block; vertical-align: top; }
.hero h1 .w + .w { margin-left: 0.16em; }
.hero h1 .w > span { display: block; }

/* 最後一個字轉朱紅，做重音 */
.hero h1 .w--accent { color: var(--crimson-soft); }
.hero h1 .w--accent i { color: var(--ink); }

.hero-wrap { position: relative; z-index: 2; padding-bottom: clamp(20px, 3vh, 36px); }

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1080px;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.hero-sub {
  margin-bottom: 14px;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.hero-copy {
  max-width: 620px;
  color: #C7C2BF;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 6px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 3.6vw, 48px);
  border-top: 1px solid var(--line);
}
.hero-facts li {
  padding: 20px 26px 20px 0;
  border-right: 1px solid var(--line);
}
.hero-facts li + li { padding-left: 26px; }
.hero-facts li:last-child { border-right: 0; }
.hero-facts b {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero-facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------- sections */
.sec {
  position: relative;
  padding: clamp(84px, 10vw, 148px) 0;
  scroll-margin-top: var(--nav);
  container-type: inline-size;
}
.sec + .sec { border-top: 1px solid var(--line-soft); }

.sec-head { margin-bottom: clamp(38px, 5vw, 64px); }
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--crimson-soft);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 38px; height: 1px; background: var(--crimson); }
.kicker-light { color: #F3CFCF; }
.kicker-light::before { background: rgba(245, 245, 245, 0.6); }

.sec h2 {
  max-width: 24ch;
  font-size: clamp(26px, 3.3vw, 44px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.008em;
  text-wrap: balance;
}
.head-note {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.split .sec-head { margin-bottom: 0; }
.split .sec-head h2 { max-width: 18ch; }

/* 公司理念：標題下面一張品牌剪影相，貼左邊 */
.phil-aside { display: flex; flex-direction: column; }
.phil-fig {
  margin: clamp(26px, 3.2vw, 48px) 0 0 calc(-1 * max(var(--gutter), (100cqw - 1240px) / 2));
  width: min(100%, 470px);
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  background: #141414;
  clip-path: var(--brand-shape-lg);
}
.phil-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: saturate(0.55) contrast(1.06) brightness(0.78);
  transition: transform 0.9s var(--ease);
}
.phil-fig:hover img { transform: scale(1.035); }

.prose p {
  max-width: 58ch;
  margin-bottom: 1.05em;
  color: #CBC6C3;
  font-size: 16.5px;
  line-height: 1.85;
}
.prose p:first-child {
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.75;
}

/* --------------------------------------------------------------- services */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.4vw, 68px);
  align-items: center;
}
.svc-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  margin-left: calc(-1 * max(var(--gutter), (100cqw - 1240px) / 2));
  background: #141414;
  clip-path: var(--brand-shape-lg);
}
.svc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.035); }
.svc-tag {
  position: absolute;
  left: 0; bottom: 0;
  padding: 10px 18px;
  background: var(--crimson);
  color: #fff;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.svc-body h3 {
  margin-bottom: 18px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}
.svc-body p {
  max-width: 55ch;
  margin-bottom: 1em;
  color: #C6C1BE;
  font-size: 16px;
}
.list-label {
  margin-top: 26px !important;
  margin-bottom: 14px !important;
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: 12.5px !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ticks { display: grid; gap: 1px; background: var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.ticks li {
  position: relative;
  padding: 12px 0 12px 26px;
  background: var(--bg);
  font-size: 15.5px;
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 9px; height: 9px;
  background: var(--crimson);
  transition: transform 0.25s var(--ease);
}
.ticks li:hover { padding-left: 32px; }
.ticks li:hover::before { transform: translateX(4px); }

/* 24/7 band */
.band-247 {
  position: relative;
  isolation: isolate;
  margin-top: clamp(70px, 8vw, 112px);
  background: var(--brick);
  border-top: 1px solid rgba(245, 245, 245, 0.08);
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
}
/* 底片顆粒，跟主視覺一致 */
.band-247::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-size: 170px 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23g)'/%3E%3C/svg%3E");
}
.band-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(52px, 6vw, 88px) 0;
  align-items: start;
}
.band-copy .big247 {
  margin: 10px 0 26px;
  font-family: var(--display);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.02em;
}
.band-copy .big247 i { font-style: normal; color: rgba(245, 245, 245, 0.45); }
.band-copy h3 {
  max-width: 22ch;
  margin-bottom: 16px;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 900;
  line-height: 1.45;
}
.band-copy p {
  max-width: 52ch;
  margin-bottom: 1em;
  color: #F0DEDA;
  font-size: 15.8px;
}
.band-copy .btn { margin-top: 14px; }
/* 磚紅底上用淺色 kicker，紅字會太暗 */
.band-copy .kicker { color: #F3CFCF; }
.band-copy .kicker::before { background: rgba(245, 245, 245, 0.6); }
.band-side {
  padding-top: 8px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.ticks-light { background: transparent; }
.ticks-light li {
  background: transparent;
  color: #F7ECE9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.26);
}
.ticks-light li:last-child { border-bottom: 0; }
.ticks-light li::before { background: rgba(245, 245, 245, 0.92); }
.band-fig {
  margin: auto calc(-1 * max(var(--gutter), (100cqw - 1240px) / 2)) calc(clamp(52px, 6vw, 88px) * -1) 0;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  clip-path: var(--brand-shape-lg);
}
.band-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.band-fig:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------------ space */
.sec--paper { background: var(--ink); color: #0B0B0B; border-top: 0; }
.sec--paper .kicker { color: var(--brick); }
.sec--paper .kicker::before { background: var(--brick); }
.sec--paper h2 { color: #0B0B0B; }

.space {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.space-head { margin-bottom: clamp(30px, 4vw, 52px); }
.space-head h2 { max-width: 26ch; }
.space-copy .sec-head { margin-bottom: 26px; }
.space-copy h2 { max-width: 16ch; }
.prose-p {
  max-width: 46ch;
  margin-bottom: 1em;
  color: #3A3532;
  font-size: 16px;
}
.space-index {
  margin-top: 34px;
  border-top: 1px solid rgba(11, 11, 11, 0.18);
}
.space-index li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(11, 11, 11, 0.14);
  font-size: 16px;
  font-weight: 700;
  transition: padding-left 0.25s var(--ease), color 0.2s var(--ease);
}
.space-index li:hover { padding-left: 8px; color: var(--crimson); }
.space-index span {
  min-width: 34px;
  color: var(--brick);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fig {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: #E2DFDB;
  border-radius: var(--radius);
}
.fig-wide { aspect-ratio: 4 / 3.4; }
.fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.fig:hover img { transform: scale(1.04); }
.fig-n {
  position: absolute;
  left: 0; top: 0;
  padding: 8px 12px;
  background: #0B0B0B;
  color: var(--ink);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* -------------------------------------------------------------------- why */
.why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.why li {
  padding: clamp(28px, 3.4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.why li:nth-child(2n) { border-right: 0; }
.why li:nth-last-child(-n + 2) { border-bottom: 0; }
.why li:hover { background: var(--panel); }
.why-n {
  display: block;
  margin-bottom: 18px;
  color: var(--crimson);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.why h3 {
  margin-bottom: 12px;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 900;
  line-height: 1.45;
}
.why p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------------------------------------------------------------- pricing */
.price {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trial, .pt { padding: clamp(30px, 3.6vw, 50px); }
.trial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--brick);
}
.trial h3, .pt h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.45;
}
.trial p { color: #EFDDD9; font-size: 15.5px; }
.trial .btn { align-self: flex-start; }
.no-commit {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 245, 245, 0.24);
  color: var(--ink) !important;
  font-weight: 700;
  line-height: 1.7;
}

.pt { background: var(--panel); }
.pt .kicker { margin-bottom: 16px; }
.pt h3 { margin-bottom: 26px; max-width: 24ch; }

.tbl-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.prow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.25s var(--ease), border-color 0.25s var(--ease);
}
.prow:hover { padding-left: 8px; border-color: rgba(196, 30, 58, 0.55); }
.pkg { font-size: 15.5px; font-weight: 700; }
.pval {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.pval em { font-style: normal; font-size: 0.55em; color: var(--muted); }
.pval i {
  font-style: normal;
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.4em;
  letter-spacing: 0;
}
.pt .btn { margin-top: 28px; }
.foot-note { margin-top: 16px; color: #8C8784; font-size: 13px; }

.open247 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: clamp(26px, 3vw, 40px) clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.open247-t {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qn {
  color: var(--crimson);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
}
.qt {
  font-size: clamp(16.5px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}
.qi { position: relative; width: 20px; height: 20px; justify-self: end; }
.qi::before, .qi::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.qi::after { transform: rotate(90deg); }
.qa[open] .qi::after { transform: rotate(0deg); }
.qa summary:hover { color: var(--crimson-soft); }
.qa summary:hover .qi::before,
.qa summary:hover .qi::after { background: var(--crimson); }
.qa-body {
  padding: 0 0 30px 0;
  max-width: 70ch;
}
.qa-body p { margin-bottom: 0.9em; color: var(--muted); font-size: 16px; }
.qa-body p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- close CTA */
.close {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70svh;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.close-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.45) contrast(1.12) brightness(0.8);
}
.close::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.94), rgba(107, 46, 36, 0.68) 60%, rgba(11, 11, 11, 0.96));
}
.close-in { display: grid; justify-items: center; gap: clamp(26px, 3vw, 40px); }
.close h2 {
  max-width: 34ch;
  font-size: clamp(26px, 3.7vw, 50px);
  font-weight: 900;
  line-height: 1.4;
  text-wrap: balance;
}

/* 朱紅重音（跟主視覺一致） */
.hl { color: var(--crimson-soft); white-space: nowrap; }

/* ----------------------------------------------------------------- footer */
.foot {
  padding: clamp(58px, 7vw, 88px) 0 26px;
  background: #080808;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--nav);
}
.foot-in {
  display: grid;
  grid-template-columns: 1.3fr 1.15fr 0.8fr 0.8fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.foot h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.foot-brand .brand-logo { height: 46px; width: auto; display: block; }
address { font-style: normal; color: #D3CECB; font-size: 15px; line-height: 1.75; }
.foot-meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.foot-ig, .foot-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.foot-ig .ico, .foot-wa .ico { width: 22px; height: 22px; flex: none; }
.foot-ig { margin-right: 6px; }
.foot-ig:hover, .foot-wa:hover { color: var(--crimson-soft); }
.foot-links { display: grid; gap: 10px; }
.foot-links li {
  color: var(--muted);
  font-size: 14.5px;
}
.foot-links a {
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.foot-links a:hover { color: var(--ink); padding-left: 6px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-right: 180px;
  border-top: 1px solid var(--line-soft);
  color: #7E7976;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------- whatsapp */
.wa {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 80;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px 0 20px;
  background: none;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s var(--ease);
}
/* 桌面版：品牌剪影 */
.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--crimson);
  clip-path: var(--brand-shape);
  transition: background-color 0.22s var(--ease);
}
.wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.wa:hover { transform: translateY(-2px); }
.wa:hover::before { background: var(--crimson-soft); }
.wa:active { transform: translateY(0); }

/* ------------------------------------------------------- entrance motion */
@media (prefers-reduced-motion: no-preference) {
  /* 相片：硬切落下（唔縮放） */
  .hero-media img { animation: heroWipe 0.46s cubic-bezier(0.16, 1, 0.3, 1) both; }

  /* 眉標：横向刷入 */
  .eyebrow { animation: wipeIn 0.26s cubic-bezier(0.2, 0.9, 0.2, 1) 0.04s both; }

  /* 逐字：通電式閃亮，朱紅先亮再退回白，全程不動 */
  .hero h1 .w > span { animation: ignite 0.34s linear both; }
  .hero h1 .h1-line:nth-child(1) .w:nth-child(1) > span { animation-delay: 0.09s; }
  .hero h1 .h1-line:nth-child(1) .w:nth-child(2) > span { animation-delay: 0.18s; }
  .hero h1 .h1-line:nth-child(2) .w:nth-child(1) > span { animation-delay: 0.27s; }
  .hero h1 .h1-line:nth-child(2) .w:nth-child(2) > span { animation-delay: 0.36s; }

  /* 句點：後到一拍，硬亮 */
  .hero h1 i { animation: flickerIn 0.24s linear 0.5s both; }

  .hero-sub { animation: flickerIn 0.34s linear 0.4s both; }
  .hero-copy { animation: flickerIn 0.34s linear 0.48s both; }

  .hero-actions .btn { animation: flickerIn 0.28s linear both; }
  .hero-actions .btn:nth-child(1) { animation-delay: 0.54s; }
  .hero-actions .btn:nth-child(2) { animation-delay: 0.6s; }

  .hero-facts li { animation: wipeIn 0.24s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
  .hero-facts li:nth-child(1) { animation-delay: 0.56s; }
  .hero-facts li:nth-child(2) { animation-delay: 0.61s; }
  .hero-facts li:nth-child(3) { animation-delay: 0.66s; }
}
@keyframes heroWipe {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* 通電：朱紅先亮，閃兩下之後退回本文色 */
@keyframes ignite {
  0% { opacity: 0; color: var(--crimson); }
  10% { opacity: 1; color: var(--crimson); }
  22% { opacity: 0.25; color: var(--crimson); }
  34% { opacity: 1; color: var(--crimson); }
  50% { opacity: 0.68; color: #fff; }
  66% { opacity: 1; color: var(--crimson); }
  82% { opacity: 0.92; color: #fff; }
  100% { opacity: 1; color: inherit; }
}

/* 純閃爍淡入（無位移、無回彈） */
@keyframes flickerIn {
  0% { opacity: 0; }
  16% { opacity: 1; }
  26% { opacity: 0.28; }
  40% { opacity: 1; }
  54% { opacity: 0.6; }
  70% { opacity: 1; }
  84% { opacity: 0.88; }
  100% { opacity: 1; }
}

@keyframes wipeIn {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* ------------------------------------------------------------ scroll reveal */
/* 只在有 JS 時才隱藏，無 JS / reduced motion 一律直接顯示 */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal :is(
      .sec-head, .prose, .svc, .band-copy, .band-side,
      .space-copy, .space-grid > figure, .why > li,
      .price > article, .open247, .faq > .qa, .close-in
    ):not(.is-in) {
    opacity: 0;
  }

  /* ---- 標題：逐字通電（閃 + 字逐個出現） ---- */
  html.js-reveal .sec-head.is-in .kicker {
    animation: fadeUp 0.34s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }
  html.js-reveal .sec-head.is-in h2.is-split .ch {
    animation: charIgnite 0.34s linear both;
    animation-delay: calc(var(--c, 0) * 18ms);
  }
  /* 未分割時退回整體通電 */
  html.js-reveal .sec-head.is-in h2:not(.is-split) {
    animation: igniteText 0.46s linear both;
  }

  /* ---- 其他內容：淡入 + 微升（不做閃爍） ---- */
  html.js-reveal :is(
      .prose, .svc, .band-copy, .band-side, .space-copy,
      .space-grid > figure, .why > li, .price > article,
      .open247, .faq > .qa, .close-in
    ).is-in {
    animation: fadeUp 0.5s cubic-bezier(0.2, 0.75, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 80ms);
  }
}

/* 逐字通電 */
@keyframes charIgnite {
  0% { opacity: 0; color: var(--crimson-soft); }
  16% { opacity: 1; }
  30% { opacity: 0.2; }
  46% { opacity: 1; }
  100% { opacity: 1; color: inherit; }
}

/* 一般內容 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes igniteText {
  0% { color: var(--crimson-soft); }
  32% { color: var(--crimson-soft); }
  100% { color: inherit; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13.5px; }
}

@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .mnav { display: block; }
  .hero { padding-top: calc(var(--nav) + 30px); }
  .hero-body { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .hero-actions { padding-bottom: 0; }
  .split, .svc, .band-in, .space, .price { grid-template-columns: 1fr; }
  .split .sec-head { position: static; }
  .split .sec-head h2, .space-copy h2 { max-width: 22ch; }
  .svc { gap: 26px; }
  /* 堆疊之後，品牌剪影圖片改成左右都貼邊（full bleed） */
  .svc-media,
  .band-fig {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }
  .phil-fig {
    width: auto;
    aspect-ratio: 16 / 10;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }
  .band-247 { margin-top: 56px; }
  .why { grid-template-columns: 1fr; }
  .why li { border-right: 0; }
  .why li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .why li:last-child { border-bottom: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 96px; }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .foot-base { padding-right: 0; padding-bottom: 46px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
  .hero-facts li + li { padding-left: 0; }
  .hero-facts li:last-child { border-bottom: 0; }
  .space-grid { grid-template-columns: 1fr; }
  .fig, .fig-wide { aspect-ratio: 16 / 10; }
  .qa summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 12px; }
  .qa-body { padding-left: 0; padding-bottom: 24px; }
  .foot-in { grid-template-columns: 1fr; }
  .wa span { display: none; }
  .wa { padding: 0; width: 56px; height: 56px; justify-content: center; }
  /* 手機版改成圓形 */
  .wa::before { clip-path: none; border-radius: 50%; }
  .open247 { flex-direction: column; align-items: flex-start; }
  .open247 .btn { width: 100%; }
  .trial .btn, .pt .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  /* 手機版：省略眉標前置紅線，並固定斷成兩行 */
  .eyebrow::before { display: none; }
  .eyebrow-in > span { display: block; }
}

@media (max-width: 400px) {
  .pval { font-size: 26px; }
  .tbl-head { font-size: 10.5px; letter-spacing: 0.12em; }
}

/* --------------------------------------------- logo-shape watermark ---- */
/* 圖形比例取自商標：543 × 197，左上切角 76×80、右下切角 96×93 */
.deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.deco svg { position: absolute; display: block; height: auto; }
.deco polygon { fill: var(--brick); opacity: 0.45; }
.deco--price svg { width: min(520px, 44vw); bottom: -14%; left: -13%; }
.deco--price polygon {
  fill: none;
  stroke: var(--crimson);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.32;
}
.sec > .wrap { position: relative; z-index: 1; }

@media (max-width: 719px) {
  .deco--price svg { width: 84vw; left: -28%; }
}

/* ------------------------------------- 頁尾：裁成 logo 剪影的底板 ---- */
.foot {
  --cut: clamp(46px, 7.4vw, 116px);
  padding: clamp(58px, 7vw, 88px) 0 calc(var(--cut) * 1.1);
  background: #1a1a1a;
  border-top: 0;
  clip-path: polygon(
    calc(var(--cut) * 0.95) 0,
    100% 0,
    100% calc(100% - var(--cut) * 1.16),
    calc(100% - var(--cut) * 1.2) 100%,
    0 100%,
    0 var(--cut)
  );
}

@media (max-width: 719px) {
  .foot { --cut: 44px; }
}

/* 四角用 SVG 濾鏡磨圓，跟 logo 一樣是 round 角 */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.foot { position: relative; background: transparent; clip-path: none; }
.foot > * { position: relative; z-index: 1; }
.foot > .foot-shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: url(#round-corner);
}
.foot-shape > i {
  display: block;
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  clip-path: polygon(
    calc(var(--cut) * 0.95) 0,
    100% 0,
    100% calc(100% - var(--cut) * 1.16),
    calc(100% - var(--cut) * 1.2) 100%,
    0 100%,
    0 var(--cut)
  );
}
@media (max-width: 719px) {
  .foot > .foot-shape { filter: url(#round-corner-sm); }
}
