/* Climber 3D — colors sampled from the company logo */

:root {
  --ink: #403a26;
  --ink-soft: #5a5444;
  --yellow: #fed700;
  --yellow-deep: #e6c200;
  --paper: #ffffff;
  --cream: #f7f6f1;
  --line: #e4e0d4;
  --line-dark: #5c5646;
  --muted: #5a5444;
  --muted-on-dark: #d8d3c6;
  --text: #403a26;
  --white: #ffffff;
  --danger: #8a2f2f;
  --ok: #1f6b45;
  --shadow: 0 16px 40px rgba(64, 58, 38, 0.08);
  --radius: 14px;
  --wrap: 1120px;
  --header: 92px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: #2e2a1b; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(calc(100% - 2.5rem), 760px);
}

html[data-lang="zh"]:not(.i18n-ready) body { visibility: hidden; }

html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .logo-3d,
html[lang="zh-CN"] .hero-points,
html[lang="zh-CN"] .step-num,
html[lang="zh-CN"] .req {
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: none;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  letter-spacing: 0;
  line-height: 1.3;
  word-break: keep-all;
  line-break: strict;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(64, 58, 38, 0.04);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background:
    linear-gradient(90deg, var(--yellow) 0 28px, transparent 28px 40px)
    0 0 / 40px 3px repeat-x;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 0;
}

.logo:hover { color: var(--ink); }

.logo-img {
  height: 66px;
  width: auto;
  display: block;
}

.logo-3d {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding-bottom: 0.15rem;
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  order: 3;
  margin-left: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.lang-btn {
  appearance: none;
  background: transparent;
  color: var(--ink-soft);
  border: 0;
  padding: 0.38rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
}

.lang-btn[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}

.lang-btn:hover { color: var(--ink); }

html[lang="zh-CN"] .lang-btn {
  font-family: "Noto Sans SC", "IBM Plex Sans", sans-serif;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-left: auto;
  order: 2;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--ink);
}

.site-nav .btn {
  opacity: 1;
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  background: var(--yellow);
  color: var(--ink) !important;
  opacity: 1 !important;
}

.btn-small:hover { background: var(--yellow-deep); color: var(--ink) !important; }

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--yellow);
}

.btn-dark {
  background: var(--ink);
  color: var(--yellow);
}

.btn-dark:hover { background: #2e2a1b; color: var(--yellow); }

/* Pixel motifs */

.pixels,
.pixel-rule {
  pointer-events: none;
}

.pixel-rule {
  display: flex;
  gap: 5px;
  margin: 0 0 1.1rem;
}

.pixel-rule i {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ink);
  flex-shrink: 0;
}

.pixel-rule i:nth-child(2),
.pixel-rule i:nth-child(5) { background: var(--yellow); }
.pixel-rule i:nth-child(4) { opacity: 0.35; }

.pixels-hero {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  background: var(--ink);
  box-shadow:
    12px 14px 0 var(--ink),
    24px 8px 0 var(--ink),
    24px 20px 0 var(--yellow),
    36px 14px 0 var(--ink),
    36px 26px 0 var(--ink),
    48px 20px 0 var(--yellow),
    48px 32px 0 var(--ink),
    60px 26px 0 var(--ink),
    60px 38px 0 var(--yellow);
  z-index: 1;
}

/* Hero */

.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem 0 3.5rem;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: 20% 50%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.hero-content { max-width: 40rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  flex-shrink: 0;
  box-shadow: 6px -6px 0 var(--ink);
}

.section-dark .eyebrow { color: var(--yellow); }
.section-dark .eyebrow::before {
  background: var(--yellow);
  box-shadow: 6px -6px 0 var(--white);
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  max-width: 18ch;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 0.85rem;
}

.hero-slogan {
  margin: 0 0 1.5rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  font-family: var(--mono);
  color: var(--ink-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--yellow);
  box-shadow: 0 0 0 1px var(--ink);
}

