/* ═══════════════════════════════════════════════
   Homepage design comparison — white / navy, product-first
   Linked ONLY from index.html. Loads after styles.css,
   so these rules override it on the homepage alone —
   every other page keeps the original theme untouched.
   Based on reference-source.html (ChatGPT/Claude shared set,
   2026-10-07). Comparison candidate only, not a final decision.
   ═══════════════════════════════════════════════ */

:root {
  /* palette from the reference brief */
  --accent: #203968;
  --accent-hover: #15284c;
  --accent-light: #eaf0f8;
  --accent-muted: rgba(32, 57, 104, 0.12);
  --ink: #24344b;
  --ink-muted: #667386;
  --border: #dce3ec;
  --border-soft: #dce3ec;
  --surface-2: #f2f5f9;
  --divider: #dce3ec;
}

/* Plain gothic headings, restrained size — not the large serif look.
   !important because many page-specific heading classes (.sp-section-title,
   .sp-cta-title, .guide-hero-title, etc.) set font-family: var(--serif)
   directly on a class selector, which otherwise outranks this element
   selector regardless of stylesheet order. */
h1, h2, h3 { font-family: var(--sans) !important; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--accent); margin-bottom: 14px; }
.section-desc { color: var(--ink-muted); }
.section { border-top: 1px solid var(--divider); }
.section:first-of-type { border-top: none; }

.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.footer { background: var(--accent); }

/* No mid-word/mid-phrase line breaks for headings, nav, and buttons —
   this is where a break mid-word looks worst and the text is short
   enough that there's always room for it somewhere. Deliberately NOT
   applied to flowing body paragraphs: Japanese has no spaces for
   keep-all to break at, so forcing it on a long sentence risked the
   whole thing overflowing its container instead of just wrapping. */
.nav-header, .mobile-menu, main, .footer {
  word-break: keep-all;
  overflow-wrap: break-word;
}
main p, .footer p,
.product-card-desc, .sp-delivery-desc, .sp-option-desc, .sp-usecase-desc {
  word-break: normal;
}

/* Reserve the fixed 72px header so hero/sub-hero labels aren't hidden under it */
.hero-v2 { background: #fff; padding: calc(var(--nav-h) + 40px) 0 48px; }
.hero-v2-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}
.hero-v2-eyebrow { color: var(--ink-muted); font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 700; }
.hero-v2-title {
  color: var(--accent);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.35;
  margin: 12px 0 18px;
}
.hero-v2-lead { font-size: 0.95rem; color: var(--ink); line-height: 1.85; max-width: 480px; }
.hero-v2-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-v2-trust { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-v2-trust span { font-size: 0.8rem; color: var(--accent); font-weight: 500; }
.hero-v2-photo { margin: 0; position: relative; background: var(--surface-2); border-radius: 4px; }
.hero-v2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 4px; }
.hero-v2-photo figcaption {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; background: rgba(255,255,255,0.95); color: var(--ink-muted);
  font-size: 0.7rem; border-radius: 2px;
}

