/*
Theme Name: 包美美品牌形象主题 3.0
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: 面向女性形象与个人品牌服务的编辑感官网主题。
Version: 3.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baomeimei
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

:root {
  --bm-ivory: #f5efe6;
  --bm-paper: #fffdf9;
  --bm-ink: #181413;
  --bm-ink-soft: #544844;
  --bm-line: rgba(24, 20, 19, 0.12);
  --bm-red: #8e3e36;
  --bm-red-soft: #f0ddd4;
  --bm-gold: #b99767;
  --bm-forest: #22302c;
  --bm-shadow: 0 24px 80px rgba(24, 20, 19, 0.12);
  --bm-radius: 28px;
  --bm-max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bm-ink);
  background:
    radial-gradient(circle at top left, rgba(185, 151, 103, 0.12), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(142, 62, 54, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #f3ede5 45%, #f8f4ee 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }

.container {
  width: min(calc(100% - 40px), var(--bm-max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--bm-paper);
  border-radius: 999px;
  z-index: 120;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(120%);
  background: rgba(245, 239, 230, 0.86);
  border-bottom: 1px solid rgba(24, 20, 19, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex: 0 0 46px;
}

.brand-logo img,
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tagline {
  color: var(--bm-ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
}

.primary-nav .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--bm-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after,
.primary-nav .current_page_item a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-minor {
  font-size: 0.92rem;
  color: var(--bm-ink-soft);
}

.site-ribbon {
  border-top: 1px solid rgba(24, 20, 19, 0.08);
  border-bottom: 1px solid rgba(24, 20, 19, 0.08);
  background: rgba(255, 255, 255, 0.24);
}

.ribbon-inner {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.ribbon-inner::-webkit-scrollbar { display: none; }

.ribbon-inner span {
  color: var(--bm-ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  background: var(--bm-paper);
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--bm-red) 0%, #6d2e28 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(142, 62, 54, 0.28);
}

.btn--ghost {
  border-color: var(--bm-line);
  background: rgba(255, 255, 255, 0.36);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f6ece8;
  background: rgba(255, 255, 255, 0.06);
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--bm-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede,
.section-copy,
.footer-desc,
.contact-note {
  font-size: 1.05rem;
  color: var(--bm-ink-soft);
}

.section-copy--narrow {
  max-width: 32ch;
}

.poster-hero {
  padding: clamp(42px, 7vw, 76px) 0 clamp(58px, 8vw, 92px);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: stretch;
}

.hero-copy {
  padding-top: 28px;
}

.hero-manifest {
  margin-bottom: 0.9rem;
  color: var(--bm-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 8.5ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-ledger {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.ledger-item {
  min-height: 100%;
  padding: 22px 24px;
  border-top: 1px solid rgba(24, 20, 19, 0.14);
  background: rgba(255, 255, 255, 0.28);
}

.ledger-item h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.ledger-item p:last-child {
  margin-bottom: 0;
}

.metric-tile {
  min-width: 142px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.metric-tile strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 3px;
}

.metric-tile span {
  display: block;
  font-size: 0.88rem;
  color: var(--bm-ink-soft);
}

.poster-stage {
  position: relative;
  min-height: 620px;
  padding: 28px;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(24, 20, 19, 0.94) 0%, rgba(38, 28, 27, 0.96) 56%, rgba(89, 39, 35, 0.96) 100%);
  color: #f6ece8;
  box-shadow: var(--bm-shadow);
}

.poster-stage__image {
  position: absolute;
  inset: 0;
  opacity: 0.56;
}

.poster-stage__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(24, 20, 19, 0.25) 0%, rgba(24, 20, 19, 0.6) 100%);
}

.poster-stage__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-stage::before,
.poster-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.poster-stage::before {
  width: 340px;
  height: 340px;
  right: -120px;
  top: -70px;
  background: radial-gradient(circle, rgba(185, 151, 103, 0.48), transparent 70%);
}

.poster-stage::after {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(142, 62, 54, 0.42), transparent 68%);
}

.poster-stage__panel,
.poster-stage__card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.poster-stage__panel {
  width: min(100%, 460px);
  margin-bottom: 26px;
}

.poster-stage__card {
  width: min(82%, 380px);
  margin-left: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.poster-kicker {
  margin-bottom: 12px;
  color: rgba(246, 236, 232, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-lines p {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  max-width: 16ch;
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.stack-list li {
  position: relative;
  padding: 0 0 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.stack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bm-gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.link-arrow::after {
  content: "↗";
  font-size: 0.95rem;
}

.editorial-section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.editorial-section--dark {
  background: linear-gradient(180deg, #201918 0%, #2d211f 100%);
  color: #f6ece8;
}

.editorial-section--accent {
  background: linear-gradient(180deg, rgba(240, 221, 212, 0.52) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.editorial-section--line {
  border-top: 1px solid var(--bm-line);
  border-bottom: 1px solid var(--bm-line);
}

.editorial-section--contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 221, 212, 0.5) 100%);
}

.editorial-section--tail {
  padding-top: 0;
}

.section-heading,
.split-intro,
.contact-panel,
.page-intro--wide {
  display: grid;
  gap: 24px;
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: end;
  margin-bottom: 28px;
}

.section-heading--light .eyebrow,
.section-heading--light .section-copy,
.section-heading--light h2 {
  color: #f6ece8;
}

.section-copy--light {
  color: rgba(246, 236, 232, 0.76);
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rail-grid--tight {
  margin-bottom: 38px;
}

.service-rail,
.scenario-card,
.principle-card,
.process-card,
.journal-card,
.sidebar-card,
.contact-meta-card,
.inquiry-card,
.faq-item {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.service-rail,
.scenario-card,
.principle-card,
.process-card,
.journal-card,
.case-card,
.sidebar-card,
.faq-item,
.contact-meta-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-rail:hover,
.scenario-card:hover,
.principle-card:hover,
.process-card:hover,
.journal-card:hover,
.case-card:hover,
.sidebar-card:hover,
.faq-item:hover,
.contact-meta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(24, 20, 19, 0.08);
  border-color: rgba(24, 20, 19, 0.14);
}

.service-rail {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.service-rail__media {
  overflow: hidden;
  margin-bottom: 6px;
  border-radius: 20px;
  aspect-ratio: 4 / 4.8;
  background: linear-gradient(135deg, rgba(142, 62, 54, 0.18), rgba(185, 151, 103, 0.18));
}

.service-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-rail__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rail-grid--editorial .service-rail--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.rail-grid--editorial .service-rail--featured .service-rail__media {
  margin-bottom: 0;
  aspect-ratio: auto;
  min-height: 100%;
}

.rail-grid--editorial .service-rail--featured .service-rail__content {
  align-self: center;
}

.mini-tag {
  color: var(--bm-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-rail strong,
.scenario-card strong {
  font-size: 0.95rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-grid--page {
  margin-bottom: 34px;
}

.price-grid--editorial .price-card--spotlight {
  transform: translateY(-12px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%),
    radial-gradient(circle at top right, rgba(185, 151, 103, 0.28), transparent 42%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.price-card {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card__label {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  min-height: 32px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(246, 236, 232, 0.12);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.price-card__head p {
  margin: 0;
  color: rgba(246, 236, 232, 0.72);
}

.price-card__head strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-family: "Songti SC", "STSong", serif;
}

.price-card__meta {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(246, 236, 232, 0.78);
  font-size: 0.9rem;
}

.scenario-grid,
.process-grid,
.journal-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scenario-grid--compact {
  margin: 0 0 34px;
}

.scenario-card,
.principle-card,
.process-card,
.journal-card,
.sidebar-card,
.faq-item,
.contact-meta-card {
  padding: 24px;
}

.scenario-card p,
.faq-item p,
.journal-card p,
.service-rail p,
.principle-card p,
.process-card p,
.content-shell,
.content-shell p {
  color: var(--bm-ink-soft);
}

.case-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.case-card__media {
  display: block;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(145deg, rgba(142, 62, 54, 0.15), rgba(185, 151, 103, 0.16));
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 65% 24%, rgba(255, 255, 255, 0.44), transparent 18%),
    linear-gradient(135deg, rgba(142, 62, 54, 0.34) 0%, rgba(185, 151, 103, 0.26) 100%);
}

.case-card__body {
  padding: 22px;
}

.split-intro {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  align-items: start;
}

.principle-stack,
.faq-stack {
  display: grid;
  gap: 16px;
}

.faq-stack--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 34px;
}

.process-card {
  position: relative;
  min-height: 220px;
}

.process-card__step {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--bm-red);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.journal-card__meta,
.page-meta,
.footer-list span {
  color: var(--bm-ink-soft);
  font-size: 0.88rem;
}

.journal-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 20px;
}

.journal-card--lead {
  grid-row: span 2;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(240, 221, 212, 0.58) 100%);
}

.journal-card--lead h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.section-actions {
  margin-top: 24px;
}

.contact-panel {
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.86fr);
  align-items: start;
}

.contact-panel--page {
  align-items: stretch;
}

.faq-item h3 {
  font-size: 1.05rem;
}

.inquiry-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--bm-shadow);
}

.service-atlas {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.editorial-note {
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 221, 212, 0.44) 100%);
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.editorial-note h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.process-strip__item {
  padding-top: 16px;
  border-top: 1px solid rgba(24, 20, 19, 0.14);
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label,
.form-stack {
  display: grid;
  gap: 8px;
}

.inquiry-form span {
  font-size: 0.92rem;
  color: var(--bm-ink-soft);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(24, 20, 19, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bm-ink);
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.notice-box {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bm-red-soft);
  color: var(--bm-red);
}

.notice-box--success {
  background: rgba(185, 151, 103, 0.18);
  color: #6b5438;
}

.page-shell {
  padding: clamp(60px, 9vw, 110px) 0;
}

.page-shell--narrow .container {
  width: min(calc(100% - 40px), 860px);
}

.page-intro {
  margin-bottom: 28px;
}

.page-intro h1,
.page-intro h2 {
  max-width: 11ch;
}

.page-intro--wide {
  max-width: 920px;
}

.page-intro--wide h1,
.page-intro--wide h2 {
  max-width: 14ch;
}

.content-shell {
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.content-shell > *:first-child { margin-top: 0; }
.content-shell > *:last-child { margin-bottom: 0; }

.content-shell h2,
.content-shell h3,
.content-shell h4 {
  margin-top: 1.8rem;
}

.content-shell ul,
.content-shell ol {
  padding-left: 1.2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-story {
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: 128px;
}

.entry-visual {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 30px;
}

.entry-visual img {
  width: 100%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 20, 19, 0.1);
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
}

.pill.is-active {
  border-color: rgba(142, 62, 54, 0.22);
  background: rgba(142, 62, 54, 0.1);
  color: var(--bm-red);
  box-shadow: inset 0 0 0 1px rgba(142, 62, 54, 0.08);
}

.cta-slab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 0;
  padding: 26px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(185, 151, 103, 0.16), rgba(142, 62, 54, 0.12));
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.pagination {
  margin-top: 26px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid rgba(24, 20, 19, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.site-footer {
  border-top: 1px solid rgba(24, 20, 19, 0.08);
  background: rgba(255, 255, 255, 0.44);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 22px;
  padding: clamp(50px, 8vw, 80px) 0 30px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-column h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-nav .menu,
.footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list--meta li {
  display: grid;
  gap: 4px;
}

.qr-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  max-width: 160px;
}

.qr-card img {
  border-radius: 22px;
  border: 1px solid rgba(24, 20, 19, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 32px;
  color: var(--bm-ink-soft);
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  display: inline-flex;
  width: 58px;
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .hero-shell,
  .hero-ledger,
  .service-atlas,
  .contact-panel,
  .split-intro,
  .article-layout,
  .footer-top,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-layout,
  .process-strip {
    grid-template-columns: 1fr 1fr;
  }

  .rail-grid--editorial .service-rail--featured {
    grid-column: span 2;
  }

  .article-sidebar {
    position: static;
  }

  .poster-stage {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .brand-logo {
    width: 42px;
    flex-basis: 42px;
  }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 20px 24px;
    background: rgba(245, 239, 230, 0.98);
    border-bottom: 1px solid rgba(24, 20, 19, 0.08);
  }

  .primary-nav.is-open { display: block; }

  .primary-nav .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions { display: none; }

  .form-grid,
  .scenario-grid,
  .process-grid,
  .journal-grid,
  .journal-layout,
  .process-strip,
  .case-grid,
  .faq-stack--wide,
  .price-grid,
  .rail-grid {
    grid-template-columns: 1fr;
  }

  .cta-slab,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .poster-stage__card {
    width: 100%;
  }

  .rail-grid--editorial .service-rail--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.wp-block {
  max-width: var(--bm-max);
}

.wp-block-group.is-layout-constrained {
  padding-left: 0;
  padding-right: 0;
}
