:root{--c-primary:#6f4e37;}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans SC', 'Baloo 2', sans-serif;
  background: #f5efe0;
  color: #3e2c1c;
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,239,224,0.94);
  box-shadow: 0 2px 18px rgba(111,78,55,0.12);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 26px;
  color: #6f4e37;
}

.brand span {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: #6f4e37;
  color: #f5efe0;
  font-size: 16px;
  margin-right: 8px;
}

.nav-menu {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-menu a {
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 15px;
  color: #6f4e37;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: #6f4e37;
  color: #f5efe0;
}

.nav-toggle {
  display: none;
  background: #6f4e37;
  color: #f5efe0;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 86vh;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 90px;
}

.hero-text h1 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.15;
  color: #4a3422;
}

.hero-text h1 em {
  font-style: normal;
  color: #a5673f;
}

.hero-text p {
  margin: 24px 0 34px;
  color: #8a6f57;
  font-size: 16px;
  max-width: 420px;
}

.btn {
  display: inline-block;
  background: #a5673f;
  color: #f5efe0;
  padding: 14px 38px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  align-self: flex-start;
}

.btn:hover {
  background: #6f4e37;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #6f4e37;
  border: 2px solid #6f4e37;
}

.btn-outline:hover {
  background: #6f4e37;
  color: #f5efe0;
}

.hero-img {
  position: relative;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: -40px;
  bottom: 50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #a5673f;
  color: #f5efe0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(111,78,55,0.4);
}

.hero-badge b { font-size: 34px; line-height: 1; }
.hero-badge span { font-size: 12px; letter-spacing: 2px; }

.section { padding: 100px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.kicker {
  display: inline-block;
  font-family: 'Baloo 2', cursive;
  color: #a5673f;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 40px;
  color: #4a3422;
}

.section-sub {
  color: #8a6f57;
  margin-top: 12px;
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background: #fffaf0;
  border-radius: 30px;
  padding: 44px 34px;
  text-align: center;
  border: 1px solid #e8dcc4;
  transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-6px); }

.cup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #6f4e37;
  color: #f5efe0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 30px;
}

.feature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 21px;
  color: #4a3422;
  margin-bottom: 10px;
}

.feature-card p {
  color: #8a6f57;
  font-size: 14px;
}

.menu-band {
  background: #6f4e37;
  color: #f5efe0;
}

.menu-band .section-title { color: #f5efe0; }
.menu-band .section-sub { color: #d9c7ae; }

.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.menu-card {
  background: #f5efe0;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 34px;
}

.menu-card-img {
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  height: 260px;
  position: relative;
  margin-bottom: 26px;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  color: #4a3422;
}

.menu-card .desc {
  color: #8a6f57;
  font-size: 14px;
  padding: 10px 30px 16px;
}

.chalk-tag {
  display: inline-block;
  background: #2c1f14;
  color: #f7f1e3;
  padding: 6px 22px;
  border-radius: 8px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  box-shadow: 0 4px 0 #1a1109;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-card {
  text-align: center;
}

.team-card-img {
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  height: 300px;
  margin-bottom: 18px;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 20px;
  color: #4a3422;
}

.team-card p {
  color: #a5673f;
  font-size: 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.blog-card {
  background: #fffaf0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid #e8dcc4;
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-body {
  padding: 26px 26px 30px;
}

.blog-date {
  font-family: 'Baloo 2', cursive;
  color: #a5673f;
  font-size: 13px;
}

.blog-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 20px;
  color: #4a3422;
  margin: 8px 0 10px;
}

.blog-card p {
  color: #8a6f57;
  font-size: 14px;
  margin-bottom: 14px;
}

.read-more {
  color: #6f4e37;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid #a5673f;
  padding-bottom: 2px;
}

.cta-band {
  background: #a5673f;
  color: #f5efe0;
  text-align: center;
  padding: 90px 0;
}

.cta-band h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 38px;
  margin-bottom: 14px;
}

.cta-band p {
  color: #f0e2cd;
  margin-bottom: 30px;
}

.cta-band .btn { background: #f5efe0; color: #6f4e37; }
.cta-band .btn:hover { background: #4a3422; color: #f5efe0; }

.page-banner {
  background: #6f4e37;
  color: #f5efe0;
  padding: 90px 0 70px;
  text-align: center;
  border-radius: 0 0 40px 40px;
}

.page-banner h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 46px;
}

.page-banner p {
  color: #d9c7ae;
  margin-top: 10px;
  letter-spacing: 3px;
  font-size: 14px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-wrap-img {
  border-radius: 200px 200px 0 0;
  overflow: hidden;
}

.about-wrap-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-wrap h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 34px;
  color: #4a3422;
  margin: 12px 0 20px;
}

.about-wrap p {
  color: #8a6f57;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: #fffaf0;
  border-radius: 24px;
  border: 1px solid #e8dcc4;
  padding: 40px 30px;
  text-align: center;
}

.value-card .cup-icon { font-size: 26px; }

.value-card h3 {
  font-family: 'Baloo 2', cursive;
  color: #4a3422;
  margin-bottom: 10px;
}

.value-card p { color: #8a6f57; font-size: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.gallery-item {
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  position: relative;
  height: 420px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(111,78,55,0.78);
  color: #f5efe0;
  text-align: center;
  padding: 16px;
  letter-spacing: 2px;
}

.article-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  background: #fffaf0;
  border-radius: 26px;
  border: 1px solid #e8dcc4;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body { padding: 34px 40px; }

.article-body h2 {
  font-family: 'Baloo 2', cursive;
  color: #4a3422;
  font-size: 24px;
  margin: 8px 0 12px;
}

.article-body p {
  color: #8a6f57;
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  background: #fffaf0;
  border-radius: 22px;
  border: 1px solid #e8dcc4;
  padding: 26px 30px;
  margin-bottom: 20px;
}

.contact-item h3 {
  font-family: 'Baloo 2', cursive;
  color: #a5673f;
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-item p { color: #6f4e37; }

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea {
  width: 100%;
  border: 2px solid #dccfb4;
  background: #fffaf0;
  border-radius: 16px;
  padding: 14px 20px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  color: #3e2c1c;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: #a5673f; }

.form-group textarea { height: 140px; resize: vertical; }

.map-place {
  margin-top: 50px;
  border-radius: 30px;
  height: 300px;
  background: #6f4e37;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9c7ae;
  letter-spacing: 3px;
}

.footer {
  background: #3e2c1c;
  color: #d9c7ae;
  padding: 70px 0 30px;
  text-align: center;
}

.footer-brand {
  font-family: 'Baloo 2', cursive;
  font-size: 26px;
  color: #f5efe0;
  margin-bottom: 12px;
}

.footer-info { font-size: 13px; margin-bottom: 24px; }

.footer-copy {
  font-size: 12px;
  color: #8a6f57;
  border-top: 1px solid rgba(217,199,174,0.2);
  padding-top: 22px;
}

@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; padding: 12px 20px; }
  .nav-menu {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    display: none;
    margin-top: 10px;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-menu a { text-align: center; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 60px 30px; }
  .hero-text h1 { font-size: 38px; }
  .hero-img { min-height: 300px; }
  .hero-badge { left: 20px; bottom: -20px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .feature-grid, .menu-cards, .team-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .about-wrap-img img { height: 300px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 300px; }
  .article-row { grid-template-columns: 1fr; }
  .article-row img { height: 240px; }
  .page-banner { border-radius: 0 0 24px 24px; padding: 70px 0 50px; }
  .cta-band { padding: 60px 0; }
}


/* ===== 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}
