/* Shared responsive layout: preserve the full desktop story at every size. */
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
main, main > section, main > section > *, .section-head > *, .price-card > * { min-width: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.menu-toggle { display: none; }
.compare-slider { touch-action: pan-y; }
.compare-handle::before { content: ""; position: absolute; inset: 0 -23px; }
/* Desktop/tablet prices follow the table's readable body size. */
@media (min-width: 761px) {
  .config-table .optional { font-size: 16px; white-space: nowrap; }
}
@media (min-width: 1101px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .hero-art { min-width: 0; }
}
@media (max-width: 1100px) {
  html { scroll-padding-top: 76px; }
  .site-header, .journal .site-header, .quotation-page .site-header,
  .site-header.is-scrolled {
    position: sticky; top: 0; min-height: 60px; padding: 0 24px;
    display: flex; flex-direction: row; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 0;
    background: rgba(7, 16, 30, .96);
  }
  .site-header .brand, .journal .site-header .brand,
  .site-header.is-scrolled .brand {
    width: auto; min-height: 60px; padding: 0; align-self: center;
  }
  .site-header .brand img { width: 142px; max-height: 40px; }
  .has-menu .menu-toggle {
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; gap: 6px; width: 44px; height: 44px;
    padding: 10px; margin-right: -10px; border: 0;
    background: transparent; color: var(--paper); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header .site-nav, .journal .site-header .site-nav, .quotation-page .site-header .site-nav {
    width: 100%; padding: 12px 0 24px; display: flex; flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 0; flex-wrap: nowrap;
  }
  .has-menu .site-nav { display: none !important; }
  .has-menu.menu-open .site-nav { display: flex !important; max-height: calc(100svh - 60px); overflow-y: auto; }
  .site-header .site-nav a, .journal .site-header .site-nav a {
    font-size: 20px; line-height: 1.5; padding: 12px 0;
    font-weight: 500; border-bottom: 1px solid rgba(246, 241, 231, .12);
  }
  .site-nav .nav-separator { display: none; }
  .site-nav a::after { display: none; }
  .hero { padding-top: 64px; padding-bottom: 64px; gap: 40px; min-height: 0; }
  .hero-copy { padding: 0; }
  .hero-art { width: 100%; min-height: 0; margin: 0; }
  .compare-slider { max-width: 800px; }
  .intro, .contact { gap: 40px; }
  .service-grid article { border-bottom: 1px solid var(--gold-line); }
  .service-grid article:nth-child(2n) { border-right: 0; }
  .config-table thead tr:first-child th { top: 60px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.75; }
  .section-dark, .section-light, .quotation-page main > section {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  .intro, .services, .cases, .pricing, .quality, .standard, .faq, .contact {
    padding-top: 64px; padding-bottom: 64px;
  }
  h2 { font-size: clamp(28px, 7.4vw, 40px); line-height: 1.4; text-wrap: balance; }
  .eyebrow { font-size: 11px; line-height: 1.7; letter-spacing: .14em; margin-bottom: 16px; }
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 36px; text-align: center; }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); line-height: 1.25; }
  .hero-subtitle {
    /* Keep all 24 characters on one line, including on 320px phones. */
    font-size: clamp(11px, calc((100vw - 52px) / 24), 17px);
    line-height: 1.8;
    letter-spacing: 0;
    white-space: nowrap;
    max-width: none;
    margin: 24px auto;
  }
  .hero-actions { justify-content: center; gap: 12px; }
  .button { width: auto; min-height: 48px; padding: 10px 20px; font-size: 15px; font-weight: 600; }
  .hero-actions .button { flex: 1 1 140px; max-width: 240px; }
  .hero-tags { flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
  .hero-tags li { flex: 0 1 auto; min-width: 0; font-size: 12px; padding: 6px 10px; white-space: normal; }
  .hero-art { text-align: left; }
  .compare-slider { box-shadow: 0 16px 40px #0003; }
  .compare-handle-grip { width: 44px; height: 44px; }
  .intro { gap: 28px; }
  .intro-copy p { font-size: 16px; line-height: 1.9; font-weight: 400; margin-bottom: 16px; }
  .intro-copy p:last-child { margin-bottom: 0; }
  .intro-features { padding-top: 28px; gap: 24px; }
  .intro-features p { font-size: 16px; line-height: 1.85; }
  .trust-pills { flex-wrap: wrap; gap: 8px; }
  .trust-pills li { flex: 0 1 auto; font-size: 13px; padding: 8px 12px; white-space: normal; }
  .intro-image { height: auto; aspect-ratio: 4 / 3; }
  .section-head { margin-bottom: 32px; }
  .section-head > p { font-size: 16px; font-weight: 400; margin-top: 18px; }
  .service-grid, .price-overview, .quality-grid, .process-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid article { padding: 28px 0; min-height: 0; border-right: 0; }
  .service-grid article:last-child { border-bottom: 0; }
  .service-grid span { margin-bottom: 16px; }
  .service-grid h3, .quality-copy h3 { font-size: 24px; line-height: 1.4; margin-bottom: 14px; }
  .service-grid p, .quality-copy p { font-size: 16px; font-weight: 400; line-height: 1.85; }
  .service-chain { gap: 10px; min-height: 0; margin-top: 28px; font-size: 14px; row-gap: 12px; }
  .service-chain i { width: 16px; flex-shrink: 0; }
  .case-grid { gap: 24px; }
  .case-card, .print-case { padding: 12px; }
  .stacked-compare { grid-template-rows: auto auto; gap: 10px; }
  .stacked-compare figure { aspect-ratio: 4 / 3; }
  .stacked-compare span, .print-compare span { top: 12px; left: 12px; padding: 6px 10px; }
  .case-card h3 { font-size: 21px; line-height: 1.5; margin-top: 20px; }
  .case-card p { font-size: 15px; line-height: 1.8; font-weight: 400; }
  .print-compare { gap: 12px; }
  .print-compare figure { height: auto; aspect-ratio: 3 / 4; padding: 12px; }
  .price-overview .price-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding: 26px; gap: 18px; }
  .price-overview .price { grid-column: auto; grid-row: auto; }
  .price-overview .price-card h3 { font-size: 22px; line-height: 1.4; }
  .price-overview .price strong { font-size: 36px; }
  .price-overview .price-card > p:last-child { font-size: 15px; font-weight: 400; }
  .price-summary { margin-top: 24px; font-size: 16px; }
  .quality-grid article { min-height: 0; }
  .quality-copy { min-height: 0; padding: 28px 24px; }
  .quality-copy span { margin-bottom: 16px; }
  .quality-grid img { height: auto; aspect-ratio: 4 / 3; }
  .process-grid li { padding: 26px 22px; }
  .process-grid p { font-size: 16px; }
  .delivery-specs { padding: 24px 20px; }
  .standard .delivery-specs h3 { font-size: 24px; }
  .standard .delivery-specs dd { font-size: 16px; }
  .faq-grid { gap: 16px; }
  .faq-grid article { padding: 24px 20px; }
  .faq-grid h3 { font-size: 21px; line-height: 1.55; }
  .faq-grid p { font-size: 16px; line-height: 1.85; }
  .contact { gap: 32px; }
  .contact-copy > p:not(.eyebrow) { font-size: 16px; font-weight: 400; margin: 24px 0 28px; }
  .social-qr-panel { padding: 22px 18px; gap: 24px; }
  .qr-panel-copy h3 { font-size: 28px; line-height: 1.4; }
  .qr-panel-copy p { font-size: 15px; }
  .taobao-link { min-height: 44px; font-size: 14px; }
  .qr-card-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .social-qr-card { padding: 24px; gap: 20px; }
  .social-qr-card h3 { font-size: 24px; }
  .social-qr-card p { font-size: 14px; }
  .qr-frame { width: 172px; max-width: 100%; margin-top: 0; }
  .contact-visual { height: auto; aspect-ratio: 4 / 3; }
  .contact-visual figcaption { left: 16px; right: 16px; bottom: 16px; padding: 10px 12px; font-size: 13px; }
  .site-footer { padding: 32px 24px; }
  .site-footer span, .site-footer a { font-size: 12px; line-height: 1.85; }
  .quote-intro { padding-top: 32px; padding-bottom: 40px; }
  .quote-intro h1 { font-size: 34px; }
  .quote-nav { gap: 12px 24px; }
  .quote-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .config-legend { font-size: 13px; gap: 8px 18px; line-height: 1.8; }
  .config-label { width: 34%; }
  .config-table th, .config-table td { padding: 16px 8px; font-size: 14px; line-height: 1.75; }
  .config-table td { padding-inline: 4px; }
  .config-table thead th { font-size: 14px; }
  .config-table thead th:not(:first-child) {
    font-size: clamp(10px, 3.1vw, 14px);
    white-space: nowrap;
    padding-inline: 4px;
  }
  .config-table .mobile-break { display: none; }
  .config-table .config-price th { font-size: 14px; }
  .config-table .config-price td {
    font-size: clamp(11px, 3.4vw, 14px);
    white-space: nowrap;
  }
  .config-price-unit { display: inline; margin: 0 0 0 3px; font-size: inherit; }
  .config-table .optional {
    display: inline-block;
    font-size: clamp(11px, 3.4vw, 13px);
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .configuration-notes { font-size: 14px; }
  .rules-grid article { padding: 26px 20px; }
  .rules-grid p { font-size: 16px; }
  .example-breakdown > div { font-size: 14px; }
  .example-breakdown dd { flex-shrink: 0; }
  .journal-topline { flex-wrap: wrap; gap: 10px; font-size: 10px; }
  .journal-intro { padding: 32px 24px 48px; }
  .intro-line { display: block; margin: 32px 0; }
  .intro-line h1 { font-size: 40px; letter-spacing: 4px; }
  .intro-line > p { font-size: 16px; line-height: 1.85; margin-top: 28px; }
  .intro-line > p br { display: none; }
  .pending-sheet { padding: 36px 20px 24px; }
  .pending-sheet h2 { font-size: 26px; letter-spacing: 0; text-wrap: balance; }
  .pending-description { font-size: 15px; }
  .pending-footnote { font-size: 12px; line-height: 1.8; letter-spacing: 0; }
  .pending-back { min-height: 44px; font-size: 14px; gap: 20px; }
  .journal-footer { flex-direction: column; gap: 12px; font-size: 12px; padding: 28px 24px; }
  .journal-search input { font-size: 16px; }
  .article-prose p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}
