/* 品牌详情页：沿用首页令牌，采用“品牌介绍—精选门店—实景画廊”的编辑式结构。 */
.brand-page { background: var(--canvas); }
.brand-page main { animation: brand-page-in 520ms var(--ease-out) both; }
.brand-page.is-leaving { opacity: 0; transition: opacity 160ms ease-in; }
.detail-nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.detail-back { white-space: nowrap; }
.brand-hero { padding-block: 3.5rem 5.5rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 3rem; color: var(--body-accessible); font-size: var(--text-xs); }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden="true"] { color: var(--accent); }
.brand-hero-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr); gap: 5rem; align-items: center; }
.brand-hero-copy { display: grid; gap: 1.5rem; }
.brand-en-title { font-family: var(--font-display); font-size: clamp(4.5rem, 7vw, 6.5rem); font-weight: 500; line-height: 0.95; letter-spacing: 0.04em; }
.brand-cn-title { font-size: 1.5rem; font-weight: 400; letter-spacing: 0.08em; }
.hotel-detail-title { max-width: 620px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 300; line-height: 1.35; letter-spacing: -0.025em; }
.brand-summary { max-width: 34rem; color: var(--body-accessible); font-size: 1rem; line-height: 1.95; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding-top: 0.75rem; color: var(--icon); font-size: var(--text-xs); }
.brand-tags span { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-tags span:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.brand-hero-photo { position: relative; height: 540px; overflow: hidden; border-radius: 2px; background: var(--line); }
.brand-hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: brand-photo-in 760ms var(--ease-out) both; }
.brand-hero-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 1rem 1.25rem; color: var(--white); background: linear-gradient(transparent, rgba(58, 53, 47, 0.62)); font-size: var(--text-xs); letter-spacing: 0.08em; }
.property-section { padding-block: 5.5rem; background: var(--card); }
.property-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.property-heading-copy { display: grid; gap: 1rem; }
.property-heading h2 { max-width: 850px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.property-address { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--body-accessible); font-size: var(--text-sm); }
.property-address svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 0.3rem; fill: none; stroke: var(--icon); stroke-width: 1.4; }
.source-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--accent); color: var(--body-accessible); font-size: var(--text-xs); white-space: nowrap; }
.source-link:hover { color: var(--ink); }
.hotel-list { display: grid; gap: 1.5rem; }
.hotel-card { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.hotel-card-media { min-height: 300px; background: var(--line); }
.hotel-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.hotel-card:hover .hotel-card-media img { transform: scale(1.025); }
.hotel-card-body { display: grid; align-content: center; justify-items: start; gap: 1rem; padding: 2.5rem; }
.hotel-card-body h3 { font-size: 1.55rem; line-height: 1.55; }
.hotel-summary, .hotel-address { color: var(--body-accessible); font-size: var(--text-sm); }
.hotel-address { padding-top: 0.75rem; border-top: 1px solid var(--line); }
.content-empty { padding: 3rem; border: 1px solid var(--line); color: var(--body-accessible); background: var(--canvas); text-align: center; }
.content-empty .text-link { margin-top: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.photo-card {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--line);
  text-align: left;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out), filter 300ms ease-out; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(58, 53, 47, 0.48)); pointer-events: none; }
