@font-face {
  font-family: "Cal Sans";
  src: url("/assets/fonts/cal-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1e2b33;
  --muted: #535e63;
  --paper: #faf9f6;
  --surface: #f1efe9;
  --line: #d8d7d0;
  --border: #aaa9a1;
  --accent: #894630;
  --action: #25323a;
  --action-hover: #3a4a53;
  --radius: 6px;
  --body: Geist, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --heading: "Cal Sans", Geist, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 600 1em/1.12 var(--heading); letter-spacing: -.015em; word-spacing: .085em; }
p { line-height: 1.65; }
strong { font-weight: 650; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(calc(100% - 104px), 1280px); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; transform: translateY(-160%); padding: 1rem; background: white; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; min-height: 73px; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px/1 var(--heading); letter-spacing: -.015em; word-spacing: .06em; white-space: nowrap; }
.mark { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; place-content: center; width: 30px; height: 30px; border-radius: var(--radius); background: var(--action); flex: none; }
.mark i { width: 5px; height: 5px; background: var(--paper); border-radius: 1px; }
.site-header nav, .header-actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 29px); }
.site-header nav { justify-content: center; }
.site-header nav a, .header-actions .language { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); white-space: nowrap; text-decoration: none; font-size: 14px; }
.site-header nav a:hover, .site-header nav a[aria-current], .header-actions .language:hover { color: var(--accent); }
.site-header nav a[aria-current] { text-decoration: underline; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; text-align: center; white-space: nowrap; }
.button-primary, .header-button { background: var(--action); color: #fff; }
.button-primary:hover, .header-button:hover { background: var(--action-hover); }
.text-link { display: inline-flex; gap: 8px; align-items: baseline; width: fit-content; color: var(--accent); text-decoration-thickness: 1px; font-size: 14px; font-weight: 600; }
.text-link span { flex: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(460px, calc(100svh - 128px), 760px);
  background: #243232;
  color: #fff;
}
.hero-media, .hero::after { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(15 26 28 / .87), rgb(15 26 28 / .68) 40%, rgb(15 26 28 / .13) 73%, transparent);
}
.hero-content { padding-block: 58px; }
.hero h1 { font-size: clamp(52px, 6.5vw, 96px); line-height: .99; letter-spacing: -.035em; word-spacing: .06em; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(54px, 6.2vw, 90px); line-height: 1.12; letter-spacing: -.04em; }
.hero-content > p { max-width: 42ch; margin-top: 20px; color: #f6f4ed; font-size: clamp(16px, 1.45vw, 21px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.hero-button { min-height: 48px; padding-inline: 20px; background: var(--paper); color: var(--ink); }
.hero-button:hover { background: #e9e5db; }
.hero-actions .text-link { min-height: 44px; align-items: center; color: #fff; }
.hero a:focus-visible { outline-color: #fff; }

.section { padding-block: clamp(44px, 6vw, 83px); }
.section.compact { padding-top: 0; }
.section-head { margin-bottom: 28px; }
.section-head h2, .bottom-cta h2 { font-size: clamp(32px, 4vw, 55px); }
.section-head p { max-width: 64ch; color: var(--muted); margin-top: 10px; }
.section-end { margin-top: 25px; }
.featured-section { padding-top: clamp(43px, 4.5vw, 65px); }
.featured-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr);
  align-items: end;
  gap: 16px 36px;
  margin-bottom: 28px;
}
.featured-intro .section-head, .featured-intro .catalog-search { margin: 0; }
.featured-intro .catalog-search { justify-self: end; scroll-margin-top: 24px; }

.cards, .market-cards { display: grid; align-items: stretch; gap: 26px; }
.cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { min-width: 0; text-decoration: none; }
.card-media { overflow: hidden; aspect-ratio: 1.63; background: #efefeb; border-radius: var(--radius); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card .card-media img { mix-blend-mode: multiply; }
.card-body { padding-block: 16px 17px; }
.card h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 7px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: 12px; }
a.card:hover h3, a.card:focus-visible h3 { color: var(--accent); }
a.card:hover .text-link { text-decoration: underline; }
.label { display: block; color: var(--muted); margin-bottom: 6px; font-size: 12px; font-weight: 550; line-height: 1.4; }

.product-shelf { grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); gap: 0 36px; }
.product-shelf .product-card:first-child { grid-row: span 2; }
.product-shelf .product-card:first-child .card-media { aspect-ratio: 2.05; }
.product-shelf .product-card:first-child .card-media img { object-fit: cover; mix-blend-mode: normal; }
.product-shelf .product-card:not(:first-child) { display: grid; grid-template-columns: minmax(105px, .8fr) minmax(0,1.2fr); gap: 17px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.product-shelf .product-card:not(:first-child) .card-body { padding: 0; }
.product-shelf .product-card:not(:first-child) h3 { font-size: 23px; }
.product-shelf .product-card:not(:first-child) p { font-size: 13px; }
.product-shelf .product-card:not(:first-child) .text-link { margin-top: 7px; }
.product-shelf .product-card:not(:first-child) .card-media { aspect-ratio: 1.51; }

.market-section { background: var(--surface); }
.market-cards { grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); }
.market-media { aspect-ratio: auto; height: clamp(205px,25vw,345px); }
.market-media img { object-fit: cover; object-position: center 55%; }
.market-cards .card-body { border-bottom: 1px solid var(--line); }

.process-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,8vw,120px); }
.steps { display: grid; }
.steps section { padding-block: 16px; border-top: 1px solid var(--line); }
.steps section:first-child { padding-top: 8px; border-top: 0; }
.steps h3 { margin-bottom: 6px; font-size: 24px; }
.steps p { color: var(--muted); }

