:root{--c-primary:#c026d3;}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Cormorant Garamond', 'Noto Serif SC', 'STSong', serif; background: #f5f5f4; color: #18181b; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #f5f5f4; border-bottom: 1px solid #e3e3df; }
.track-line { height: 12px; background: repeating-linear-gradient(90deg, #18181b 0 3px, #f5f5f4 3px 60px); border-bottom: 1px solid #18181b; }
.nav-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; font-size: 26px; letter-spacing: 4px; color: #18181b; font-weight: 600; }
.brand .mono { display: block; font-size: 9px; letter-spacing: 5px; color: #c026d3; text-transform: uppercase; }
.nav-links { list-style: none; display: flex; gap: 34px; }
.nav-links a { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 3px; color: #18181b; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: #c026d3; border-bottom-color: #c026d3; }
.menu-toggle { display: none; background: none; border: 1px solid #18181b; color: #18181b; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; padding: 8px 12px; cursor: pointer; }

.hero { position: relative; padding: 150px 0 90px; text-align: center; background: #f5f5f4; overflow: hidden; }
.hero-wall { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 34px, rgba(0, 0, 0, 0.045) 34px 35px), repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.045) 34px 35px); }
.hero .track-line { position: relative; }
.gline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #18181b; }
.gline .dot { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #c026d3; }
.gline .d1 { left: 8%; }
.gline .d2 { left: 47%; }
.gline .d3 { right: 8%; }
.hero-content { position: relative; }
.hero .hang { display: inline-block; margin-top: 60px; }
.hero .artframe { transform: rotate(-1.5deg); width: 720px; max-width: 100%; }
.hero-title { font-size: 52px; letter-spacing: 8px; margin-top: 56px; color: #18181b; font-weight: 500; }
.hero-slogan { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #c026d3; margin-top: 14px; }
.hero-desc { max-width: 560px; margin: 22px auto 36px; color: #57575c; font-size: 18px; }
.btn-art { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: #f5f5f4; background: #18181b; padding: 15px 44px; border: 1px solid #18181b; transition: all .3s; }
.btn-art:hover { background: #c026d3; border-color: #c026d3; }

.hang { position: relative; }
.hang .wire { position: absolute; top: -52px; left: 50%; width: 1px; height: 52px; background: #18181b; }
.hang .wire::before { content: ""; position: absolute; top: 0; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: #18181b; }
.artframe { position: relative; background: #fff; padding: 16px 16px 46px; border: 1px solid #d8d8d3; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }
.artframe img { width: 100%; height: 320px; object-fit: cover; }
.artframe .plaque { position: absolute; left: 16px; right: 16px; bottom: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #18181b; border-top: 1px solid #d8d8d3; padding-top: 8px; display: flex; justify-content: space-between; }
.plaque .tag { color: #c026d3; }
.tilt-l { transform: rotate(-2.6deg); }
.tilt-r { transform: rotate(2.4deg); }
.tilt-m { transform: rotate(-0.8deg); }

.section { padding: 96px 0; }
.section.dark { background: #18181b; color: #f5f5f4; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 6px; color: #c026d3; text-transform: uppercase; }
.section-title h2 { font-size: 44px; letter-spacing: 6px; font-weight: 500; margin-top: 6px; }
.section-title .sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 4px; color: #85858b; text-transform: uppercase; margin-top: 6px; }
.section.dark .section-title .sub { color: #9a9a9f; }

.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-gallery .artframe { width: 100%; }
.about-gallery .artframe img { height: 430px; }
.about-text .mono { color: #c026d3; letter-spacing: 4px; font-size: 11px; text-transform: uppercase; }
.about-text h3 { font-size: 38px; font-weight: 500; margin: 10px 0 18px; letter-spacing: 4px; }
.about-text p { color: #57575c; font-size: 18px; margin-bottom: 16px; }

.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.room-item .hang { margin-top: 52px; }
.room-item .artframe img { height: 300px; }
.room-item .artframe { padding: 14px 14px 42px; }
.room-item .plaque { left: 14px; right: 14px; }
.room-cap { text-align: center; margin-top: 18px; }
.room-cap h3 { font-size: 26px; letter-spacing: 3px; font-weight: 500; }
.room-cap .price { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #c026d3; letter-spacing: 2px; margin-top: 4px; }
.room-cap p { color: #57575c; font-size: 15px; margin-top: 8px; }

.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.facility-block { background: #26262b; border: 1px solid #3a3a40; padding: 40px 22px; text-align: center; position: relative; }
.facility-block::before { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #c026d3; transform: translateX(-50%); }
.facility-block .code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #a16207; letter-spacing: 3px; }
.facility-block .char { width: 66px; height: 66px; margin: 16px auto; border: 1px solid #a16207; color: #a16207; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.facility-block h4 { letter-spacing: 4px; font-size: 18px; color: #f5f5f4; }
.facility-block p { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #9a9a9f; margin-top: 8px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: start; }
.gallery-grid .hang { margin-top: 52px; }
.gallery-grid .artframe img { height: 240px; }
.gallery-grid .artframe { padding: 12px 12px 40px; }
.gallery-grid .plaque { left: 12px; right: 12px; bottom: 10px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.blog-item .artframe img { height: 260px; }
.blog-item .artframe { padding: 14px 14px 46px; }
.blog-date { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; color: #c026d3; margin: 16px 0 6px; }
.blog-item h4 { font-size: 24px; font-weight: 500; letter-spacing: 2px; }
.blog-item p { color: #57575c; font-size: 15px; margin: 8px 0 12px; }
.blog-more { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #18181b; border-bottom: 1px solid #c026d3; padding-bottom: 4px; }
.blog-more:hover { color: #c026d3; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.team-item .artframe img { height: 300px; }
.team-item .artframe { padding: 14px 14px 46px; }
.team-item .plaque { display: block; }
.team-item .plaque strong { font-size: 12px; letter-spacing: 2px; }
.team-item .plaque span { display: block; color: #c026d3; margin-top: 2px; }

.cta-art { text-align: center; padding: 100px 0; background: linear-gradient(180deg, #18181b 0%, #26262b 100%); color: #f5f5f4; }
.cta-art .mono { color: #a16207; letter-spacing: 5px; font-size: 12px; text-transform: uppercase; }
.cta-art h2 { font-size: 46px; letter-spacing: 6px; font-weight: 500; margin: 12px 0 14px; }
.cta-art p { color: #9a9a9f; margin-bottom: 36px; }

.footer { background: #f5f5f4; border-top: 1px solid #18181b; padding: 54px 0 32px; text-align: center; }
.footer .brand { display: block; margin-bottom: 8px; }
.footer .foot-nav { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 16px 0 20px; flex-wrap: wrap; }
.footer .foot-nav a { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #18181b; }
.footer .foot-nav a:hover { color: #c026d3; }
.footer p { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; color: #85858b; }

.banner { position: relative; padding: 170px 0 80px; text-align: center; background: #f5f5f4; overflow: hidden; }
.banner h1 { font-size: 46px; letter-spacing: 8px; font-weight: 500; }
.banner p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #c026d3; margin-top: 12px; }
.banner .mono-num { font-family: 'IBM Plex Mono', monospace; color: #a16207; letter-spacing: 6px; font-size: 13px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-card { border: 1px solid #d8d8d3; background: #fff; padding: 44px 26px; text-align: center; position: relative; }
.value-card::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; transform: rotate(45deg); background: #f5f5f4; border-right: 1px solid #d8d8d3; border-bottom: 1px solid #d8d8d3; }
.value-card .num { font-family: 'IBM Plex Mono', monospace; color: #a16207; font-size: 14px; letter-spacing: 4px; }
.value-card .char { width: 60px; height: 60px; margin: 16px auto; border: 1px solid #c026d3; color: #c026d3; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.value-card h4 { font-size: 24px; font-weight: 500; letter-spacing: 3px; }
.value-card p { color: #57575c; margin-top: 10px; font-size: 16px; }

.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.port-item .artframe img { height: 430px; }
.port-item { text-align: center; }
.port-item .hang { display: inline-block; }
.port-cap h3 { font-size: 30px; font-weight: 500; letter-spacing: 3px; margin-top: 20px; }
.port-cap p { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; color: #57575c; text-transform: uppercase; margin-top: 6px; }

.blog-list { max-width: 900px; margin: 0 auto; }
.blog-post { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; margin-bottom: 50px; }
.blog-post .artframe img { height: 240px; }
.blog-post .hang { margin-top: 52px; }
.blog-post h3 { font-size: 28px; font-weight: 500; letter-spacing: 2px; }
.blog-post .blog-date { margin-top: 0; }
.blog-post p { color: #57575c; font-size: 16px; margin: 10px 0 16px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 34px; font-weight: 500; letter-spacing: 3px; margin-bottom: 30px; }
.info-line { display: flex; gap: 18px; margin-bottom: 24px; }
.info-box { width: 46px; height: 46px; border: 1px solid #18181b; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.info-line h4 { font-size: 20px; font-weight: 500; letter-spacing: 2px; }
.info-line p { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #57575c; }
.contact-form { border: 1px solid #18181b; background: #fff; padding: 40px; }
.contact-form h3 { font-size: 28px; font-weight: 500; margin-bottom: 24px; letter-spacing: 3px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid #d8d8d3; background: #fafaf8; padding: 13px; font-family: 'Cormorant Garamond', 'Noto Serif SC', serif; font-size: 17px; color: #18181b; }
.form-row textarea { height: 130px; resize: vertical; }
.btn-submit { width: 100%; background: #18181b; color: #f5f5f4; border: 1px solid #18181b; padding: 15px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 5px; cursor: pointer; text-transform: uppercase; }
.btn-submit:hover { background: #c026d3; border-color: #c026d3; }
.map-box { margin-top: 60px; height: 340px; border: 1px solid #18181b; background: #f5f5f4; position: relative; display: flex; align-items: center; justify-content: center; }
.map-pin { width: 42px; height: 42px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #18181b; position: relative; }
.map-pin::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #c026d3; position: absolute; left: 13px; top: 13px; }
.map-text { position: absolute; bottom: 22px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; color: #57575c; }

@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: 14px; width: 100%; text-align: center; }
  .hero { padding: 140px 0 70px; }
  .hero-title { font-size: 34px; letter-spacing: 4px; }
  .hero .artframe { width: 100%; }
  .about-gallery, .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; }
  .banner { padding: 140px 0 60px; }
  .about-gallery .artframe 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}