/* ═══ SECTION HEADER (new, compact — products / design note / use cases) ═══ */
.section-header-v2 { margin-bottom: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-header-v2 h2 { color: var(--accent); font-size: clamp(1.3rem, 2.2vw, 1.5rem); }
.section-header-v2 .pp-note { font-size: 0.78rem; color: var(--ink-muted); }

/* ═══ PRODUCT PICK GRID — 3 cols × 2 rows on desktop, 2 cols on mobile ═══ */
.products-pick { background: #fff; padding: 48px 0; }
.pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.pp-card {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; transition: border-color 0.2s;
}
.pp-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pp-visual {
  display: flex; width: 100%; aspect-ratio: 1.15; justify-content: center; align-items: center;
  background: var(--surface-2); overflow: hidden; position: relative;
}
.pp-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp-copy { display: block; padding: 10px 10px 12px; }
.pp-title { display: block; font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.pp-use { display: block; font-size: 0.72rem; color: var(--ink-muted); margin-top: 3px; line-height: 1.4; }

/* illustrated mini mocks (no photo available) */
.pp-paper { background: #fff; box-shadow: 2px 5px 9px rgba(32,57,104,0.15); position: relative; padding: 8px; }
.pp-flyer-back { position: absolute; width: 62%; height: 78%; background: var(--surface-2); transform: rotate(8deg); }
.pp-flyer { width: 58%; height: 77%; transform: rotate(-8deg); }
.pp-flyer-band { display: block; height: 36%; background: var(--accent); margin-bottom: 6px; }
.pp-paper-name { font-size: 0.6rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.pp-paper-line { display: block; background: #d1d9e5; height: 3px; margin-top: 5px; width: 85%; }
.pp-paper-line.short { width: 52%; }
.pp-poster { width: 58%; height: 82%; transform: rotate(5deg); background: var(--accent); padding: 10px; }
.pp-poster-label { color: #fff; font-size: 0.56rem; letter-spacing: 1px; }
.pp-poster-block { display: block; width: 80%; height: 24%; background: #809cc4; margin-top: 6px; }
.pp-poster-rule { display: block; width: 64%; height: 3px; background: #d4e0f0; margin-top: 8px; }
.pp-shop-back { position: absolute; width: 68%; height: 38%; background: var(--accent); transform: translate(5px,-10px) rotate(8deg); box-shadow: 2px 5px 9px rgba(32,57,104,0.15); }
.pp-shop { width: 69%; height: 40%; transform: translate(-3px,11px) rotate(-7deg); padding: 9px; }
.pp-shop-name { font-family: Georgia, serif; font-size: 0.72rem; letter-spacing: 1px; color: var(--accent); }
.pp-menu { width: 56%; height: 84%; transform: rotate(-3deg); padding: 9px 10px; }
.pp-menu-band { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; color: #fff; background: var(--accent); padding: 4px 0; text-align: center; margin-bottom: 8px; }

.pp-disclaimer { margin-top: 14px; font-size: 0.72rem; color: var(--ink-muted); }
.pp-more { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; font-size: 0.78rem; color: var(--ink-muted); }
.pp-more a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }

/* ═══ DATA / DESIGN / TRANSLATION / DELIVERY CONSULT ═══ */
.consult-note { background: var(--surface-2); padding: 48px 0; }
.consult-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
.consult-item { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 18px; }
.consult-item h4 { font-size: 0.92rem; color: var(--accent); margin-bottom: 8px; }
.consult-item p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* legacy band kept for the links row at the bottom of .consult-note */
.design-note-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.design-note-inner h2 { font-size: 1.2rem; color: var(--accent); margin-bottom: 6px; }
.design-note-inner p { font-size: 0.85rem; color: var(--ink-muted); max-width: 520px; line-height: 1.7; }
.design-note-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ USE-CASE CARDS (replaces old dark quote-cta banner) ═══ */
.usecases { background: #fff; padding: 48px 0; }
.usecase-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.usecase-card {
  display: block; padding: 22px 20px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 4px; transition: border-color 0.2s;
}
.usecase-card:hover { border-color: var(--accent); }
.usecase-eyebrow { display: block; font-size: 0.66rem; letter-spacing: 0.14em; font-weight: 700; color: var(--ink-muted); margin-bottom: 8px; }
.usecase-card h3 { font-size: 1.02rem; color: var(--accent); margin-bottom: 8px; }
.usecase-card p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 12px; }
.usecase-link { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.usecase-links { display: flex; flex-direction: column; gap: 6px; }

/* ═══ ABOUT TEASER (trimmed — full story moved to company.html) ═══ */
.about-teaser { background: var(--surface-2); padding: 44px 0; }
.about-teaser-inner { max-width: 640px; }
.about-teaser-inner h2 { font-size: 1.3rem; color: var(--accent); margin-bottom: 10px; }
.about-teaser-inner p { font-size: 0.9rem; color: var(--ink); line-height: 1.8; margin-bottom: 14px; }

/* ═══ Final consult band (#quote) — was dark, now white to match ═══ */
.quote-cta-section { background: var(--surface-2); }
.quote-cta-section::before { display: none; }
.qcs-title { color: var(--accent); }
.qcs-desc { color: var(--ink-muted); }
.qcs-chip { background: #fff; border-color: var(--border); color: var(--accent); }
.qcs-chip:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent-hover); }
.qcs-or { color: var(--ink-muted); }
.qcs-alt-link { color: var(--accent); }
.qcs-alt-link:hover, .qcs-alt-link:focus-visible { color: var(--accent-hover); }
.qcs-direct-link { color: var(--ink-muted); }
.qcs-direct-link:hover { color: var(--ink); }
.qcs-trust span { color: var(--ink-muted); }
.qcs-btn:hover { box-shadow: 0 12px 32px rgba(32,57,104,0.35); }

/* ═══ Corrections to sections missed in the earlier pass — these were
   still dark (var(--dark)) under the navy/white theme on index.html ═══ */
.why { background: #fff; }
.why::before { display: none; }
.why-left .section-label { background: var(--accent-light); border-color: var(--border); }
.why-left .section-title { color: var(--accent); }
.why-left .section-desc { color: var(--ink-muted); }
.why-stat-row { border-top: 1px solid var(--divider); }
.stat-num { color: var(--accent); }
.stat-label { color: var(--ink-muted); }
.why-feature { border-bottom: 1px solid var(--divider); }
.why-feature:first-child { border-top: 1px solid var(--divider); }
.feature-body h4 { color: var(--ink); }
.feature-body p { color: var(--ink-muted); }

.contact-cta-card { background: var(--surface-2); border: 1px solid var(--border); }
.contact-cta-card::before { display: none; }
.contact-cta-card h3 { color: var(--accent); }
.contact-cta-card p { color: var(--ink-muted); }
.contact-cta-card .btn-primary:hover { box-shadow: 0 12px 40px rgba(32,57,104,0.35); }
.contact-cta-trust { color: var(--ink-muted); }
.cqf-divider { color: var(--ink-muted); }
.cqf-divider::before, .cqf-divider::after { background: var(--border); }
.cqf-field input, .cqf-field textarea { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.cqf-field input::placeholder, .cqf-field textarea::placeholder { color: var(--ink-faint); }
.cqf-field input:focus, .cqf-field textarea:focus { border-color: var(--accent); background: #fff; }
.cqf-submit { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.cqf-submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.service-card-feature:hover { box-shadow: 0 20px 64px rgba(32,57,104,0.18); }

/* ═══ Header CTA buttons — match the primary navy button everywhere ═══ */
.nav-links .nav-cta { background: var(--accent); }
.nav-links .nav-cta:hover { background: var(--accent-hover); }
.mobile-cta { background: var(--accent); }
.mobile-cta:hover { background: var(--accent-hover); }

/* ═══ Product mega menu — white background, navy text, pale selection
   (was a dark panel with white-on-dark text on every page) ═══ */
.nav-dropdown-menu { background: #fff; border: 1px solid var(--border); box-shadow: 0 28px 72px rgba(32,57,104,0.18); }
.ndm-cat-list { border-right: 1px solid var(--border); }
.ndm-cat-link { color: var(--ink-muted); }
.ndm-arrow { color: var(--ink-faint); }
.ndm-cat-item.active .ndm-cat-link { background: var(--accent-light); color: var(--accent); }
.ndm-cat-link:hover { background: var(--surface-2); color: var(--ink); }
.ndm-prod-item:hover { background: var(--accent-light); }
.ndm-item-name { color: var(--ink); }
.ndm-item-desc { color: var(--ink-muted); }
.ndm-footer { border-top: 1px solid var(--border); }

/* ═══ Products mega menu — "Browse by Product" / "Browse by Use Case" tabs.
   Use case tab reuses .ndm-item-name/.ndm-item-desc (already styled above)
   so colors stay consistent with the product panels. ═══ */
.ndm-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--border); }
.ndm-tab {
  appearance: none; background: none; border: none; cursor: pointer;
  padding: 8px 10px; margin-bottom: -1px;
  font-size: 0.78rem; font-weight: 600; font-family: var(--sans);
  color: var(--ink-muted); border-bottom: 2px solid transparent;
}
.ndm-tab:hover { color: var(--ink); }
.ndm-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.ndm-view { display: none; }
.ndm-view.active { display: block; }
.ndm-usecols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.ndm-use-item {
  display: block; padding: 14px; border: 1px solid var(--border); border-radius: 10px;
  text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.ndm-use-item:hover { border-color: var(--accent); background: var(--accent-light); }
.ndm-use-item .ndm-item-name { font-size: 0.86rem; font-weight: 600; margin-bottom: 4px; }
.ndm-use-item .ndm-item-desc { font-size: 0.74rem; line-height: 1.4; }

/* ═══ Guide dropdown — a simple flat link list, narrower than the mega menu ═══ */
.nav-dropdown-menu.ndm-simple { width: min(92vw, 250px); padding: 8px; }
.ndm-simple-link {
  display: block; padding: 10px 12px; border-radius: 7px; text-decoration: none;
  font-size: 0.84rem; font-weight: 500; color: var(--ink); transition: background 0.13s, color 0.13s;
}
.ndm-simple-link:hover { background: var(--surface-2); color: var(--accent); }

/* ═══ Mobile — a distinct use-case group, with one full-width link per row ═══ */
.mob-subheading {
  display: block;
  padding: 0 0 6px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.mob-usecases {
  display: flex; flex-direction: column; gap: 0;
  margin: 8px 0; padding: 12px;
  background: var(--surface-2); border-radius: 6px;
}
.mob-usecases .mobile-link {
  display: flex; align-items: center;
  width: 100%; min-height: 44px; padding: 10px 0;
  font-size: 0.88rem; line-height: 1.5;
}
.mob-usecases .mobile-link:last-child { border-bottom: none; }
.mobile-menu > .mobile-cta { margin-top: 0; }
.mobile-menu > .mobile-link:not(.mobile-cta),
.mobile-menu .mob-services-trigger { min-height: 52px; }

/* Native category accordions keep the mobile product list compact. */
.mobile-menu details.mob-cat-group { border-bottom: 1px solid var(--border-soft); }
.mobile-menu details.mob-cat-group > summary.mob-cat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 0;
  font-size: 0.9rem; font-weight: 500; line-height: 1.5;
  letter-spacing: 0; text-transform: none; list-style: none;
  color: var(--ink); cursor: pointer;
}
.mobile-menu summary.mob-cat-head::-webkit-details-marker { display: none; }
.mobile-menu summary.mob-cat-head svg { flex-shrink: 0; color: var(--ink-muted); }
.mobile-menu details.mob-cat-group[open] > summary.mob-cat-head { color: var(--accent); }
.mobile-menu details.mob-cat-group[open] > summary.mob-cat-head svg { transform: rotate(180deg); }
.mobile-menu .mob-cat-prods a { min-height: 44px; padding: 10px 0 10px 14px; }
.mobile-menu .mob-cat-prods a.mob-cat-overview { font-size: 0.78rem; color: var(--accent); }

/* ═══ Mobile menu — the full accordion content (Products: 8 categories;
   Guide: 4 links) is taller than the viewport on most phones. Constrain
   it to the space below the fixed header and let it scroll internally,
   instead of overflowing past the bottom of the screen unreachable. ═══ */
.mobile-menu {
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ═══ Service pages (9 pages) — same white/navy hero & CTA as the homepage.
   Product specs, sizes, paper/finish options, and spec-selection logic
   are unchanged; only colors/typography are touched here. ═══ */
.sp-hero { background: #fff; }
.sp-hero::before { display: none; }
.sp-hero-orb { background: radial-gradient(circle, rgba(32,57,104,0.14) 0%, transparent 70%); }
.sp-hero-visual { background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%); border: 1px solid var(--border); }
.sp-hero-visual img { object-fit: contain; }
.sp-hero-photo-label {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; background: rgba(255,255,255,0.95); color: var(--ink-muted);
  font-size: 0.7rem; border-radius: 2px;
}
/* All 9 service pages with a .sp-hero now carry an extra .sp-hero-photo
   class on .sp-hero-visual so their product photo stays visible on
   mobile. styles.css hides the base .sp-hero-visual below 600px (it was
   tuned for the old decorative SVG illustrations, now fully replaced by
   AI product photos on every one of these pages). Source order already
   places .sp-hero-content (copy + buttons) before .sp-hero-visual, so
   this just re-shows the image after them in the stacked mobile layout. */
@media (max-width: 600px) {
  .sp-hero-photo {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
  }
}
.sp-hero h1 { color: var(--accent); }
.sp-hero-sub { color: var(--ink-muted); }
.sp-size-card:hover { box-shadow: 0 4px 20px rgba(32,57,104,0.12); }
.sp-size-visual::after { border: 1px solid rgba(32,57,104,0.18); }
.sp-option-card:hover { border-color: rgba(32,57,104,0.35); }

/* Same-category sibling products (Letterheads, Folded Menus, etc.) —
   kept with their full existing description/anchor, just given a
   lighter footprint than a full .section (was 120px top+bottom). */
.sp-sub { padding: 44px 0; }
.sp-sub-name { font-size: 1.3rem; }

/* Small product thumbnail beside each sibling product's text — a
   compact image, not a repeated large hero, per product. */
.sp-sub-grid { display: grid; grid-template-columns: 1fr 160px; gap: 24px; align-items: start; }
.sp-sub-visual {
  width: 160px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden;
  background: var(--surface-2); margin-top: 4px;
}
.sp-sub-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 620px) {
  .sp-sub-grid { grid-template-columns: 1fr; }
  .sp-sub-visual { width: 140px; margin: 0 0 16px; }
}

.sp-cta-section { background: var(--surface-2); }
.sp-cta-section::before { display: none; }
.sp-cta-orb { background: radial-gradient(circle, rgba(32,57,104,0.16) 0%, transparent 70%); }
.sp-cta-title { color: var(--accent); }
.sp-cta-desc { color: var(--ink-muted); }
.sp-cta-trust { color: var(--ink-muted); }

/* ═══ quote.html — hero band (embedded in that page's own <style>; this
   file loads after it, so these win at equal specificity). Step wizard,
   product grid, spec fields, and submission logic are unchanged. ═══ */
.quote-hero { background: #fff; }
.quote-hero::before { display: none; }
.quote-hero-orb { background: radial-gradient(circle, rgba(32,57,104,0.14) 0%, transparent 70%); }
.quote-hero h1 { color: var(--accent); }
.quote-hero p { color: var(--ink-muted); }

/* On phones, keep the quote introduction short so product selection starts sooner. */
@media (max-width: 620px) {
  .quote-hero { padding: 20px; text-align: left; }
  .quote-eyebrow { display: none; }
  .quote-hero h1 { font-size: 1.35rem; line-height: 1.35; margin-bottom: 8px; }
  .quote-hero h1 em { font-style: normal; }
  .quote-hero p { font-size: 0.84rem; line-height: 1.6; }
  .quote-body { padding: 20px 20px 60px; }
  .quote-body .qstep-title { font-size: 1.2rem; }
  .quote-body .qstep-sub { margin-bottom: 8px; }
  .quote-body .qstep-sub + .qstep-img-note {
    margin: 0 0 14px; color: var(--ink-muted); line-height: 1.55;
  }
  .quote-body .cat-filter-row { margin-bottom: 18px; }
}

/* ═══ print-guide.html ═══ */
.guide-hero { background: #fff; }
.guide-hero::before { display: none; }
.guide-hero-orb { background: radial-gradient(circle, rgba(32,57,104,0.14) 0%, transparent 70%); }
.guide-hero-label { border-color: var(--border); background: var(--accent-light); }
.guide-hero-title { color: var(--accent); }
.guide-hero-desc { color: var(--ink-muted); }
.guide-checklist-bar { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.guide-check-item { color: var(--ink); border-right: 1px solid var(--border); }
@media (max-width: 768px) { .guide-check-item { border-bottom: 1px solid var(--border); } }
.guide-format-chip.preferred { background: var(--accent-light); border-color: var(--accent); }
.guide-check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 9l3 3 6-6' stroke='%23203968' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.guide-mistake-list li::before { color: var(--accent); }
.guide-cta-section { background: var(--surface-2); }
.guide-cta-section::before { display: none; }
.guide-cta-inner h2 { color: var(--accent); }
.guide-cta-inner p { color: var(--ink-muted); }

/* ═══ guide.html — jump links to the 4 sections, under the hero ═══ */
.guide-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0 24px 56px; }
.guide-jump a {
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 20px;
  text-decoration: none; font-size: 0.8rem; font-weight: 600; color: var(--ink-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.guide-jump a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ═══ Company / Exhibition sub-pages — same hero rhythm as the homepage ═══ */
.sub-hero { background: #fff; padding: calc(var(--nav-h) + 40px) 0 48px; }
.sub-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}
.sub-hero .section-label { margin-bottom: 14px; }
.sub-hero h1 { color: var(--accent); font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.35; margin-bottom: 14px; }
.sub-hero p { font-size: 0.95rem; color: var(--ink-muted); max-width: 480px; line-height: 1.85; }
.sub-hero-actions { margin-top: 24px; }
.sub-hero-photo { margin: 0; position: relative; background: var(--surface-2); border-radius: 4px; }
.sub-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 4px; }
.sub-hero-photo figcaption {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; background: rgba(255,255,255,0.95); color: var(--ink-muted);
  font-size: 0.7rem; border-radius: 2px;
}

.company-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 28px 0; }
.company-fact { padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; text-align: center; }
.company-fact strong { display: block; font-size: 1.4rem; color: var(--accent); font-family: var(--sans); }
.company-fact span { display: block; font-size: 0.74rem; color: var(--ink-muted); margin-top: 4px; }

.company-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 40px; margin-top: 8px; }
.company-info-grid dt { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.company-info-grid dd { font-size: 0.92rem; color: var(--ink); margin: 0 0 18px; }
.company-info-grid dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.exh-products { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.exh-products a { padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.8rem; color: var(--accent); background: #fff; }
.exh-products a:hover { border-color: var(--accent); background: var(--accent-light); }

.exh-note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 16px 18px; font-size: 0.82rem; color: var(--ink-muted); line-height: 1.75; margin: 20px 0; }
.exh-note strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 0.88rem; }
.exh-note p { margin: 0 0 12px; }
.exh-note .btn { font-size: 0.8rem; padding: 10px 18px; }

@media (max-width: 768px) {
  .company-facts { grid-template-columns: 1fr; }
  .company-info-grid { grid-template-columns: 1fr; }
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .usecase-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .consult-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  /* Text + consult button stay before the photo on mobile — DOM order already
     puts copy first, so no `order` override here (previous draft wrongly
     flipped the photo to the top on small screens). */
  .hero-v2-inner, .sub-hero-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .usecase-grid { grid-template-columns: 1fr; }
  .design-note-inner { flex-direction: column; align-items: flex-start; }
  .consult-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .hero-v2, .sub-hero { padding: calc(var(--nav-h) + 24px) 0 32px; }
  .hero-v2-title, .sub-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  /* Keep the stats bar a compact 2x2 grid instead of 4 stacked rows,
     so the product grid below isn't pushed far down the page. */
  .stat-bar-item {
    flex: 1 1 50% !important;
    border-bottom: 1px solid var(--border);
    padding: 16px 10px !important;
  }
  .stat-bar-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ═══ contact.html — short intro + consult form, reached from the
   unified "Quote & Consult" nav CTA, homepage "Ask a Question First",
   and other general inquiry links sitewide. Product-specific "Get a
   Quote" buttons still go straight to quote.html?product=... ═══ */
.contact-page-hero { background: #fff; padding: calc(var(--nav-h) + 48px) 0 36px; text-align: center; }
.contact-page-hero h1 { color: var(--accent); font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 10px 0 14px; line-height: 1.3; }
.contact-page-hero p { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; max-width: 560px; margin: 0 auto; }
.contact-page-section { background: var(--surface-2); padding: 8px 0 64px; }
.contact-page-inner {
  max-width: 620px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 36px;
}
.contact-page-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 20px; font-size: 0.78rem; color: var(--ink-faint);
}
.contact-page-divider::before, .contact-page-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.contact-page-alt { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.contact-page-alt .btn { flex: 1 1 auto; justify-content: center; }
.contact-page-quote-link { text-align: center; margin-top: 24px; font-size: 0.86rem; color: var(--ink-muted); }
.contact-page-quote-link a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
/* Reuses .form-success's heading/paragraph sizing from styles.css, but
   sits flush inside .contact-page-inner (already a bordered white
   card) instead of nesting another bordered/grey box inside it. */
.contact-success { background: transparent; border: none; padding: 24px 0 4px; }
.contact-success .btn { margin-top: 8px; display: inline-flex; }
@media (max-width: 600px) {
  .contact-page-inner { padding: 24px 20px; }
  .contact-page-alt .btn { flex: 1 1 100%; }
}