.service-band { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0,1.24fr); min-height: 285px; align-items: stretch; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.service-band > div { align-self: center; padding: clamp(24px,4vw,56px); }
.service-band .section-head { margin-bottom: 16px; }
.service-band .section-head h2 { font-size: clamp(29px,3.25vw,46px); }
.service-band img { height: 100%; width: 100%; object-fit: cover; }
.service-cards { margin-top: 30px; }

.price-card { padding-block: 20px; border-top: 1px solid var(--line); }
.price-card h3, .price-card h2 { font-size: 24px; margin: 0; }
.price-card > p:not(.price) { margin-block: 8px; }
.price-card .price { color: var(--ink); font: 600 26px/1.15 var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { color: var(--muted); font: 400 13px/1 var(--body); }
.price-cards { display: block; }
.price-cards .price-card { display: grid; grid-template-columns: minmax(150px,1fr) minmax(96px,.6fr) minmax(0,2fr) minmax(126px,auto); gap: 18px; align-items: center; }
.price-cards .price-card:last-child { border-bottom: 1px solid var(--line); }
.price-cards .price-card > p:not(.price), .price-cards .text-link { margin: 0; }
.price-cards .price-card > a { justify-self: end; }
.supplier-card { max-width: 750px; display: grid; gap: 8px; margin-bottom: 25px; }
.supplier-card .specs { width: 100%; margin: 0; }

.article { border-top: 1px solid var(--line); padding-bottom: 70px; }
.field-guide { border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 70px); }
.guide-header { display: flex; justify-content: space-between; align-items: baseline; gap: 17px 32px; flex-wrap: wrap; margin-bottom: 30px; }
.guide-header h2 { font-size: clamp(32px, 4vw, 55px); }
.guide-header nav, .guide-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.guide-header nav a { color: var(--accent); font-size: 14px; font-weight: 600; }
.guide-feature, .guide-split, .guide-quote-layout { display: grid; align-items: start; gap: clamp(22px, 5vw, 74px); }
.guide-feature { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.guide-production { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.guide-feature, .guide-bench { scroll-margin-top: 22px; }
.guide-photo img { width: 100%; aspect-ratio: .86; max-height: 650px; object-fit: cover; border-radius: var(--radius); }
.guide-visit .guide-photo img { aspect-ratio: auto; max-height: none; }
.guide-production .guide-photo img { object-position: center 50%; }
.guide-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.guide-stack { display: grid; gap: clamp(21px,3.4vw,44px); }
.guide-note h3, .quote-example h3, .guide-terms h3 { font-size: clamp(25px, 2.7vw, 39px); }
.guide-note p { margin-top: 12px; color: var(--muted); }
.guide-note p + p { margin-top: 10px; }
.guide-bench { margin-block: clamp(44px, 6vw, 86px); }
.guide-quote-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: clamp(20px, 4vw, 48px); gap: clamp(18px, 5vw, 72px); align-items: center; background: var(--surface); border-radius: var(--radius); }
.guide-quote-layout .guide-photo img { aspect-ratio: 1.46; max-height: 350px; object-fit: contain; background: white; }
.quote-example dl, .guide-terms dl { margin: 18px 0 0; }
.quote-example dl > div, .guide-terms dl > div { border-top: 1px solid var(--line); padding-block: 12px; }
.quote-example dl > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: baseline; gap: 13px; }
.quote-example dt, .guide-terms dt { font-weight: 650; }
.quote-example dd, .guide-terms dd { margin: 0; color: var(--muted); line-height: 1.58; }
.quote-example > p { margin-top: 12px; }
.guide-split { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-bench-notes { margin-top: 30px; }
.guide-terms { margin-top: 34px; }
.guide-terms dl > div { display: grid; grid-template-columns: minmax(145px,.28fr) minmax(0,1fr); gap: 20px; }
.guide-appointments dd p { margin-top: 8px; }
.guide-close { margin-top: clamp(34px, 6vw, 76px); border-top: 1px solid var(--line); padding-top: 30px; }
.guide-close .sources { margin: 0; }
.guide-close .sources ul { margin-top: 10px; }
.reading { max-width: 760px; margin-inline: auto; }
.reading section { margin-top: 44px; }
.reading h2 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 13px; }
.reading p { color: var(--muted); }
.reading p + p { margin-top: 14px; }
.reading > .button { margin-top: 22px; }
.sources { margin-top: 40px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); }
.sources h2 { font-size: 23px; }
.sources ul, .credits { padding-left: 21px; margin: 0; line-height: 1.8; }

