:root {
  --ink: #141414;
  --muted: #65645f;
  --paper: #faf9f7;
  --white: #ffffff;
  --line: #dedbd4;
  --teal: #0f6b63;
  --teal-dark: #0a4d48;
  --gold: #c9a227;
  --warm: #f3efe7;
  --dark: #16211f;
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.18; font-weight: 650; }
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.25rem; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; padding: 10px 16px; color: var(--white); background: var(--teal); }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 1rem; color: var(--teal); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.text-link { display: inline-flex; gap: .45rem; align-items: center; color: var(--teal); font-weight: 700; }
.button { display: inline-flex; min-height: 48px; padding: 0 1.35rem; align-items: center; justify-content: center; border: 1px solid var(--teal); border-radius: var(--radius); color: var(--white); background: var(--teal); font-weight: 700; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button-small { min-height: 40px; padding-inline: 1rem; }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(250, 249, 247, .94); backdrop-filter: blur(16px); }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; min-height: 78px; gap: 2rem; align-items: center; }
.brand { display: inline-flex; gap: .75rem; align-items: center; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: var(--radius); color: var(--white); background: var(--teal); font-size: 1.25rem; font-weight: 800; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.08rem; }
.brand-copy small { margin-top: .3rem; color: var(--muted); font-size: .56rem; letter-spacing: .08em; }
.primary-nav ul { display: flex; gap: 1.6rem; align-items: center; justify-content: center; }
.primary-nav a { color: #373732; font-size: .94rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--teal); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; gap: 5rem; align-items: center; padding-block: 5rem; }
.hero-copy h1 { max-width: 780px; margin-bottom: 1.5rem; }
.hero-lead { max-width: 620px; color: var(--muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin: 2rem 0 3.25rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.hero-facts div { padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: .78rem; }
.hero-facts dd { margin: .35rem 0 0; font-size: .94rem; font-weight: 700; }
.hero-visual { position: relative; }
.visual-frame { overflow: hidden; border: 1px solid #cac6be; border-radius: var(--radius); background: #e8e5df; box-shadow: 0 24px 60px rgba(20, 20, 20, .14); aspect-ratio: 4 / 3; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.visual-note { position: absolute; right: -24px; bottom: 32px; display: grid; width: min(280px, 72%); padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--dark); color: var(--white); box-shadow: 0 18px 40px rgba(20, 20, 20, .18); }
.visual-note span { margin-top: .35rem; color: #c7d0ce; font-size: .8rem; }

.section-clean, .section-warm, .section-dark { padding-block: 7rem; }
.section-clean { background: var(--white); }
.section-warm { background: var(--warm); }
.section-dark { color: var(--white); background: var(--dark); }
.section-dark .eyebrow { color: #8fd3cb; }
.section-heading { display: grid; grid-template-columns: 1.5fr .7fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.product-card { position: relative; min-height: 300px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.product-card:hover { border-color: #9bbcb6; }
.card-index { display: block; margin-bottom: 3rem; color: var(--gold); font-size: .78rem; font-weight: 800; }
.product-card h3 { margin-bottom: .75rem; font-size: 1.55rem; }
.product-card p { max-width: 470px; color: var(--muted); }
.card-image { width: calc(100% + 4rem); max-width: none; height: 190px; margin: -2rem -2rem 1.6rem; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.feature-list { display: grid; gap: 1px; background: rgba(255, 255, 255, .16); }
.feature-list > div { display: grid; grid-template-columns: 70px 1fr; padding: 1.5rem; background: var(--dark); }
.feature-list span { color: #8fd3cb; font-size: .78rem; font-weight: 800; }
.feature-list h3, .feature-list p { grid-column: 2; }
.feature-list h3 { margin-bottom: .5rem; }
.feature-list p { margin-bottom: 0; color: #c7d0ce; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d6cfc0; border-left: 1px solid #d6cfc0; }
.industry-item { display: flex; min-height: 110px; gap: .8rem; align-items: center; padding: 1.25rem; border-right: 1px solid #d6cfc0; border-bottom: 1px solid #d6cfc0; }
.industry-item span { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; }
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-list article { min-height: 260px; padding: 2rem; background: var(--white); }
.case-list article > span { color: var(--gold); font-size: .76rem; font-weight: 800; }
.case-list h3 { margin-top: 4rem; }
.case-list p { color: var(--muted); }
.contact-band { padding-block: 5rem; color: var(--white); background: var(--teal); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.contact-band .eyebrow { color: #d4efeb; }
.contact-band h2 { max-width: 780px; }
.contact-band p { max-width: 720px; color: #d4efeb; }
.contact-actions { display: flex; gap: 1rem; align-items: center; }
.contact-qr { width: 112px; height: 112px; padding: 6px; background: var(--white); object-fit: contain; }

.page-header { padding: 5rem 0 4rem; border-bottom: 1px solid var(--line); background: var(--warm); }
.page-header h1 { max-width: 880px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-intro { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.breadcrumbs { display: flex; gap: .5rem; margin-bottom: 2rem; color: var(--muted); font-size: .78rem; }
.entry-content { padding-block: 4.5rem 7rem; }
.entry-content > * { max-width: 820px; }
.entry-content h2 { margin-top: 3rem; font-size: 2rem; }
.entry-content h3 { margin-top: 2rem; font-size: 1.35rem; }
.entry-content img { margin-block: 2rem; border-radius: var(--radius); }
.entry-content blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--gold); background: var(--warm); }
.article-cover { margin-top: 3rem; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.archive-grid { padding-block: 5rem 7rem; }
.content-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.content-card img { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 1.5rem; aspect-ratio: 3 / 2; object-fit: cover; }
.content-card h2 { font-size: 1.35rem; }
.content-card p { color: var(--muted); }
.card-meta { color: var(--muted); font-size: .78rem; }
.pagination { padding-bottom: 5rem; }
.product-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 5rem; }
.feature-panel { align-self: start; margin-top: 4.5rem; padding: 1.75rem; border: 1px solid var(--line); background: var(--warm); }
.feature-panel h2 { font-size: 1.25rem; }
.feature-panel li { padding: 1rem 0; border-top: 1px solid #d7d0c3; }
.error-page { padding: 8rem 0; text-align: center; }
.error-code { color: var(--gold); font-size: .85rem; font-weight: 800; }
.error-actions { display: grid; max-width: 520px; margin: 2rem auto 0; gap: 1rem; }

.site-footer { padding-top: 5rem; color: #d8dfdd; background: #101817; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; padding-bottom: 4rem; }
.site-footer h2 { margin-bottom: 1rem; color: var(--white); font-size: .88rem; }
.site-footer p, .site-footer a { color: #aeb9b6; font-size: .88rem; }
.site-footer a:hover { color: var(--white); }
.site-footer li { margin-bottom: .65rem; }
.footer-brand .brand-copy strong { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); color: #84908d; font-size: .78rem; }

@media (max-width: 1024px) {
  .hero-grid, .split-grid, .section-heading, .product-content-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 3rem; }
  .visual-note { right: 16px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .case-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { margin-top: 0; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 68px 0 0; display: none; padding: 2rem 1.5rem; background: var(--paper); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 0; align-items: stretch; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .header-cta { display: none; }
  .hero-grid { padding-block: 3.5rem; }
  .hero-facts, .card-grid, .industry-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 0; }
  .hero-facts div { padding: 1rem 0; }
  .section-clean, .section-warm, .section-dark { padding-block: 4.5rem; }
  .section-heading { gap: 1rem; margin-bottom: 2.5rem; }
  .product-card { min-height: auto; }
  .card-index { margin-bottom: 1.5rem; }
  .case-list h3 { margin-top: 2rem; }
  .contact-actions { flex-wrap: wrap; }
  .page-header { padding: 3.5rem 0 3rem; }
  .entry-content { padding-block: 3rem 5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: .5rem; }
}

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