/* montage-editorial.css — 萬芊 MONTAGE「編輯部」格式
   由零寫，唔係 montage-gold 改色：無襯線大標、0 圓角、細金線、編號行卡片、全幅相 hero。 */

html[data-skin="montage-editorial"] {
  --bg: #0B0B0C;
  --bg-soft: #101013;
  --surface: #131316;
  --text: #F2EDE3;
  --ink: #0B0B0C;
  --muted: #9C9486;
  --primary: #D6B36A;
  --accent: #C0272D;
  --on-accent: #FFFFFF;
  --border: rgba(214, 179, 106, 0.22);
  --radius: 0px;
  --hero-bg: #08080A;
  --hero-text: #F6EFDF;
  --footer-bg: #050506;
  --footer-brand: #D6B36A;
  --footer-muted: rgba(242, 237, 227, 0.5);
  --font: "Noto Sans HK", "Noto Sans TC", system-ui, sans-serif;
  --font-display: "Noto Sans HK", "Noto Sans TC", system-ui, sans-serif;
}

html[data-skin="montage-editorial"] body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0.005em;
}

html[data-skin="montage-editorial"] .container {
  max-width: 1180px;
}

/* ---------- Section rhythm：大留白 + 頂部細線 ---------- */
html[data-skin="montage-editorial"] .section {
  background: var(--bg);
  padding: 104px 0;
  border-top: 1px solid rgba(214, 179, 106, 0.12);
}
html[data-skin="montage-editorial"] .section:nth-of-type(even) {
  background: var(--bg-soft);
}
html[data-skin="montage-editorial"] .section-head {
  display: block;
  max-width: 760px;
  margin: 0 0 56px;
  text-align: left;
}
html[data-skin="montage-editorial"] .eyebrow,
html[data-skin="montage-editorial"] .section-head .eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
html[data-skin="montage-editorial"] .section-head .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #F7F1E4;
  margin: 0;
}
html[data-skin="montage-editorial"] .section-head .section-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 22px;
  background: var(--accent);
}
html[data-skin="montage-editorial"] .section-sub {
  margin-top: 18px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Navbar ---------- */
html[data-skin="montage-editorial"] .navbar {
  background: rgba(8, 8, 10, 0.96);
  border-bottom: 1px solid rgba(214, 179, 106, 0.16);
}
html[data-skin="montage-editorial"] .nav-inner {
  min-height: 86px;
}
html[data-skin="montage-editorial"] .brand-logo {
  height: 50px;
  width: auto;
  display: block;
}
html[data-skin="montage-editorial"] .nav-link,
html[data-skin="montage-editorial"] .nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.72);
}
html[data-skin="montage-editorial"] .nav-link:hover,
html[data-skin="montage-editorial"] .nav-link.active,
html[data-skin="montage-editorial"] .nav-links a:hover,
html[data-skin="montage-editorial"] .nav-links a.is-active {
  color: var(--primary);
}
html[data-skin="montage-editorial"] .nav-toggle-bar {
  background: var(--primary);
}

/* ---------- Hero：全幅相 + 內框 + 巨型 logo ---------- */
html[data-skin="montage-editorial"] .hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 118px 0 104px;
  position: relative;
}
html[data-skin="montage-editorial"] .hero[style*="background-image"] {
  background-color: #060608;
  background-blend-mode: multiply;
}
html[data-skin="montage-editorial"] .hero::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(214, 179, 106, 0.28);
  pointer-events: none;
}
html[data-skin="montage-editorial"] .hero.sub {
  padding: 86px 0 74px;
}
html[data-skin="montage-editorial"] .hero-inner {
  position: relative;
  z-index: 1;
}
html[data-skin="montage-editorial"] .hero .eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--primary);
}
html[data-skin="montage-editorial"] .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #F8F2E6;
}
html[data-skin="montage-editorial"] .hero-sub {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(242, 237, 227, 0.76);
  max-width: 58ch;
}
html[data-skin="montage-editorial"] .hero-title:empty {
  display: none;
}

/* 首頁：logo 居中做主視覺，文字全部居中 */
html[data-skin="montage-editorial"] .hero:not(.sub) .hero-copy {
  text-align: center;
  margin: 0 auto;
}
html[data-skin="montage-editorial"] .hero:not(.sub) .hero-copy::before {
  content: "";
  display: block;
  width: min(440px, 72vw);
  aspect-ratio: 1027 / 625;
  margin: 0 auto 34px;
  background: url("../img/montage/logo.png") center / contain no-repeat;
  mix-blend-mode: screen;
}
html[data-skin="montage-editorial"] .hero:not(.sub) .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
html[data-skin="montage-editorial"] .hero:not(.sub) .hero-actions {
  justify-content: center;
}
/* 子頁：細 logo 靠左 */
html[data-skin="montage-editorial"] .hero.sub .hero-copy::before {
  content: "";
  display: block;
  width: min(170px, 44vw);
  aspect-ratio: 1027 / 625;
  margin: 0 0 18px;
  background: url("../img/montage/logo.png") left center / contain no-repeat;
  mix-blend-mode: screen;
}

