/* KIP Timah design system: one green, one gold, one blue, grey for the rest.
   Arial 12px base, hairline rules, no shadows, radius only on buttons. */
:root {
  --green: #336633;
  --green-hover: #2a552a;
  --gold: #FED700;
  --gold-pale: #FFFFB5;
  --link: #006699;
  --text: #333;
  --text-2: #666;
  --text-muted: #777;
  --hairline: #EFEFEF;
  --rule: #CBCBCB;
  --rule-hard: #999;
  --border: #DDD;
  --band: #EEEEEE;
  --mono: Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font: 12px/1.3 Arial, Helvetica, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(zh) body { line-height: 1.5; }
img { display: block; width: 100%; object-fit: cover; }
a { color: var(--link); font-weight: 500; text-decoration: none; }
a:hover { color: #000; background: var(--gold-pale); text-decoration: underline; }
a:focus-visible { outline: 1px dotted var(--text); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 14px; } }

/* Masthead */
.masthead { border-bottom: 2px solid var(--gold); background: #fff; }
.masthead-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.wordmark { font-size: 20px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: -0.3px; font-stretch: condensed; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 700; text-transform: uppercase; font-stretch: condensed; }
.nav a { color: var(--green); font-weight: 700; }
.langs { display: flex; gap: 12px; font-size: 12px; }
.langs a { color: var(--text-2); font-weight: 400; }
.langs a[aria-current] { color: var(--text); font-weight: 700; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--border); }
.hero-copy { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.eyebrow { font-weight: 500; color: var(--text-2); }
.hero h1 { margin: 0; font-size: 32px; line-height: 1.15; color: var(--green); }
.hero p { margin: 0; font-size: 14px; max-width: 540px; }
.hero img { height: 360px; border: 1px solid var(--border); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; padding: 12px 18px; border-radius: 2px; transition: background-color .3s; }
.btn:hover { background: var(--green-hover); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-bottom: 1px solid var(--border); }
.facts div { padding: 20px 16px 20px 0; }
.facts strong { display: block; font-size: 24px; color: var(--green); }
.facts span { color: var(--text-2); }

/* Sections */
section { padding: 0 0 32px; }
section:first-of-type, .facts + section { padding-top: 32px; }
.band { margin: 0 0 16px; padding: 6px 10px; background: var(--band); font-size: 13px; font-weight: 700; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; font-size: 13px; }
.cols p { margin: 0; }
.cols h3 { margin: 0 0 4px; font-size: 12px; }

/* Fleet cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--border); }
.card img { height: 220px; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 14px; }

/* Spec tables */
.spec { border-collapse: collapse; width: 100%; }
.spec tr { border-bottom: 1px solid var(--rule); }
.spec tr:last-child { border-bottom: 0; }
.spec th { text-align: left; font-weight: 400; color: var(--text-muted); padding: 6px 12px 6px 0; vertical-align: top; }
.spec td { padding: 6px 0; }
.spec.legal { max-width: 720px; }
.spec.legal th { width: 220px; }
.card .spec td { text-align: right; }
.data { border-collapse: collapse; width: 100%; min-width: 420px; }
.data th { text-align: right; font-weight: 500; padding: 5px 8px; border-bottom: 1px solid var(--rule-hard); }
.data td { text-align: right; padding: 5px 8px; border-bottom: 1px solid var(--rule); font: 11.5px var(--mono); }
.data th:first-child, .data td:first-child { text-align: left; padding-left: 0; }
.scroll { overflow-x: auto; }
.note { margin: 8px 0 0; font-size: 11px; color: var(--text-2); }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--rule-hard); }
.steps li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.steps strong { display: block; color: var(--green); }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin-top: 20px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
figure img { height: 260px; border: 1px solid var(--border); }
figure img.drawing { height: auto; max-height: 420px; object-fit: contain; }
figcaption { font-size: 11px; color: var(--text-2); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; font-size: 13px; padding-bottom: 16px; }
.contact h3 { margin: 0 0 2px; font-size: 13px; font-weight: 500; }
.contact p { margin: 0; }
.contact small { display: block; color: var(--text-2); font-size: 11px; }

.footer { border-top: 1px solid var(--border); background: var(--band); }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; font-size: 11px; color: var(--text-2); }