.photo-card span { position: absolute; right: 1rem; bottom: 0.85rem; left: 1rem; z-index: 1; color: var(--white); font-size: var(--text-xs); letter-spacing: 0.08em; }
.photo-card:hover img { transform: scale(1.035); filter: brightness(1.03); }
.photo-card:focus-visible { outline-offset: 5px; }
.photo-error { display: grid; place-items: center; height: 100%; min-height: 240px; padding: 2rem; color: var(--body-accessible); text-align: center; }
.brand-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; padding-block: 5.5rem; }
.fact-block { display: grid; align-content: start; gap: 1.25rem; }
.fact-block h2 { font-size: 2rem; }
.fact-block p { color: var(--body-accessible); }
.fact-list { display: grid; list-style: none; }
.fact-list li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--body-accessible); font-size: var(--text-sm); }
.fact-list li:last-child { border-bottom: 0; }
.fact-list strong { color: var(--ink); font-weight: 500; }
.brand-next { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.brand-next > span { color: var(--body-accessible); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.16em; text-align: center; }
.next-brand-link { justify-self: end; font-family: var(--font-display); font-size: 1.5rem; }
.detail-cta { margin-top: 2rem; padding: 4rem; color: var(--white); background: var(--ink); }
.detail-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.detail-cta h2 { max-width: 700px; font-size: 2.2rem; }
.detail-cta p { margin-top: 0.75rem; color: var(--line); }
.detail-cta .button { flex: 0 0 auto; border-color: var(--line); }
.detail-cta .button:hover { background: var(--white); color: var(--ink); }
.detail-footer { padding-block: 2.5rem; }
.detail-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--body-accessible); font-size: var(--text-xs); }
.detail-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.detail-footer a:hover { color: var(--ink); }

/* 实景大图与键盘浏览 */
.photo-lightbox { width: min(1180px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; border: 0; border-radius: 2px; background: var(--ink); }
.photo-lightbox::backdrop { background: rgba(35, 31, 27, 0.86); backdrop-filter: blur(8px); }
.photo-lightbox[open] { animation: lightbox-in 300ms var(--ease-out); }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: min(72dvh, 760px); }
.lightbox-stage img { width: 100%; height: min(72dvh, 760px); object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; color: var(--white); background: rgba(58,53,47,0.52); transition: background 180ms ease-out, transform 180ms ease-out; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(58,53,47,0.9); transform: scale(1.05); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { top: 50%; left: 1rem; }
.lightbox-next { top: 50%; right: 1rem; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; color: var(--line); font-size: var(--text-xs); }
.lightbox-caption span:last-child { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.12em; }
@keyframes brand-page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes brand-photo-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1000px) {
  .brand-hero-grid { gap: 3rem; }
  .brand-hero-photo { height: 480px; }
  .photo-card { min-height: 260px; }
  .brand-facts { gap: 3rem; }
}
@media (max-width: 820px) {
  .detail-nav-actions { gap: 1rem; }
  .detail-back { font-size: 0; }
  .detail-back span { font-size: 1.25rem; }
  .brand-hero { padding-block: 2.5rem 4rem; }
  .breadcrumb { margin-bottom: 2rem; }
  .brand-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .brand-hero-copy { max-width: 620px; }
  .brand-hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .property-heading { grid-template-columns: 1fr; align-items: start; }
  .source-link { width: fit-content; white-space: normal; }
  .photo-grid { grid-template-columns: 1fr; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .hotel-card-body { padding: 1.75rem; }
  .photo-card { min-height: 0; aspect-ratio: 4 / 3; }
  .brand-facts { grid-template-columns: 1fr; gap: 3.5rem; }
  .detail-cta { padding: 2.5rem; }
  .detail-cta-inner { align-items: flex-start; flex-direction: column; }
  .detail-footer .container { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 540px) {
  .detail-nav-actions .button { min-height: 42px; padding-inline: 0.9rem; font-size: 0.65rem; }
  .brand-en-title { font-size: 4rem; }
  .brand-cn-title { font-size: 1.2rem; }
  .brand-summary { font-size: 0.92rem; }
  .brand-hero-photo { aspect-ratio: 4 / 5; }
  .property-section, .brand-facts { padding-block: 4rem; }
  .property-heading { margin-bottom: 2rem; }
  .brand-next { grid-template-columns: 1fr 1fr; }
  .brand-next > span { display: none; }
  .next-brand-link { font-size: 1.2rem; }
  .detail-cta { margin-top: 1rem; padding: 2rem 1.5rem; }
  .detail-cta h2 { font-size: 1.75rem; }
  .detail-cta .button { width: 100%; }
  .lightbox-stage, .lightbox-stage img { min-height: 60dvh; height: 60dvh; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; }
  .lightbox-caption { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-page main, .brand-hero-photo img, .photo-lightbox[open] { animation: none; }
  .brand-page.is-leaving { opacity: 1; transition: none; }
}