/* ---------- Buttons：方角、字距、無陰影 ---------- */
html[data-skin="montage-editorial"] .btn,
html[data-skin="montage-editorial"] .btn-primary,
html[data-skin="montage-editorial"] .hero .btn-primary,
html[data-skin="montage-editorial"] .cta-btn,
html[data-skin="montage-editorial"] .btn-accent {
  border-radius: 0;
  background: var(--primary);
  color: #0C0B08;
  border: 1px solid var(--primary);
  box-shadow: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: background 0.2s ease, color 0.2s ease;
}
html[data-skin="montage-editorial"] .btn-primary:hover,
html[data-skin="montage-editorial"] .hero .btn-primary:hover,
html[data-skin="montage-editorial"] .cta-btn:hover,
html[data-skin="montage-editorial"] .btn-accent:hover {
  background: transparent;
  color: var(--primary);
}
html[data-skin="montage-editorial"] .btn-ghost {
  border-radius: 0;
  border: 1px solid rgba(214, 179, 106, 0.5);
  color: var(--primary);
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
html[data-skin="montage-editorial"] .btn-ghost:hover {
  background: rgba(214, 179, 106, 0.1);
  color: #F3E6C8;
}
html[data-skin="montage-editorial"] .hero[style*="background-image"] .btn-ghost {
  color: #F6EFDF;
  border-color: rgba(246, 239, 223, 0.5);
}

/* ---------- Features：編號行，唔用卡盒 ---------- */
html[data-skin="montage-editorial"] .features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  counter-reset: feat;
}
html[data-skin="montage-editorial"] .feature-card {
  counter-increment: feat;
  position: relative;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(214, 179, 106, 0.22);
  border-radius: 0;
  padding: 30px 0 34px 0;
  box-shadow: none;
  display: block;
}
html[data-skin="montage-editorial"] .feature-card::before {
  content: "0" counter(feat);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 10px;
}
html[data-skin="montage-editorial"] .feature-card:hover {
  transform: none;
  box-shadow: none;
  border-top-color: var(--primary);
}
html[data-skin="montage-editorial"] .feature-icon {
  display: none;
}
html[data-skin="montage-editorial"] .card-title {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F5EFE2;
  margin: 0 0 8px;
}
html[data-skin="montage-editorial"] .card-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 14px;
}
html[data-skin="montage-editorial"] .card-link {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  border: 0;
}
html[data-skin="montage-editorial"] .card-link::after {
  content: " →";
}
html[data-skin="montage-editorial"] .card-link:hover {
  color: #F0D9A8;
}

/* ---------- Table：無框線，只有橫線 ---------- */
html[data-skin="montage-editorial"] .table-wrap {
  border: 0;
  background: transparent;
  overflow-x: auto;
}
html[data-skin="montage-editorial"] .data-table {
  width: 100%;
  border-collapse: collapse;
}
html[data-skin="montage-editorial"] .data-table thead th {
  background: transparent;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: left;
  padding: 0 16px 16px 0;
  border-bottom: 1px solid var(--primary);
}
html[data-skin="montage-editorial"] .data-table td {
  background: transparent;
  color: var(--text);
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid rgba(214, 179, 106, 0.14);
  vertical-align: top;
}
html[data-skin="montage-editorial"] .data-table td:first-child {
  width: 34%;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
html[data-skin="montage-editorial"] .data-table tbody tr:hover td {
  background: rgba(214, 179, 106, 0.04);
}

/* ---------- CTA：巨型字 + 紅線 ---------- */
html[data-skin="montage-editorial"] .cta-band {
  background: #0A0A0B;
  border-top: 1px solid rgba(214, 179, 106, 0.22);
  border-bottom: 1px solid rgba(214, 179, 106, 0.22);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
html[data-skin="montage-editorial"] .cta-band::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 38vw);
  aspect-ratio: 1027 / 625;
  background: url("../img/montage/logo.png") center / contain no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
}
html[data-skin="montage-editorial"] .cta-inner {
  align-items: center;
  gap: 48px;
}
html[data-skin="montage-editorial"] .cta-heading,
html[data-skin="montage-editorial"] .cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #F8F2E6;
  border-left: 4px solid var(--accent);
  padding-left: 24px;
}
html[data-skin="montage-editorial"] .cta-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ---------- Text section ---------- */
html[data-skin="montage-editorial"] .text-body {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.95;
  color: rgba(242, 237, 227, 0.82);
}

/* ---------- Footer ---------- */
html[data-skin="montage-editorial"] .footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(214, 179, 106, 0.2);
  color: var(--footer-muted);
  padding: 72px 0 40px;
}
html[data-skin="montage-editorial"] .footer-logo-img {
  height: 66px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  opacity: 0.95;
}
html[data-skin="montage-editorial"] .footer h4,
html[data-skin="montage-editorial"] .footer-brand {
  color: var(--footer-brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
html[data-skin="montage-editorial"] .footer a {
  color: var(--footer-muted);
  font-size: 0.9rem;
  line-height: 2;
}
html[data-skin="montage-editorial"] .footer a:hover {
  color: var(--primary);
}
html[data-skin="montage-editorial"] .footer-note {
  border-top: 1px solid rgba(214, 179, 106, 0.12);
  margin-top: 48px;
  padding-top: 26px;
  font-size: 0.72rem;
  line-height: 1.9;
  color: rgba(242, 237, 227, 0.4);
}

/* ---------- Float / misc ---------- */
html[data-skin="montage-editorial"] .float-btn {
  border-radius: 0;
  background: var(--primary);
  color: #0C0B08;
}
html[data-skin="montage-editorial"] .section-sub:empty,
html[data-skin="montage-editorial"] .hero-sub:empty {
  display: none;
}
html[data-skin="montage-editorial"] ::selection {
  background: rgba(214, 179, 106, 0.3);
  color: #FFF9EC;
}

@media (max-width: 860px) {
  html[data-skin="montage-editorial"] .section { padding: 68px 0; }
  html[data-skin="montage-editorial"] .features-grid { grid-template-columns: 1fr; gap: 0; }
  html[data-skin="montage-editorial"] .hero::after { inset: 12px; }
  html[data-skin="montage-editorial"] .hero:not(.sub) .hero-copy::before { width: min(300px, 76vw); }
  html[data-skin="montage-editorial"] .cta-band::before { opacity: 0.05; }
}