/* Sections */

.section { padding: 5.25rem 0; }

.section-alt { background: var(--cream); }

.section-dark {
  background:
    linear-gradient(180deg, rgba(254, 215, 0, 0.08), transparent 40%),
    var(--ink);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3 { color: var(--cream); }

.section-dark p { color: var(--muted-on-dark); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-head p { margin: 0; color: var(--muted); }
.narrow .section-head { grid-template-columns: 1fr; }

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.section-alt .card { background: var(--paper); }

.card p,
.material-body p,
.why-grid p,
.industry-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--ink);
  margin-bottom: 1rem;
}

.card-icon svg { width: 100%; height: 100%; }

/* Materials */

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.material-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.material-card figure { margin: 0; }
.material-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.material-body { padding: 1.35rem 1.35rem 1.5rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 1rem 0 0.85rem;
}

.chip-list li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.7rem 0 0;
}

/* Steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 1.4rem 1.15rem 1.5rem;
  border-top: 4px solid var(--yellow);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-grid article {
  padding: 1.35rem 1.2rem 1.45rem;
  border: 1px solid rgba(254, 215, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

/* Industries */

.industry-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  padding: 0;
  margin: 0;
}

.industry-grid li {
  padding: 1.25rem 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

/* Quote form */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.quote-intro p { margin: 0 0 1rem; color: var(--muted); }
.quote-intro h2 { margin-bottom: 1rem; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: var(--cream);
  width: 100%;
}

.quote-form textarea { resize: vertical; min-height: 8rem; }

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--ink);
}

.file-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-ui {
  display: block;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  padding: 0.9rem 0.8rem;
  background: var(--cream);
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}

.file-label:hover .file-ui,
.file-label:focus-within .file-ui { border-color: var(--ink); }

.quote-form .btn { align-self: flex-start; margin-top: 0.3rem; }

.form-status {
  margin: 0.2rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #e7f4ec;
  color: var(--ok);
  font-weight: 500;
}

.form-status.is-error {
  background: #f8ecec;
  color: var(--danger);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 0.4rem;
}

.contact-card p {
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-card a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
}

.contact-card a:hover { color: #2e2a1b; text-decoration: underline; }

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(254, 215, 0, 0.25);
  align-items: flex-end;
}

.footer-brand-block { max-width: 28rem; }

.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 0.55rem 0.7rem 0.45rem;
  border-radius: 8px;
  margin: 0 0 0.9rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
}

.footer-slogan {
  margin: 0 0 0.55rem;
  font-style: italic;
  color: var(--yellow);
}

.footer-inner p { margin: 0; max-width: 46ch; }

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-inner a {
  color: var(--cream);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--yellow); }

.footer-legal { padding-top: 1.25rem; }
.footer-legal p { margin: 0 0 0.4rem; }

/* Responsive */

@media (max-width: 980px) {
  .card-grid,
  .steps,
  .why-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .section-head,
  .quote-layout,
  .contact-layout,
  .materials-grid,
  .hero-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 1.8rem; }
  .hero-grid { padding: 2.4rem 0 2.6rem; }
  .hero-media img { max-height: 340px; }
  h1 { max-width: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .header-tools { margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.5rem;
    background: var(--white);
    border-bottom: 0;
    z-index: 60;
    overflow: auto;
    margin-left: 0;
    order: 0;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }

  .site-nav .btn {
    margin: 0.9rem 0 0;
    width: 100%;
    border-bottom: 0;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 1.6rem), var(--wrap)); }
  .section { padding: 3.5rem 0; }
  .card-grid,
  .steps,
  .why-grid,
  .form-row,
  .industry-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 1.15rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .logo-img { height: 52px; }
  :root { --header: 80px; }
  .pixels-hero { transform: scale(0.8); transform-origin: top right; }
}

@media (min-width: 1400px) {
  .hero-media img { max-height: 560px; }
}
