:root{--c-primary:#d4af37;}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Serif SC', 'STSong', serif; background: #e8e0d5; color: #3b3a33; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.en { font-family: 'Cinzel', 'Noto Serif SC', serif; text-transform: uppercase; letter-spacing: 3px; }
.zh-accent { font-family: 'Ma Shan Zheng', 'Noto Serif SC', cursive; font-weight: 400; }

.crenel { position: relative; height: 22px; background: #495057; }
.crenel::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; background-image: linear-gradient(#495057 0 10px, transparent 10px); background-size: 40px 10px; }
.crenel.gold { background: #d4af37; }
.crenel.gold::before { background-image: linear-gradient(#d4af37 0 10px, transparent 10px); }

.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #495057; }
.topbar .crenel { background: #6c584c; }
.topbar .crenel::before { background-image: linear-gradient(#6c584c 0 10px, transparent 10px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #f0e6d2; }
.brand .crown-mini { width: 34px; height: 22px; background: #d4af37; clip-path: polygon(0 45%, 14% 20%, 26% 40%, 50% 0, 74% 40%, 86% 20%, 100% 45%, 100% 100%, 0 100%); flex: none; }
.brand .name { font-size: 19px; letter-spacing: 3px; color: #f0e6d2; font-family: 'Cinzel', 'Noto Serif SC', serif; }
.brand .name small { display: block; font-size: 10px; letter-spacing: 5px; color: #d4af37; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: #cfc6b4; font-size: 14px; letter-spacing: 2px; font-family: 'Cinzel', 'Noto Serif SC', serif; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: #d4af37; border-bottom-color: #d4af37; }
.menu-toggle { display: none; background: none; border: 2px solid #d4af37; color: #d4af37; font-size: 13px; letter-spacing: 2px; padding: 7px 12px; cursor: pointer; font-family: inherit; }

.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #3a3f47, #495057); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 63, 71, 0.4), rgba(38, 30, 40, 0.85)); }
.hero-walls { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: #6c584c; clip-path: polygon(0 100%, 0 30%, 6% 30%, 6% 12%, 12% 12%, 12% 42%, 20% 42%, 20% 18%, 28% 18%, 28% 46%, 34% 46%, 34% 10%, 42% 10%, 42% 38%, 50% 38%, 50% 20%, 58% 20%, 58% 44%, 64% 44%, 64% 14%, 72% 14%, 72% 40%, 80% 40%, 80% 22%, 88% 22%, 88% 46%, 94% 46%, 94% 16%, 100% 16%, 100% 100%); }
.hero-walls::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.28) 34px 38px, transparent 38px 46px); }
.torch { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 71, 0.85), rgba(255, 179, 71, 0.3) 45%, transparent 70%); z-index: 2; }
.torch.l { left: -50px; bottom: 220px; }
.torch.r { right: -50px; bottom: 220px; }
.torch .flame { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); width: 26px; height: 34px; background: radial-gradient(circle at 50% 70%, #ffe08a, #ff9f1c 55%, transparent 75%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; }
.hero-content { position: relative; z-index: 3; min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 150px 20px 250px; color: #f0e6d2; }
.hero .en { color: #d4af37; font-size: 14px; letter-spacing: 7px; }
.hero h1 { font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 52px; letter-spacing: 8px; margin: 16px 0 10px; font-weight: 500; }
.hero .zh-accent { display: block; font-size: 42px; letter-spacing: 14px; color: #f0e6d2; margin-bottom: 12px; }
.hero .slogan { color: #d9cfb8; letter-spacing: 5px; font-size: 15px; margin-bottom: 38px; }
.btn-gold { display: inline-block; border: 2px solid #d4af37; color: #d4af37; padding: 15px 50px; letter-spacing: 6px; font-size: 15px; font-family: 'Cinzel', 'Noto Serif SC', serif; text-transform: uppercase; transition: all .3s; }
.btn-gold:hover { background: #d4af37; color: #4a0e2e; }
.btn-purple { display: inline-block; background: #4a0e2e; color: #f0e6d2; border: 2px solid #4a0e2e; padding: 13px 48px; letter-spacing: 6px; font-size: 15px; font-family: 'Cinzel', 'Noto Serif SC', serif; transition: all .3s; }
.btn-purple:hover { background: #d4af37; border-color: #d4af37; color: #4a0e2e; }
.btn-gap { margin-left: 14px; }
.shield-ico { display: inline-block; width: 20px; height: 24px; background: #d4af37; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); margin-right: 10px; vertical-align: -4px; }

.section { padding: 96px 0; }
.section.stone { background: #e8e0d5; }
.section.tower { background: #495057; color: #ece4d4; }
.section.royal { background: #4a0e2e; color: #f0e6d2; }
.section-title { text-align: center; margin-bottom: 54px; }
.section-title .en { color: #d4af37; font-size: 12px; letter-spacing: 7px; }
.section-title h2 { font-size: 34px; letter-spacing: 8px; color: #3b3a33; margin-top: 8px; font-weight: 500; }
.section.tower .section-title h2, .section.royal .section-title h2 { color: #f0e6d2; }
.section-title .divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; color: #d4af37; }
.section-title .divider::before, .section-title .divider::after { content: ""; width: 70px; height: 1px; background: #d4af37; }

.chain-line { height: 16px; background: repeating-linear-gradient(45deg, transparent 0 12px, #d4af37 12px 14px, transparent 14px 26px, #d4af37 26px 28px, transparent 28px 40px); opacity: 0.45; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.gothic-frame { position: relative; }
.gothic-frame .arch { background: #6c584c; clip-path: polygon(0 100%, 0 26%, 50% 0, 100% 26%, 100% 100%); padding: 46px 30px 20px; border: 2px solid #d4af37; border-top: none; }
.gothic-frame .arch-inner { border: 1px solid #d4af37; clip-path: polygon(0 100%, 0 26%, 50% 0, 100% 26%, 100% 100%); padding: 16px; }
.gothic-frame img { width: 100%; height: 440px; object-fit: cover; }
.gothic-frame .keystone { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 22px solid #d4af37; }
.about-text h3 { font-size: 28px; letter-spacing: 4px; color: #4a0e2e; margin-bottom: 18px; font-weight: 500; }
.about-text p { color: #5a534a; margin-bottom: 16px; }
.about-text .quote { border-left: 3px solid #d4af37; padding-left: 16px; color: #6c584c; letter-spacing: 2px; margin-top: 24px; font-size: 14px; }

.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.room-card { background: #f6f1e7; border: 2px solid #d4af37; position: relative; }
.room-card::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; background-image: linear-gradient(#f6f1e7 0 10px, transparent 10px); background-size: 36px 10px; }
.room-card .royal-strip { height: 8px; background: repeating-linear-gradient(90deg, #4a0e2e 0 20px, #d4af37 20px 40px); }
.room-card img { width: 100%; height: 240px; object-fit: cover; }
.room-body { padding: 22px 24px 26px; }
.room-body h3 { font-size: 20px; letter-spacing: 3px; color: #4a0e2e; }
.room-body .en { font-size: 11px; color: #d4af37; letter-spacing: 3px; margin: 4px 0 12px; }
.room-body p { font-size: 13px; color: #5a534a; }
.room-price { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; border-top: 1px dashed #d4af37; padding-top: 14px; }
.room-price .num { color: #4a0e2e; font-family: 'Cinzel', serif; font-size: 20px; }
.room-price .num small { font-size: 11px; color: #8a8175; }
.room-price a { color: #d4af37; font-size: 13px; letter-spacing: 2px; border-bottom: 1px solid #d4af37; }

.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.facility-card { background: rgba(255, 255, 255, 0.06); border: 1px solid #d4af37; padding: 34px 20px; text-align: center; }
.facility-card .shield { width: 54px; height: 60px; margin: 0 auto 16px; background: #d4af37; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); display: flex; align-items: center; justify-content: center; color: #4a0e2e; font-size: 20px; }
.facility-card h4 { font-size: 17px; letter-spacing: 3px; color: #f0e6d2; }
.facility-card p { font-size: 12px; color: #b9b2a2; margin-top: 8px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gal-item { position: relative; border: 2px solid #d4af37; clip-path: polygon(0 6%, 8% 6%, 8% 0, 50% 0, 92% 0, 92% 6%, 100% 6%, 100% 94%, 92% 94%, 92% 100%, 50% 100%, 8% 100%, 8% 94%, 0 94%); }
.gal-item img { width: 100%; height: 250px; object-fit: cover; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent, rgba(74, 14, 46, 0.92)); color: #f0e6d2; padding: 30px 16px 12px; font-size: 13px; letter-spacing: 2px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.blog-card { background: #f6f1e7; border: 1px solid #d4af37; }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-body { padding: 20px 22px 24px; }
.blog-date { font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 11px; color: #d4af37; letter-spacing: 3px; }
.blog-card h4 { font-size: 18px; color: #4a0e2e; letter-spacing: 2px; margin: 8px 0 10px; }
.blog-card p { font-size: 13px; color: #5a534a; margin-bottom: 14px; }
.blog-more { color: #4a0e2e; font-size: 13px; letter-spacing: 2px; border-bottom: 1px solid #d4af37; padding-bottom: 3px; }
.blog-more:hover { color: #d4af37; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: center; }
.team-item img { width: 170px; height: 170px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid #d4af37; outline: 2px solid #4a0e2e; outline-offset: -10px; object-fit: cover; }
.team-item h4 { font-size: 19px; letter-spacing: 3px; color: #f0e6d2; }
.team-item .post { font-family: 'Cinzel', 'Noto Serif SC', serif; color: #d4af37; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin: 6px 0 10px; }
.team-item p { font-size: 13px; color: #b9b2a2; max-width: 260px; margin: 0 auto; }

.cta { position: relative; overflow: hidden; padding: 96px 0; text-align: center; }
.cta .hero-walls { opacity: 0.25; height: 120px; }
.cta h2 { font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 36px; letter-spacing: 6px; color: #4a0e2e; margin-bottom: 12px; }
.cta p { color: #6c584c; letter-spacing: 4px; margin-bottom: 34px; }

.footer { background: #3a3f47; color: #b9b2a2; padding: 54px 0 30px; text-align: center; }
.footer .crenel { background: #6c584c; position: relative; }
.footer .crenel::before { background-image: linear-gradient(#6c584c 0 10px, transparent 10px); }
.footer .brand { justify-content: center; margin: 24px 0 8px; }
.footer .foot-nav { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 18px 0 22px; flex-wrap: wrap; }
.footer .foot-nav a { color: #b9b2a2; font-size: 13px; letter-spacing: 2px; font-family: 'Cinzel', 'Noto Serif SC', serif; }
.footer .foot-nav a:hover { color: #d4af37; }
.footer p { font-size: 12px; letter-spacing: 1px; color: #8a8175; }

.banner { position: relative; overflow: hidden; padding: 160px 0 100px; text-align: center; background: linear-gradient(180deg, #3a3f47, #495057); color: #f0e6d2; }
.banner .en { color: #d4af37; font-size: 13px; letter-spacing: 7px; }
.banner h1 { font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 42px; letter-spacing: 8px; margin-top: 8px; font-weight: 500; }
.banner p { color: #cfc6b4; letter-spacing: 4px; margin-top: 14px; }
.banner .crenel { position: absolute; bottom: 0; left: 0; right: 0; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.value-card { background: #f6f1e7; border: 2px solid #d4af37; padding: 42px 26px; text-align: center; }
.value-card .shield { width: 52px; height: 58px; margin: 0 auto 18px; background: #4a0e2e; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); display: flex; align-items: center; justify-content: center; color: #d4af37; font-size: 20px; }
.value-card h4 { font-size: 19px; color: #4a0e2e; letter-spacing: 3px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: #5a534a; }

.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.port-item .arch img { height: 400px; }
.port-cap { text-align: center; padding: 18px; }
.port-cap h3 { font-size: 22px; color: #4a0e2e; letter-spacing: 3px; }
.port-cap p { font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 11px; color: #d4af37; letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }

.blog-list { max-width: 900px; margin: 0 auto; }
.blog-post { display: grid; grid-template-columns: 300px 1fr; gap: 30px; background: #f6f1e7; border: 2px solid #d4af37; padding: 14px; margin-bottom: 36px; }
.blog-post img { width: 100%; height: 220px; object-fit: cover; }
.blog-post h3 { font-size: 22px; color: #4a0e2e; letter-spacing: 2px; margin: 10px 0 12px; }
.blog-post p { font-size: 14px; color: #5a534a; margin-bottom: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 26px; color: #4a0e2e; letter-spacing: 3px; margin-bottom: 28px; }
.info-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-ico { width: 44px; height: 44px; background: #4a0e2e; color: #d4af37; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px; }
.info-line h4 { font-size: 15px; color: #4a0e2e; letter-spacing: 2px; }
.info-line p { font-size: 13px; color: #5a534a; }
.contact-form { background: #f6f1e7; border: 2px solid #d4af37; padding: 40px; }
.contact-form h3 { font-size: 24px; color: #4a0e2e; margin-bottom: 26px; letter-spacing: 3px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; color: #4a0e2e; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid #cfc6b4; background: #fffdf8; padding: 13px; font-family: inherit; color: #3b3a33; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: #d4af37; }
.form-row textarea { height: 130px; resize: vertical; }
.btn-submit { width: 100%; background: #4a0e2e; color: #f0e6d2; border: 2px solid #4a0e2e; padding: 14px; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 15px; letter-spacing: 6px; cursor: pointer; transition: all .3s; }
.btn-submit:hover { background: #d4af37; border-color: #d4af37; color: #4a0e2e; }
.map-box { margin-top: 60px; height: 340px; border: 2px solid #d4af37; background: #d9cfb8; position: relative; display: flex; align-items: center; justify-content: center; }
.map-box .chain-line { position: absolute; top: 0; left: 0; right: 0; }
.map-pin { width: 42px; height: 42px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #4a0e2e; border: 2px solid #d4af37; position: relative; }
.map-pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #d4af37; position: absolute; left: 14px; top: 14px; }
.map-text { position: absolute; bottom: 22px; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 12px; letter-spacing: 3px; color: #6c584c; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .topbar.open .nav-wrap { height: auto; flex-wrap: wrap; padding: 14px 0; }
  .topbar.open .nav-links { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .hero h1 { font-size: 34px; letter-spacing: 4px; }
  .hero .zh-accent { font-size: 30px; letter-spacing: 8px; }
  .hero-walls { height: 140px; }
  .about-split, .contact-grid, .blog-post { grid-template-columns: 1fr; }
  .room-grid, .blog-grid, .team-grid, .value-grid { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .gothic-frame .arch img { height: 300px; }
}


/* ===== CMS helpers ===== */
.form-alert{padding:12px 16px;border-radius:8px;margin:0 0 16px;font-size:.92rem;line-height:1.6}
.form-alert-ok{background:rgba(46,160,67,.08);border:1px solid rgba(46,160,67,.35);color:#2ea043}
.form-alert-err{background:rgba(220,53,69,.08);border:1px solid rgba(220,53,69,.35);color:#dc3545}
.form-alert ul{margin:0;padding-left:18px}
.cms-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:44px 0 0}
.cms-pager a,.cms-pager span{min-width:38px;padding:8px 13px;border:1px solid rgba(128,128,128,.35);border-radius:6px;text-align:center;text-decoration:none;color:inherit}
.cms-pager .active{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
.detail-page{max-width:1100px;margin:0 auto;padding:72px 24px}
.detail-media{width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin-bottom:26px;display:block}
.detail-title{font-size:clamp(26px,3vw,38px);line-height:1.3;margin-bottom:12px}
.detail-meta{color:#777;font-size:.95rem;margin-bottom:20px}
.detail-body{line-height:1.9;color:#444}
.detail-body p{margin-bottom:1em}
.detail-body img{max-width:100%;height:auto;border-radius:10px}
.detail-back{display:inline-block;margin-top:28px;padding:11px 26px;border:1px solid rgba(128,128,128,.4);border-radius:999px;text-decoration:none;color:inherit}
/* ===== 深色 banner 标题白字（避免 h1 与背景同色不可读） ===== */
.banner--ink h1,.banner--purple h1,.banner--coral h1{color:#fff}
/* ===== 阅读全文按钮（硬边 neo-brutalist 风格） ===== */
.news-item .more{display:inline-block;margin-top:14px;padding:10px 20px;background:var(--c-ink);color:#fff;border:var(--border-2);box-shadow:var(--shadow-sm);font-family:var(--font-en);font-weight:800;font-size:.85rem;letter-spacing:.02em;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.news-item .more:hover{background:var(--c-coral);transform:translate(-2px,-2px);box-shadow:var(--shadow)}
/* ===== 留言板一行一个 input（01 翰墨轩） ===== */
.form-grid{grid-template-columns:1fr}
