/* 北辰光 services pages: homepage, /services/ hub and the five service detail pages.
   Scoped to .bcs so it never touches the archive posts or the theme chrome. */
.bcs {
  --ink: #0b3a4a;
  --ink-2: #2d5361;
  --muted: #5d6f76;
  --accent: #e2552f;
  --paper: #fbf8f3;
  --line: rgba(11, 58, 74, .14);
  --tint: #e9f3f8;
  --tint2: #f4f8fa;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
.bcs *, .bcs *::before, .bcs *::after { box-sizing: border-box; }
.bcs a { color: inherit; }
.bcs p { margin: 0 0 1em; }
.bcs h1, .bcs h2, .bcs h3 { font-family: var(--serif); color: var(--ink); letter-spacing: .02em; margin: 0; }

/* full-bleed bands inside the OceanWP content column */
.bcs-band { width: 100vw; margin-left: calc(50% - 50vw); padding: 88px 24px; position: relative; overflow: hidden; }
.bcs-wrap { max-width: 1120px; margin: 0 auto; position: relative; }
.bcs-narrow { max-width: 760px; margin: 0 auto; }
.bcs-paper { background: var(--paper); }
.bcs-tint { background: var(--tint2); }
.bcs-dark { background: var(--ink); color: #e9f1f3; }
.bcs-dark h2, .bcs-dark h3 { color: #fff; }

.bcs-eyebrow { display: inline-flex; gap: .6em; align-items: center; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.bcs-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.bcs-dark .bcs-eyebrow { color: #b9cfd5; }
.bcs-sec-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; margin-bottom: 14px !important; }
.bcs-sec-lead { color: var(--muted); max-width: 640px; margin-bottom: 40px !important; }
.bcs-dark .bcs-sec-lead { color: #c9d9de; }

/* hero */
.bcs-hero { background: linear-gradient(135deg, var(--tint) 0%, var(--tint2) 60%, #fff 100%); padding-top: 72px; padding-bottom: 72px; }
.bcs-hero::after {
  content: ""; position: absolute; right: -120px; top: -60px; width: 560px; height: 560px; opacity: .10; pointer-events: none;
  background: var(--ink);
  clip-path: polygon(50% 0, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0 50%, 45% 45%);
}
.bcs-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.bcs-pill { display: inline-block; border: 2px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 4px 18px; font-weight: 600; letter-spacing: .12em; font-size: 14px; margin-bottom: 22px; }
.bcs-hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.16; font-weight: 900; margin-bottom: 22px; }
.bcs-hero h1 span { display: block; }
.bcs-rule { width: 64px; height: 4px; background: var(--accent); margin: 0 0 22px; border: 0; }
.bcs-sub { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); margin-bottom: 22px !important; }
.bcs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px !important; padding: 0 !important; list-style: none; }
.bcs-chips li { border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 16px; font-size: 14px; margin: 0; }
.bcs-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bcs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.bcs-btn-primary { background: var(--ink); color: #fff !important; }
.bcs-btn-primary:hover { background: #072a36; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 58, 74, .25); }
.bcs-btn-accent { background: var(--accent); color: #fff !important; }
.bcs-btn-accent:hover { background: #c94420; transform: translateY(-2px); }
.bcs-btn-ghost { border: 1.5px solid var(--ink); color: var(--ink) !important; background: transparent; }
.bcs-btn-ghost:hover { background: rgba(11, 58, 74, .06); transform: translateY(-2px); }
.bcs-dark .bcs-btn-ghost { border-color: #fff; color: #fff !important; }

.bcs-figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(11, 58, 74, .45); aspect-ratio: 4 / 5; background: var(--ink); }
.bcs-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcs-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; color: #fff; font-family: var(--serif); font-size: 18px; line-height: 1.6; background: linear-gradient(transparent, rgba(5, 25, 33, .82)); }

/* manifesto */
.bcs-manifesto { font-family: var(--serif); font-size: clamp(19px, 2.3vw, 24px); line-height: 2.1; text-align: center; color: var(--ink); }
.bcs-manifesto p { margin: 0 !important; }
.bcs-manifesto .gap { height: 1.2em; }
.bcs-star { display: block; width: 26px; height: 26px; margin: 0 auto 28px; background: var(--accent); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }

/* cards */
.bcs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bcs-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.bcs-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(11, 58, 74, .35); }
.bcs-card .no { font-family: var(--serif); color: var(--accent); font-size: 14px; letter-spacing: .2em; }
.bcs-card h3 { font-size: 21px; margin: 6px 0 4px; }
.bcs-card .tag { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 10px !important; }
.bcs-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* about rows */
.bcs-about { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.bcs-about img.portrait { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 12px 30px -12px rgba(11, 58, 74, .4); }
.bcs-about .name { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-top: 14px !important; }
.bcs-about .role { color: var(--muted); font-size: 14px; }
.bcs-facts { margin: 0 !important; padding: 0 !important; list-style: none; }
.bcs-facts li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.bcs-facts li:last-child { border-bottom: 0; }
.bcs-facts b { font-family: var(--serif); color: var(--accent); font-size: 17px; }

/* prices */
.bcs-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.bcs-price { background: #fff; border-radius: 18px; padding: 30px; border: 1px solid var(--line); position: relative; }
.bcs-price:first-child { border: 2px solid var(--ink); }
.bcs-price h3 { font-size: 20px; margin-bottom: 6px; }
.bcs-price .desc { color: var(--muted); font-size: 15px; min-height: 3em; }
.bcs-price .amt { font-family: var(--serif); font-size: 40px; font-weight: 900; color: var(--ink); line-height: 1.1; margin: 14px 0 0 !important; }
.bcs-price .amt small { font-size: 16px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.bcs-price .amt.text { font-size: 24px; }
.bcs-note { margin-top: 26px !important; color: var(--muted); font-size: 14px; }
.bcs-table-wrap { overflow-x: auto; margin-top: 30px; }
.bcs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; margin: 0; }
.bcs-table th, .bcs-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.bcs-table th { background: var(--ink); color: #fff; font-weight: 600; }
.bcs-table tr:last-child td { border-bottom: 0; }

/* process */
.bcs-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; margin: 0 !important; padding: 0 !important; list-style: none; }
.bcs-steps li { counter-increment: step; position: relative; padding-top: 58px; margin: 0; }
.bcs-steps li::before { content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 36px; font-weight: 900; color: var(--accent); line-height: 1; }
.bcs-steps li::after { content: ""; position: absolute; top: 18px; left: 64px; right: 8px; height: 1px; background: var(--line); }
.bcs-dark .bcs-steps li::after { background: rgba(255, 255, 255, .2); }
.bcs-steps h3 { font-size: 19px; margin-bottom: 8px; }
.bcs-steps p { font-size: 15px; opacity: .85; margin: 0; }

/* cases */
.bcs-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bcs-case { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 26px; }
.bcs-case .k { color: #ffb59f; font-size: 13px; letter-spacing: .18em; }
.bcs-case h3 { font-size: 20px; margin: 6px 0 10px; }
.bcs-case p { font-size: 15px; opacity: .88; margin: 0; }

/* fit */
.bcs-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bcs-fit > div { border-radius: 18px; padding: 30px; }
.bcs-fit .yes { background: #fff; border: 1px solid var(--line); }
.bcs-fit .no { background: transparent; border: 1px dashed rgba(11, 58, 74, .35); }
.bcs-fit h3 { font-size: 20px; margin-bottom: 14px; }
.bcs-fit ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.bcs-fit li { padding: 8px 0 8px 30px; position: relative; margin: 0; }
.bcs-fit .yes li::before { content: "✓"; position: absolute; left: 0; color: #2f8a66; font-weight: 700; }
.bcs-fit .no li::before { content: "×"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* faq */
.bcs-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.bcs-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--serif); font-size: 19px; font-weight: 700; position: relative; }
.bcs-faq summary::-webkit-details-marker { display: none; }
.bcs-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; color: var(--accent); transition: transform .2s ease; }
.bcs-faq details[open] summary::after { transform: rotate(45deg); }
.bcs-faq details p { color: var(--muted); padding: 0 0 18px; margin: 0; }
.bcs-notes { margin: 34px 0 0 !important; padding: 22px 26px !important; background: var(--tint2); border-radius: 14px; font-size: 14px; color: var(--muted); list-style: none; }
.bcs-notes li { margin: 4px 0; padding-left: 16px; position: relative; }
.bcs-notes li::before { content: "·"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* art band */
.bcs-art { min-height: 440px; display: flex; align-items: flex-end; background-size: cover; background-position: center; padding: 0; }
.bcs-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 25, 33, .05) 30%, rgba(5, 25, 33, .78)); }
.bcs-art blockquote { position: relative; margin: 0 auto !important; max-width: 1120px; width: 100%; padding: 0 24px 56px !important; border: 0 !important; background: none !important; color: #fff; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-style: normal; line-height: 1.6; quotes: none; }
.bcs-art blockquote::before, .bcs-art blockquote::after { display: none !important; content: none !important; }
.bcs-art cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; letter-spacing: .08em; opacity: .7; font-family: var(--sans); }

/* contact band */
.bcs-contact { text-align: center; }
.bcs-contact h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.bcs-contact p { opacity: .85; }
.bcs-contact .bcs-actions { justify-content: center; margin-top: 26px; }
.bcs-contact .wx { font-family: var(--serif); font-size: 30px; letter-spacing: .06em; color: #fff; margin: 10px 0 0 !important; opacity: 1; }

/* service cards (homepage + hub) */
.bcs-svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.bcs-svc { grid-column: span 2; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; transition: transform .3s ease, box-shadow .3s ease; }
.bcs-svc.wide { grid-column: span 3; }
.bcs-svc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(11, 58, 74, .5); }
.bcs-svc .pic { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.bcs-svc .pic span { position: absolute; left: 18px; top: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; letter-spacing: .2em; padding: 3px 12px; border-radius: 999px; }
.bcs-svc .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bcs-svc .cat { color: var(--accent); font-size: 13px; letter-spacing: .14em; font-weight: 600; }
.bcs-svc h3 { font-size: 24px; margin: 6px 0 8px; line-height: 1.35; }
.bcs-svc p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.bcs-svc .more { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.bcs-svc .more b { font-family: var(--serif); font-size: 18px; }
.bcs-svc .more i { font-style: normal; font-weight: 600; transition: transform .2s ease; }
.bcs-svc:hover .more i { transform: translateX(4px); }

.bcs-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.bcs-mini > div { border: 1px dashed rgba(11, 58, 74, .3); border-radius: 16px; padding: 22px 24px; }
.bcs-mini h3 { font-size: 18px; margin-bottom: 6px; }
.bcs-mini p { color: var(--muted); font-size: 14px; margin: 0; }

.bcs-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.bcs-principles div { border-top: 3px solid var(--accent); padding-top: 16px; }
.bcs-principles h3 { font-size: 19px; margin-bottom: 6px; }
.bcs-principles p { font-size: 15px; color: var(--muted); margin: 0; }
.bcs-dark .bcs-principles p { color: #c9d9de; }

.bcs-archive { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 !important; padding: 0 !important; list-style: none; }
.bcs-archive li { margin: 0; }
.bcs-archive a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11, 58, 74, .3); }

.bcs-crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px !important; }
.bcs-crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* entrance motion */
@media (prefers-reduced-motion: no-preference) {
  .bcs-hero .bcs-rise { opacity: 0; transform: translateY(18px); animation: bcs-rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .bcs-hero .bcs-rise:nth-child(2) { animation-delay: .08s; }
  .bcs-hero .bcs-rise:nth-child(3) { animation-delay: .16s; }
  .bcs-hero .bcs-rise:nth-child(4) { animation-delay: .24s; }
  .bcs-hero .bcs-rise:nth-child(5) { animation-delay: .32s; }
  .bcs-hero .bcs-rise:nth-child(6) { animation-delay: .40s; }
  .bcs-hero .bcs-rise:nth-child(7) { animation-delay: .48s; }
  .bcs-hero .bcs-figure { animation: bcs-fade 1.1s ease .2s both; }
  .bcs-svc-grid .bcs-svc { animation: bcs-fade .7s ease both; }
  .bcs-svc-grid .bcs-svc:nth-child(2) { animation-delay: .08s; }
  .bcs-svc-grid .bcs-svc:nth-child(3) { animation-delay: .16s; }
  .bcs-svc-grid .bcs-svc:nth-child(4) { animation-delay: .24s; }
  .bcs-svc-grid .bcs-svc:nth-child(5) { animation-delay: .32s; }
}
@keyframes bcs-rise { to { opacity: 1; transform: none; } }
@keyframes bcs-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .bcs-band { padding: 64px 20px; }
  .bcs-hero-grid, .bcs-about { grid-template-columns: 1fr; gap: 36px; }
  .bcs-hero::after { width: 360px; height: 360px; right: -140px; }
  .bcs-figure { aspect-ratio: 16 / 10; }
  .bcs-grid, .bcs-cases, .bcs-mini { grid-template-columns: 1fr 1fr; }
  .bcs-steps, .bcs-principles { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .bcs-steps li::after { display: none; }
  .bcs-svc, .bcs-svc.wide { grid-column: span 3; }
}
@media (max-width: 640px) {
  .bcs { font-size: 15px; }
  .bcs-band { padding: 52px 18px; }
  .bcs-grid, .bcs-cases, .bcs-fit, .bcs-mini, .bcs-steps, .bcs-principles { grid-template-columns: 1fr; }
  .bcs-svc, .bcs-svc.wide { grid-column: span 6; }
  .bcs-art { min-height: 320px; }
  .bcs-facts li { grid-template-columns: 1fr; gap: 2px; }
  .bcs-table th, .bcs-table td { padding: 10px 12px; }
}

/* Songti's heavy weights have no visible ¥ glyph; draw the currency sign in the sans face */
.bcs .cur { font-family: var(--sans); font-weight: 600; font-size: .62em; margin-right: 2px; vertical-align: .18em; }

/* Hero picture frame: a night-sky backdrop with the north star, visible while the painting loads */
.bcs-figure {
  background:
    radial-gradient(1px 1px at 18% 22%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 72% 14%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 48%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 84% 62%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 26% 78%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(120% 90% at 70% 10%, #1d5a6e 0%, #0b3a4a 55%, #06222c 100%);
}
.bcs-figure::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 42%; width: 90px; height: 90px; transform: translate(-50%, -50%);
  background: rgba(255,255,255,.85);
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
}
.bcs-figure img { position: relative; z-index: 1; }
.bcs-figure figcaption { z-index: 2; }
.bcs-figure::after { content: ""; position: absolute; inset: 14px; z-index: 3; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; pointer-events: none; }
