:root {
  --paper: #f5f3ed;
  --paper-deep: #ebe7df;
  --card: #faf9f5;
  --ink: #171816;
  --muted: #67665f;
  --line: #c9c6bd;
  --accent: #be4b32;
  --accent-soft: #e7aa9c;
  --max: 1120px;
  --content: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.content-narrow {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 4px solid var(--accent);
}

.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 1px solid #aaa69d;
  border-radius: 50%;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-link {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.service-nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-nav .container {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 49px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.service-nav .container::-webkit-scrollbar {
  display: none;
}

.service-nav a {
  color: #5f5d56;
  font-size: 13px;
  transition: color 0.18s ease;
}

.service-nav a:hover,
.service-nav a[aria-current="page"] {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero {
  padding: 62px 0 56px;
}

.home-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.home-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(66px, 9.3vw, 132px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.home-tagline {
  margin: 34px 0 0;
  color: var(--accent);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-motto {
  margin: 2px 0 20px;
  color: #55524b;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.button-dark {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.home-bio {
  max-width: 840px;
  margin-top: 42px;
  color: #55544d;
}

.home-bio p {
  margin: 0 0 19px;
}

.home-bio-en {
  color: #817e75;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.65;
}

.entrances {
  padding: 54px 0 63px;
  background: var(--paper-deep);
}

.section-intro-label {
  margin: 0 0 23px;
  color: #6d6a63;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.entrance-list {
  border-top: 1px solid var(--ink);
}

.entrance-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.entrance-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.entrance-item h2 {
  margin: 0 0 7px;
  font-size: 27px;
  line-height: 1.25;
}

.entrance-item p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  align-self: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services-home {
  padding: 85px 0 93px;
}

.section-title {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-lead {
  max-width: 770px;
  margin: 25px 0 43px;
  color: var(--muted);
  font-size: 18px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 35px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card .number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.service-card h3 {
  margin: 31px 0 12px;
  font-size: 29px;
  line-height: 1.28;
}

.service-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.service-card .text-link {
  margin-top: auto;
}

.services-hero,
.detail-hero {
  background: var(--paper-deep);
  border-bottom: 4px solid var(--accent);
}

.services-hero {
  padding: 72px 0 76px;
}

.services-hero .section-title {
  font-size: clamp(62px, 9vw, 112px);
}

.service-list-section {
  padding: 80px 0 92px;
}

.service-list {
  border-top: 2px solid var(--ink);
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 45px 0 47px;
  border-bottom: 1px solid var(--line);
}

.service-row-number {
  padding-top: 7px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.service-row h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.2;
}

.service-row p {
  max-width: 760px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 18px;
}

.detail-hero {
  padding: 65px 0 64px;
}

.detail-title {
  max-width: 950px;
  margin: 0;
  font-size: clamp(43px, 7vw, 76px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.detail-lead {
  max-width: 830px;
  margin: 25px 0 0;
  color: #65635d;
  font-size: 18px;
}

.detail-main {
  padding: 67px 0 86px;
}

.detail-main section + section {
  margin-top: 66px;
  padding-top: 53px;
  border-top: 1px solid var(--line);
}

.detail-main h2 {
  margin: 0 0 25px;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.detail-main .intro {
  max-width: 780px;
  margin: -8px 0 25px;
  color: var(--muted);
}

.quote-card {
  margin: 0 0 55px;
  padding: 34px 35px 36px;
  color: #f6f4ee;
  background: var(--ink);
  border-left: 4px solid var(--accent);
}

.quote-card .quote-label {
  display: block;
  margin-bottom: 13px;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quote-card p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(22px, 3.2vw, 31px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.38;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 17px 12px 17px 30px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "–";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 800;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.info-card {
  min-height: 165px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.info-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.info-card p,
.info-card ul {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.split-grid .split-panel {
  padding: 30px;
}

.split-grid .split-panel + .split-panel {
  border-left: 1px solid var(--line);
}

.split-panel h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.split-panel ul {
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.process-list {
  margin: 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 92px;
  padding: 6px 0 26px 85px;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.process-list span {
  color: var(--muted);
  font-size: 14px;
}

.note-box {
  margin-top: 23px;
  padding: 18px 22px;
  color: #5c5a54;
  background: #eee6df;
  border-left: 3px solid var(--accent);
  font-size: 14px;
}

.reader-hero {
  padding: 67px 0 63px;
  color: #f7f4ed;
  background: var(--ink);
  border-bottom: 4px solid var(--accent);
  text-align: center;
}

.reader-book-title {
  margin: 0 0 15px;
  color: var(--accent-soft);
  font-size: clamp(17px, 3vw, 29px);
  font-weight: 800;
}

.reader-title {
  margin: 0;
  font-size: clamp(42px, 8.3vw, 78px);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.reader-main {
  padding: 62px 0 90px;
}

.reader-section-title {
  margin: 0 0 32px;
  font-size: clamp(26px, 4vw, 34px);
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-item {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 29px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 700;
}

.benefit-icon {
  width: 31px;
  flex: 0 0 31px;
  font-size: 27px;
  line-height: 1;
}

.reader-process {
  margin-top: 67px;
  padding-top: 61px;
  border-top: 1px solid var(--line);
}

.reader-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reader-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 5px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
}

.reader-steps .step-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.qr-section {
  margin-top: 67px;
  padding-top: 66px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.qr-frame {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
}

.qr-frame img {
  width: 100%;
}

.wechat-id {
  margin: 24px 0 8px;
  font-size: 21px;
}

.wechat-id strong {
  letter-spacing: 0.03em;
}

.wechat-hint {
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}

.reader-note {
  width: min(100%, 680px);
  margin: 25px auto 0;
  padding: 16px 19px;
  color: #5e5b55;
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  font-size: 15px;
  text-align: left;
}

.contact-section {
  padding: 0 0 92px;
}

.contact-card {
  padding: 50px 54px 42px;
  color: #f6f4ee;
  background: var(--ink);
}

.contact-card .eyebrow {
  color: var(--accent-soft);
}

.contact-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 5vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-card > p {
  max-width: 690px;
  margin: 22px 0 32px;
  color: #bdbab2;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 24px 0 4px;
  border-top: 1px solid #4c4d49;
  border-bottom: 1px solid #4c4d49;
}

.contact-item {
  padding-bottom: 19px;
  font-size: 16px;
}

.contact-item strong {
  margin-right: 8px;
  color: var(--accent-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-row {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #68665f;
  font-size: 13px;
}

.footer-row a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .container,
  .content-narrow {
    width: min(calc(100% - 40px), var(--max));
  }

  .header-row {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-link {
    font-size: 15px;
  }

  .service-nav .container {
    gap: 26px;
    min-height: 38px;
  }

  .service-nav a {
    font-size: 11px;
  }

  .home-hero {
    padding: 39px 0 35px;
  }

  .home-kicker {
    font-size: 12px;
  }

  .home-title {
    font-size: clamp(57px, 19vw, 78px);
  }

  .home-tagline {
    margin-top: 26px;
    font-size: 20px;
  }

  .home-motto {
    font-size: 13px;
  }

  .button-dark {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .home-bio {
    margin-top: 31px;
    font-size: 13px;
  }

  .home-bio-en {
    font-size: 12px;
  }

  .entrances {
    padding: 42px 0 49px;
  }

  .entrance-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }

  .entrance-item h2 {
    font-size: 20px;
  }

  .entrance-item p,
  .entrance-item .text-link {
    font-size: 13px;
  }

  .entrance-item .text-link {
    align-self: start;
    margin-top: 8px;
  }

  .services-home {
    padding: 58px 0 63px;
  }

  .section-title {
    font-size: 43px;
  }

  .section-lead {
    margin: 18px 0 30px;
    font-size: 14px;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 244px;
    padding: 27px 27px 25px;
  }

  .service-card h3 {
    margin-top: 26px;
    font-size: 24px;
  }

  .service-card p,
  .service-card .text-link {
    font-size: 13px;
  }

  .services-hero {
    padding: 54px 0 57px;
  }

  .services-hero .section-title {
    font-size: 66px;
  }

  .service-list-section {
    padding: 62px 0 69px;
  }

  .service-row {
    grid-template-columns: 41px 1fr;
    gap: 19px;
    padding: 35px 0 38px;
  }

  .service-row-number {
    font-size: 14px;
  }

  .service-row h2 {
    font-size: 29px;
  }

  .service-row p {
    font-size: 14px;
  }

  .detail-hero {
    padding: 44px 0 45px;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .detail-title {
    font-size: 36px;
  }

  .detail-lead {
    margin-top: 19px;
    font-size: 13px;
  }

  .detail-main {
    padding: 45px 0 63px;
  }

  .detail-main section + section {
    margin-top: 48px;
    padding-top: 41px;
  }

  .detail-main h2 {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .detail-main .intro {
    font-size: 13px;
  }

  .quote-card {
    margin-bottom: 43px;
    padding: 26px 24px 27px;
  }

  .quote-card p {
    font-size: 20px;
  }

  .check-list li {
    padding: 13px 8px 13px 23px;
    font-size: 13px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 137px;
    padding: 24px 22px;
  }

  .info-card h3 {
    font-size: 17px;
  }

  .info-card p,
  .info-card ul {
    font-size: 12px;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .split-grid .split-panel {
    padding: 24px 22px;
  }

  .split-grid .split-panel + .split-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split-panel h3 {
    font-size: 18px;
  }

  .split-panel ul {
    font-size: 13px;
  }

  .process-list li {
    min-height: 80px;
    padding-left: 55px;
  }

  .process-list strong {
    font-size: 16px;
  }

  .process-list span {
    font-size: 12px;
  }

  .reader-hero {
    padding: 53px 0 51px;
  }

  .reader-book-title {
    font-size: 17px;
  }

  .reader-title {
    font-size: 43px;
  }

  .reader-main {
    padding: 49px 0 70px;
  }

  .reader-section-title {
    margin-bottom: 27px;
    font-size: 23px;
  }

  .benefit-item {
    min-height: 96px;
    gap: 10px;
    padding: 19px 16px;
    font-size: 16px;
  }

  .benefit-icon {
    width: 25px;
    flex-basis: 25px;
    font-size: 21px;
  }

  .reader-process {
    margin-top: 53px;
    padding-top: 48px;
  }

  .reader-steps li {
    grid-template-columns: 38px 1fr;
    padding: 20px 0;
    font-size: 16px;
  }

  .qr-section {
    margin-top: 53px;
    padding-top: 53px;
  }

  .qr-frame {
    width: min(100%, 340px);
    padding: 22px;
  }

  .wechat-id {
    font-size: 17px;
  }

  .wechat-hint,
  .reader-note {
    font-size: 13px;
  }

  .contact-section {
    padding-bottom: 62px;
  }

  .contact-card {
    padding: 37px 28px 31px;
  }

  .contact-card h2 {
    font-size: 30px;
  }

  .contact-card > p {
    margin: 18px 0 25px;
    font-size: 13px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-item {
    font-size: 13px;
  }

  .footer-row {
    min-height: 100px;
    font-size: 11px;
  }
}

/* Release r2: shared navigation, media cards and contact modules */
.global-nav { position: relative; z-index: 20; }
.global-nav .container { min-height: 58px; gap: 6px; justify-content: center; padding-block: 6px; }
.global-nav a { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 11px; color: var(--muted); font-size: 13px; line-height: 1; transition: color .2s ease, background-color .2s ease; }
.global-nav a::after { content: ""; position: absolute; right: 11px; bottom: 3px; left: 11px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.global-nav a:hover, .global-nav a:focus-visible, .global-nav a[aria-current="page"] { color: var(--accent); background: rgba(155,63,43,.045); }
.global-nav a:hover::after, .global-nav a:focus-visible::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }

.account-grid, .project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.account-grid .content-card, .project-grid .content-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card-media { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 20px; background: #e9e6df; border-radius: 5px; }
.card-media img, .insight-thumb img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.card-media img[data-lightbox], .insight-thumb img[data-lightbox] { cursor: zoom-in; }
.card-media:hover img { transform: scale(1.025); }
.card-media-fallback, .insight-fallback { display: grid; place-content: center; gap: 5px; color: var(--ink); text-align: center; background: linear-gradient(135deg,#efede7,#ddd8cf); }
.card-media-fallback::before, .insight-fallback::before { content: ""; width: 38px; height: 3px; margin: 0 auto 7px; background: var(--accent); }
.card-media-fallback span, .insight-fallback span { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.grid-more { grid-column: 1 / -1; margin: 5px 0 0; text-align: right; }

[data-insights-list] { display: block; border: 0; }
.insight-list-item { display: grid; grid-template-columns: minmax(190px,240px) 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px dashed #cbc7bf; }
.insight-list-item:first-child { padding-top: 0; }
.insight-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #e9e6df; }
.insight-list-item h2 { margin: 8px 0 10px; font-size: clamp(22px,2.5vw,31px); }
.insight-list-item p { margin: 0 0 14px; }

.wechat-cta { position: relative; grid-template-columns: 1fr 220px; }
.wechat-cta::before, .reader-contact::before, .error-contact::before { content: ""; position: absolute; top: 28px; left: 45px; width: 42px; height: 3px; background: var(--accent); }
.wechat-cta > div:first-child { padding-top: 14px; }
.wechat-qr { width: 220px; max-width: 100%; padding: 12px; border-radius: 6px; justify-self: end; }
.wechat-qr img, .reader-qr img { display: block; width: 100%; height: auto; max-width: 220px; }

.image-lightbox { position: fixed; z-index: 9999; inset: 0; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(12,12,12,.9); }
.image-lightbox.is-open { display: flex; }
.image-lightbox img { max-width: min(1200px,94vw); max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 12px 60px rgba(0,0,0,.35); }
.lightbox-close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }

@media (max-width: 1100px) {
  .global-nav .container { justify-content: flex-start; }
  .account-grid, .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .global-nav .container { min-height: 48px; gap: 2px; padding-block: 3px; }
  .global-nav a { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .account-grid, .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .insight-list-item { grid-template-columns: 1fr; gap: 17px; padding: 24px 0; }
  .insight-thumb { max-width: 100%; }
  .wechat-cta { grid-template-columns: 1fr; }
  .wechat-cta::before { top: 24px; left: 24px; }
  .wechat-qr { width: 210px; justify-self: start; }
}

@media (max-width: 390px) {
  .container,
  .content-narrow {
    width: min(calc(100% - 30px), var(--max));
  }

  .header-link {
    font-size: 14px;
  }

  .home-title {
    font-size: 58px;
  }

  .services-hero .section-title {
    font-size: 57px;
  }

  .detail-title {
    font-size: 32px;
  }

  .benefit-item {
    padding-inline: 12px;
    font-size: 15px;
  }
}

@media (min-width: 1180px) {
  .home-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.65fr);
    column-gap: 80px;
  }

  .home-hero .home-bio {
    align-self: end;
    margin-top: 95px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Phase 2 information architecture */
.global-nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.global-nav .container { min-height: 48px; display: flex; gap: 25px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.global-nav a { color: var(--muted); font-size: 13px; white-space: nowrap; }
.global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 7px 10px; color: var(--ink); }
.page-hero { padding: 68px 0 65px; background: var(--paper-deep); border-bottom: 4px solid var(--accent); }
.page-hero h1 { max-width: 950px; margin: 0; font-size: clamp(48px, 8vw, 88px); letter-spacing: -.055em; line-height: 1.02; }
.page-hero p:last-child { max-width: 780px; margin: 23px 0 0; color: var(--muted); font-size: 18px; }
.page-section { padding: 72px 0; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-section h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; line-height: 1.18; }
.page-section .section-copy { max-width: 760px; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.content-card { display: flex; flex-direction: column; min-height: 225px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.18); }
.content-card h2, .content-card h3 { margin: 0 0 12px; font-size: 27px; line-height: 1.25; }
.content-card p { margin: 0 0 18px; color: var(--muted); }
.content-card .text-link { margin-top: auto; }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 20px; }
.meta-pill { padding: 4px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.empty-state { padding: 34px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: rgba(255,255,255,.2); }
.empty-state h2 { margin-top: 0; }
.breadcrumb { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--accent); }
.prose { max-width: 800px; }
.prose h2 { margin-top: 48px; }
.prose p, .prose li { color: var(--muted); }
.status { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.platform-mark { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-weight: 800; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; }
.footer-contact strong { color: var(--ink); }
.footer-copy { padding: 4px 9px; color: var(--accent); background: transparent; border: 1px solid var(--line); cursor: pointer; font: inherit; }
.card-proof { width: calc(100% + 60px); max-width: none; height: 220px; margin: -30px -30px 25px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.account-more { margin-top: 70px; }
.account-more > h2, [data-render="accounts"] > section > h2 { margin: 0 0 25px; font-size: clamp(28px,4vw,40px); }
.metric-row { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 4px 9px; align-items: baseline; margin: 6px 0 4px; }
.metric-row strong { font-family: Georgia,"Times New Roman",serif; font-size: 25px; }
.metric-row span { color: var(--muted); font-size: 12px; }
.data-date { font-size: 12px; }
.card-price { color: var(--accent) !important; font-size: 22px; font-weight: 800; }
.proof-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.proof-figure { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); }
.proof-figure img { width: 100%; max-height: 640px; object-fit: contain; object-position: top; }
.proof-figure figcaption { padding: 11px 4px 2px; color: var(--muted); font-size: 13px; }
.wechat-cta { display: grid; grid-template-columns: 1fr minmax(220px,320px); gap: 45px; align-items: center; padding: 45px; color: #f6f4ee; background: var(--ink); }
.wechat-cta h2 { margin: 0; font-size: clamp(30px,4vw,48px); line-height: 1.08; }
.wechat-cta p { color: #bdbab2; }
.wechat-value { display: flex; gap: 13px; align-items: baseline; }
.wechat-value strong { color: var(--accent-soft); font-size: 23px; letter-spacing: .04em; }
.wechat-cta .button-dark { color: var(--ink); background: #fff; border-color: #fff; cursor: pointer; }
.copy-status { display: inline-block; min-width: 120px; margin-left: 14px; color: var(--accent-soft); font-size: 13px; }
.wechat-qr { padding: 17px; background: #fff; }
.cover-placeholder { display: grid; min-height: 480px; place-items: center; padding: 35px; color: #fff; background: var(--ink); border: 8px solid var(--accent); text-align: center; }
.cover-placeholder strong { display: block; font-family: Georgia,"Times New Roman",serif; font-size: clamp(30px,5vw,54px); line-height: 1.15; }
.cover-placeholder span { color: var(--accent-soft); }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.tool-panel { padding: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.25); }
.tool-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; }
.field input, .field select { width: 100%; min-height: 46px; padding: 9px 12px; color: var(--ink); background: #fff; border: 1px solid #9d9a92; border-radius: 0; font: inherit; }
.field input:focus, .field select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 16px; }
.checkbox-row label { display: flex; gap: 7px; align-items: center; }
.result-box { min-height: 180px; padding: 26px; color: #f6f4ee; background: var(--ink); }
.result-box h2 { margin-top: 0; color: var(--accent-soft); font-size: 18px; }
.result-list { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; margin: 0; }
.result-list dt { color: #bdbab2; }
.result-list dd { margin: 0; font-size: 21px; font-weight: 800; text-align: right; }
.privacy-note { padding: 14px 18px; background: var(--paper-deep); border-left: 3px solid var(--accent); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 55px; align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { margin-top: 55px; scroll-margin-top: 25px; }
.article-body h3 { margin-top: 35px; }
.article-body p, .article-body li { color: #4f4e48; }
.article-toc { position: sticky; top: 25px; padding: 22px; border: 1px solid var(--line); }
.article-toc strong { display: block; margin-bottom: 12px; }
.article-toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
.search-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 35px; }
.search-box input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.conversion-note { margin-top: 38px; padding: 26px; border: 1px solid var(--line); background: var(--paper-deep); }
.conversion-note strong { display: block; font-size: 21px; }
.conversion-note p { margin: 8px 0 18px; }
@media (max-width: 760px) {
  .global-nav .container { gap: 18px; min-height: 42px; }
  .global-nav a { font-size: 11px; }
  .page-hero { padding: 45px 0; }
  .page-hero h1 { font-size: 43px; }
  .page-hero p:last-child { font-size: 14px; }
  .page-section { padding: 52px 0; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 190px; padding: 25px; }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; }
  .card-proof { width: calc(100% + 50px); height: 185px; margin: -25px -25px 22px; }
  .proof-gallery, .tool-grid { grid-template-columns: 1fr; }
  .wechat-cta { grid-template-columns: 1fr; padding: 30px 24px; }
  .wechat-qr { width: min(100%,290px); }
  .copy-status { display: block; margin: 10px 0 0; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-toc { position: static; order: -1; }
  .result-list dd { font-size: 18px; overflow-wrap: anywhere; }
  .metric-row { grid-template-columns: auto 1fr; }
  .article-nav { grid-template-columns: 1fr; }
}

/* r2 cascade overrides */
.global-nav .container { min-height:58px; gap:6px; justify-content:center; padding-block:6px; }
.global-nav a { position:relative; display:inline-flex; align-items:center; min-height:42px; padding:0 11px; font-size:13px; transition:color .2s ease,background-color .2s ease; }
.global-nav a::after { content:""; position:absolute; right:11px; bottom:3px; left:11px; height:2px; background:var(--accent); transform:scaleX(0); transition:transform .2s ease; }
.global-nav a:hover,.global-nav a:focus-visible,.global-nav a[aria-current="page"] { color:var(--accent); background:rgba(155,63,43,.045); }
.global-nav a:hover::after,.global-nav a:focus-visible::after,.global-nav a[aria-current="page"]::after { transform:scaleX(1); }
.account-grid,.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; border:0; }
.account-grid .content-card,.project-grid .content-card { min-width:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.card-media { width:100%; aspect-ratio:16/10; overflow:hidden; margin-bottom:20px; background:#e9e6df; border-radius:5px; }
.card-media .card-proof { display:block; width:100%; max-width:100%; height:100%; margin:0; object-fit:cover; border:0; transition:transform .25s ease; }
[data-lightbox] { cursor:zoom-in; }
.card-media:hover img { transform:scale(1.025); }
.grid-more { grid-column:1/-1; margin:5px 0 0; text-align:right; }
[data-insights-list] { display:block; border:0; }
.insight-list-item { display:grid; grid-template-columns:minmax(190px,240px) 1fr; gap:28px; padding:28px 0; border-bottom:1px dashed #cbc7bf; }
.insight-list-item:first-child { padding-top:0; }
.insight-thumb { aspect-ratio:16/10; overflow:hidden; border-radius:6px; background:#e9e6df; }
.insight-thumb img { display:block; width:100%; height:100%; max-width:100%; object-fit:cover; }
.wechat-cta { position:relative; grid-template-columns:1fr 220px; }
.wechat-cta::before { content:""; position:absolute; top:28px; left:45px; width:42px; height:3px; background:var(--accent); }
.wechat-cta>div:first-child { padding-top:14px; }
.wechat-qr { width:220px; max-width:100%; padding:12px; border-radius:6px; justify-self:end; }
.wechat-qr img,.reader-qr img { display:block; width:100%; height:auto; max-width:220px; }
@media(max-width:1100px){.global-nav .container{justify-content:flex-start}.account-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.global-nav .container{min-height:48px;gap:2px;padding-block:3px}.global-nav a{min-height:38px;padding-inline:9px;font-size:12px}.account-grid,.project-grid{grid-template-columns:1fr;gap:16px}.insight-list-item{grid-template-columns:1fr;gap:17px;padding:24px 0}.wechat-cta{grid-template-columns:1fr}.wechat-cta::before{top:24px;left:24px}.wechat-qr{width:210px;justify-self:start}}
.reader-contact { position:relative; padding-top:30px; }
.reader-contact::before { content:""; position:absolute; top:0; left:50%; width:42px; height:3px; background:var(--accent); transform:translateX(-50%); }