.bottom-cta { background: var(--surface); }
.bottom-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 48px; }
.bottom-cta p { margin-top: 8px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 25px; padding-block: 36px; }
.footer-inner p { color: var(--muted); margin-top: 11px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.foot-links a { padding-block: 12px; font-size: 14px; }

.page-heading { padding-block: clamp(41px,6vw,83px) clamp(27px,4vw,54px); border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: clamp(39px, 5.35vw, 75px); }
.page-heading p { margin-top: 13px; color: var(--muted); max-width: 60ch; font-size: clamp(16px,1.5vw,19px); }
.page-heading + .section { padding-top: clamp(30px,4vw,50px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px,5vw,68px); align-items: start; }
.detail-grid h2 { font-size: 33px; margin-bottom: 12px; }
.detail-grid p + p { margin-top: 10px; }
.detail-grid .button { margin-top: 16px; }
.detail-photo img { width: 100%; border-radius: var(--radius); }
.detail-photo figcaption { font-size: 13px; color: var(--muted); padding-block: 10px; }
.specs { margin: 0 0 15px; }
.specs > div { display: grid; grid-template-columns: minmax(104px, .35fr) minmax(0,1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.specs dt, label { font-weight: 600; }
.specs dd { color: var(--muted); margin: 0; }
.specs dd ul { margin: 6px 0 9px; padding-inline-start: 17px; }
.specs dd li + li { margin-top: 6px; }

.notice { background: var(--surface); border-left: 3px solid var(--accent); padding: 12px 15px; margin-block: 15px; }
.notice.error { background: #f7eae5; }
.form-panel { max-width: 660px; margin-inline: auto; }
.contact-email { margin-top: 20px; overflow-wrap: anywhere; }
.inquiry-entry { padding-block: 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.inquiry-entry summary { cursor: pointer; font-weight: 650; }
.inquiry-entry p { margin-top: 8px; }
.inquiry-details { white-space: pre-wrap; }
.inquiry-pages { display: flex; gap: 16px; margin-top: 12px; }
.inquiry-pages a { color: var(--accent); }
.fields { display: grid; gap: 10px; }
.fields > label:not(:first-child) { margin-top: 9px; }
input:not([type="checkbox"]), select, textarea { min-width: 0; min-height: 46px; width: 100%; border: 1px solid var(--border); color: var(--ink); border-radius: var(--radius); padding: 9px 12px; background: #fff; }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; }
.check { display: flex; gap: 9px; align-items: start; font-weight: 500; min-height: 44px; line-height: 1.45; padding-block: 7px; }
.check input { width: 18px; height: 18px; flex: none; }
.fields button { justify-self: start; }
.catalog-search { width: min(100%,500px); margin-bottom: 27px; }
.catalog-search label { font-size: 13px; }
.catalog-search > div { display: flex; gap: 6px; margin-top: 6px; }
.form-panel fieldset { min-width: 0; margin: 0; padding: 12px 14px 5px; border: 1px solid var(--line); border-radius: var(--radius); }
.form-panel select + .check { margin-top: 9px; }
.reading form + form { margin-top: 8px; }

.analytics-settings {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.analytics-choice {
  position: fixed;
  z-index: 5;
  inset: auto 16px 16px auto;
  width: min(430px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 5px 24px #1e2b3326;
}
.analytics-choice h2 { font-size: 20px; }
.analytics-choice p { margin: 6px 0 12px; font-size: 14px; color: var(--muted); }
.analytics-choice > div { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-choice .button:not(.button-primary) { border-color: var(--border); background: var(--paper); color: var(--ink); }

@media (max-width: 1060px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 14px; padding-top: 8px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: start; overflow: auto; }
  .header-actions { justify-self: end; }
  .product-shelf { gap: 0 26px; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: 17px; }
  .mark { width: 27px; height: 27px; }
  .header-actions { gap: 10px; }
  .header-button { min-height: 40px; padding-inline: 10px; font-size: 12px; }
  .header-button span { display: none; }
  .site-header nav { justify-content: space-between; gap: 8px; }
  .site-header nav a { font-size: 12px; }
  .hero { align-items: end; min-height: clamp(415px, calc(100svh - 145px), 640px); }
  .hero-image { object-position: 56% center; }
  .hero::after { background: linear-gradient(0deg, rgb(15 26 28 / .92), rgb(15 26 28 / .72) 42%, rgb(15 26 28 / .17) 73%, transparent); }
  .hero-content { padding-block: 36px; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 68px); }
  html[lang="zh-CN"] .hero h1 { font-size: clamp(47px, 11vw, 72px); }
  .hero-content > p { max-width: 33ch; margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .featured-intro, .process-section, .detail-grid, .service-band { grid-template-columns: minmax(0,1fr); }
  .featured-intro .catalog-search { justify-self: start; }
  .cards, .market-cards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .product-shelf { gap: 0; }
  .product-shelf .product-card:first-child { grid-row: auto; }
  .product-shelf .product-card:not(:first-child) { grid-template-columns: minmax(88px,.7fr) minmax(0,1.3fr); gap: 13px; }
  .product-shelf .product-card:not(:first-child) h3 { font-size: 21px; }
  .market-media { height: auto; aspect-ratio: 1.62; }
  .process-section { gap: 0; }
  .guide-header { margin-bottom: 23px; }
  .guide-feature, .guide-split, .guide-quote-layout { grid-template-columns: minmax(0,1fr); }
  .guide-photo img { aspect-ratio: 1.2; max-height: 340px; }
  .guide-visit .guide-photo img { aspect-ratio: 1.18; max-height: 340px; object-position: center 76%; }
  .guide-production .guide-photo { grid-row: 1; }
  .guide-terms dl > div { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .service-band img { max-height: 270px; }
  .price-cards .price-card { grid-template-columns: minmax(0,1fr) auto; gap: 9px 12px; }
  .price-cards .price-card > p:not(.price) { grid-column: 1 / -1; }
  .price-cards .price-card > a { justify-self: start; }
  .bottom-cta .wrap { align-items: start; flex-direction: column; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 30px); }
  .brand { gap: 6px; font-size: 14px; }
  .mark { width: 24px; height: 24px; }
  .header-inner { gap: 0 6px; }
  .header-actions { gap: 6px; }
  .header-actions .language { font-size: 12px; }
  .header-button { padding-inline: 6px; font-size: 11px; }
  .site-header nav { flex-wrap: wrap; overflow: visible; }
  .site-header nav a { min-height: 37px; }
}
