:root {
  --stone: #e8e2d8;
  --paper: #f7f3ed;
  --ink: #1e1d1a;
  --orange: #c65e26;
  --sage: #87927b;
  --white: #ffffff;
  --line: rgba(30, 29, 26, .16);
  --shadow: 0 18px 46px rgba(27, 24, 19, .13);
  --radius: 8px;
  --sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --serif: "Songti SC", SimSun, "Noto Serif SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
figure { margin: 0; position: relative; }

.site-header {
  position: sticky; top: 0; z-index: 20; height: 76px; padding: 0 clamp(22px,4vw,72px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: var(--white); background: rgba(30,29,26,.94); border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 270px; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 4px; background: var(--orange); font-family: var(--serif); font-size: 20px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.brand small { margin-top: 3px; color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .16em; }
.site-header nav { display: flex; gap: clamp(18px,2.8vw,42px); font-size: 13px; color: rgba(255,255,255,.7); }
.site-header nav a { position: relative; padding: 28px 0; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; background: var(--orange); transform: scaleX(0); transition: transform .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { padding: 12px 17px; border-radius: 4px; background: var(--orange); font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.header-cta:hover { transform: translateY(-2px); background: #dc6b2d; }
.mobile-nav { display: none; }

.section-shell { padding: 110px clamp(24px,6vw,96px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #615d55; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { color: var(--orange); font-family: var(--serif); font-size: 28px; letter-spacing: 0; }
.eyebrow.light { color: rgba(255,255,255,.58); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; }
h2 { margin-bottom: 25px; font-size: clamp(36px,4.5vw,68px); line-height: 1.14; }
p { line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: #db6b31; }
.button-secondary { border-color: rgba(255,255,255,.6); color: var(--white); background: rgba(255,255,255,.04); }
.text-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }

.hero { position: relative; min-height: calc(100vh - 76px); overflow: hidden; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media figure, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,18,16,.94) 0%, rgba(19,18,16,.75) 36%, rgba(19,18,16,.08) 70%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 62vw); padding: clamp(84px,11vh,140px) 0 104px clamp(24px,7vw,112px); }
.hero .eyebrow { color: rgba(255,255,255,.58); }
.hero h1 { margin-bottom: 28px; font-size: clamp(50px,6.3vw,96px); line-height: 1.06; }
.hero h1 em { color: var(--stone); font-style: normal; }
.hero-copy { max-width: 600px; margin-bottom: 32px; color: rgba(255,255,255,.7); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; z-index: 3; right: clamp(24px,5vw,80px); bottom: 66px; display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .22em; }

.products { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px 7vw; background: var(--stone); }
.section-intro { align-self: center; max-width: 520px; }
.section-intro > p:not(.eyebrow) { margin-bottom: 28px; color: #6b665d; }
.feature-figure { min-height: 480px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-figure img { height: 100%; object-fit: cover; }
.product-index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-index article { padding: 27px 25px; border-right: 1px solid var(--line); }
.product-index article:last-child { border-right: 0; }
.product-index b, .product-index span, .product-index small { display: block; }
.product-index b { color: var(--orange); font-family: var(--serif); font-size: 18px; }
.product-index span { margin: 17px 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 700; }
.product-index small { color: #777168; }

.portfolio { background: var(--white); }
.split-heading { display: flex; justify-content: space-between; gap: 8vw; align-items: end; margin-bottom: 50px; }
.split-heading > div { flex: 1; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { width: min(420px, 38vw); margin-bottom: 4px; color: #716c63; }
.wide-figure { overflow: hidden; border-radius: var(--radius); }
.wide-figure img { aspect-ratio: 16/8.2; object-fit: cover; }
.framed-figure { padding: 12px; background: #d3cdc3; box-shadow: var(--shadow); }
.framed-figure img { border-radius: 4px; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.portfolio-tags span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 3px; color: #68635c; font-size: 12px; }

.applications { display: grid; grid-template-columns: .85fr 1.35fr; gap: 7vw; color: var(--white); background: var(--ink); }
.application-copy { align-self: center; }
.application-copy > p:not(.eyebrow) { color: rgba(255,255,255,.62); }
.application-note { margin-top: 38px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); }
.application-note span, .application-note strong, .application-note small { display: block; }
.application-note span { color: var(--orange); font-size: 11px; letter-spacing: .12em; }
.application-note strong { margin: 9px 0; font-family: var(--serif); font-size: 24px; }
.application-note small { color: rgba(255,255,255,.48); }
.application-figure { min-height: 600px; overflow: hidden; border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.application-figure img { height: 100%; object-fit: cover; }

.capability { background: var(--paper); }
.capability-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5vw; align-items: stretch; }
.tall-figure { min-height: 620px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.tall-figure img { height: 100%; object-fit: cover; }
.process-list { display: flex; flex-direction: column; justify-content: center; }
.process-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list article:first-child { border-top: 1px solid var(--line); }
.process-list b { color: var(--orange); font-family: var(--serif); font-size: 24px; }
.process-list h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 21px; }
.process-list p { margin: 0; color: #756f66; font-size: 13px; }

.signals { color: var(--white); background: #66725f; }
.signals-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: center; }
.signals-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.record-list { margin-top: 34px; display: grid; gap: 12px; }
.record-list article { padding: 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; }
.record-list span, .record-list strong, .record-list small { display: block; }
.record-list span { color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .14em; }
.record-list strong { margin: 10px 0 7px; font-family: var(--serif); font-size: 20px; }
.record-list small { color: rgba(255,255,255,.65); }
.signal-figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; background: var(--white); }
.about-figure { min-height: 620px; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.about-figure img { height: 100%; object-fit: cover; }
.about-copy .lead { font-family: var(--serif); font-size: 20px; line-height: 1.7; }
.about-copy > p:not(.eyebrow):not(.lead) { color: #716c63; }
.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: #79736a; font-size: 12px; }
.facts dd { margin: 0; font-size: 13px; font-weight: 700; }

.contact { padding-bottom: 0; color: var(--white); background: var(--ink); }
.contact-panel { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3vw; min-height: 620px; overflow: hidden; border-radius: 8px; background: #2c2a25; }
.contact-copy { z-index: 2; padding: 65px 0 170px 65px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.64); }
.contact-figure { min-height: 620px; }
.contact-figure img { height: 100%; object-fit: cover; opacity: .76; }
.contact-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2c2a25 0%, transparent 68%); }
.contact-fields { position: absolute; z-index: 3; left: 65px; right: 65px; bottom: 40px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: rgba(24,23,20,.9); }
.contact-fields div { padding: 18px; border-right: 1px solid rgba(255,255,255,.13); }
.contact-fields div:last-child { border-right: 0; }
.contact-fields span, .contact-fields strong { display: block; }
.contact-fields span { margin-bottom: 8px; color: rgba(255,255,255,.48); font-size: 10px; }
.contact-fields strong { font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0; color: rgba(255,255,255,.48); font-size: 11px; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .header-cta { display: none; }
  .brand { min-width: 0; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary {
    display: grid;
    min-width: 72px;
    min-height: 44px;
    place-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav > div {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(310px, calc(100vw - 24px));
    border: 1px solid rgba(255,255,255,.2);
    background: var(--ink);
  }
  .mobile-nav a { display: block; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 13px; }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--white); background: var(--orange); }
  .mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--ink); background: var(--white); }
  .products, .applications, .signals-grid, .about { grid-template-columns: 1fr; }
  .hero-content { width: min(760px, 90vw); }
  .product-index { grid-template-columns: repeat(2,1fr); }
  .product-index article:nth-child(2) { border-right: 0; }
  .product-index article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading { display: block; }
  .split-heading > p { width: auto; margin-top: 22px; }
  .capability-layout { grid-template-columns: 1fr; }
  .process-list { display: grid; grid-template-columns: 1fr 1fr; }
  .process-list article:nth-child(2) { border-top: 1px solid var(--line); }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-copy { padding-right: 50px; }
  .contact-figure { position: absolute; inset: 0; }
  .contact-fields { grid-template-columns: repeat(2,1fr); }
  .contact-fields div:nth-child(2) { border-right: 0; }
  .contact-fields div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 16px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 12px; }
  .brand small { display: none; }
  .mobile-nav summary { min-width: 64px; min-height: 40px; padding: 0 12px; }
  .section-shell { padding: 78px 20px; }
  .hero { min-height: 760px; }
  .hero-media img { object-position: 63% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(19,18,16,.93) 0%, rgba(19,18,16,.7) 56%, rgba(19,18,16,.82) 100%); }
  .hero-content { width: auto; padding: 78px 20px 130px; }
  .hero h1 { font-size: 46px; }
  .hero-copy { font-size: 14px; }
  .scroll-cue { right: 20px; }
  h2 { font-size: 38px; }
  .products { gap: 38px; }
  .feature-figure { min-height: 350px; }
  .product-index article { padding: 20px 14px; }
  .product-index span { font-size: 17px; }
  .wide-figure img { aspect-ratio: 1/1.05; }
  .portfolio-tags { gap: 7px; }
  .applications { padding-top: 86px; }
  .application-figure, .tall-figure, .about-figure { min-height: 430px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list article:nth-child(2) { border-top: 0; }
  .signals-grid { gap: 42px; }
  .about { gap: 50px; }
  .facts div { grid-template-columns: 100px 1fr; }
  .contact { padding-bottom: 0; }
  .contact-panel { min-height: 780px; }
  .contact-copy { padding: 52px 24px 340px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-fields { left: 18px; right: 18px; bottom: 22px; grid-template-columns: 1fr; }
  .contact-fields div { padding: 13px 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .contact-fields div:last-child { border-bottom: 0; }
  .contact-figure::after { background: linear-gradient(180deg, #2c2a25 0%, rgba(44,42,37,.35) 60%, #2c2a25 100%); }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
