/* =====================================================
   Brand Sky Holdings — Corporate Site
   Shared stylesheet (Chinese & English versions)
   ===================================================== */

:root {
  --navy: #0b1e3a;
  --navy-2: #14305c;
  --sky: #4c8fc4;
  --sky-soft: #d6e7f4;
  --cream: #f6f1e6;
  --cream-deep: #ebe1c9;
  --wheat: #b78a45;
  --ink: #14223a;
  --ink-soft: #4a5a74;
  --muted: #8693a8;
  --line: #e6e8ec;
  --bg: #ffffff;
  --max: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sky);
  margin: 0 0 18px 0;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--sky);
  vertical-align: middle;
  margin-right: 12px;
}
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.08; margin: 0 0 24px; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; margin: 0 0 20px; }
h3 { font-size: 20px; line-height: 1.35; margin: 0 0 12px; }
p  { color: var(--ink-soft); margin: 0 0 16px; text-wrap: pretty; }
.lead { font-size: 18px; color: var(--ink-soft); }

/* ---------- Top Bar ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 42px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .en {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--sky); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-left: 8px;
}
.lang-switch a {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 130px;
  background:
    radial-gradient(800px 500px at 80% 10%, rgba(76,143,196,0.13), transparent 70%),
    radial-gradient(700px 500px at 10% 100%, rgba(183,138,69,0.07), transparent 70%),
    #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 .accent { color: var(--sky); }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta .item .k {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-meta .item .v {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a3a6b 0%, #0b1e3a 70%);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 2px,
      transparent 2px 22px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(76,143,196,0.35), transparent 70%);
}
.hero-visual .badge {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  color: rgba(255,255,255,0.6);
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.hero-visual .stamp {
  position: absolute;
  top: 28px; left: 28px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 600;
}
.hero-visual .stamp small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Section base ---------- */
section { padding: 110px 0; }
section.alt { background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.7); }
section.dark .eyebrow { color: var(--sky); }
section.dark .eyebrow::before { background: var(--sky); }
section.cream { background: var(--cream); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.section-head .right p { margin-bottom: 0; max-width: 600px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-grid .copy p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact {
  background: #fff;
  padding: 28px 24px;
}
.fact .num {
  font-size: 36px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.fact .lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.fact .desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: #fff;
  padding: 44px 36px 40px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.service.featured {
  background: var(--navy);
  color: #fff;
}
.service.featured h3 { color: #fff; }
.service.featured p { color: rgba(255,255,255,0.72); }
.service.featured .num { color: var(--sky); }
.service.featured .tag { color: var(--sky); border-color: rgba(76,143,196,0.4); }
.service .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sky);
  margin-bottom: 28px;
  font-weight: 600;
}
.service h3 {
  font-size: 22px;
  margin-bottom: 18px;
  line-height: 1.25;
}
.service p {
  font-size: 15px;
  margin: 0 0 24px;
  flex: 1;
}
.service .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wheat);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  width: 100%;
}

/* ---------- Grain focus block ---------- */
.grain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--cream);
  border: 1px solid var(--cream-deep);
}
.grain .copy {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.grain .copy .eyebrow { color: var(--wheat); }
.grain .copy .eyebrow::before { background: var(--wheat); }
.grain .copy h2 { color: var(--navy); margin-bottom: 24px; }
.grain .copy p { font-size: 16px; }
.grain ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.grain ul li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(183,138,69,0.25);
  font-size: 15px;
  color: var(--ink);
}
.grain ul li:last-child { border-bottom: 1px solid rgba(183,138,69,0.25); }
.grain ul li::before {
  content: "→";
  color: var(--wheat);
  font-weight: 600;
}
.grain .visual {
  position: relative;
  background: linear-gradient(180deg, #c9a55f 0%, #8e6a32 100%);
  min-height: 520px;
  overflow: hidden;
}
.grain .visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0 1px,
      transparent 1px 8px),
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.05) 0 1px,
      transparent 1px 12px);
}
.grain .visual .label {
  position: absolute;
  top: 32px;
  left: 32px;
  color: rgba(255,255,255,0.85);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.grain .visual .big {
  position: absolute;
  inset: auto 40px 40px 40px;
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.grain .visual .big small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---------- Why us / capabilities ---------- */
.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cap {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
}
.cap .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sky);
  margin-bottom: 18px;
  font-weight: 600;
}
.cap h3 { font-size: 18px; margin-bottom: 12px; }
.cap p { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0; }

/* ---------- Leadership ---------- */
.leader {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.leader-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #2c4d7a 0%, #0b1e3a 100%);
  position: relative;
  overflow: hidden;
}
.leader-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.04) 0 2px,
      transparent 2px 20px);
}
.leader-photo .ph {
  position: absolute;
  bottom: 28px; left: 28px;
  color: rgba(255,255,255,0.6);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.leader blockquote {
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.leader blockquote::before {
  content: "“";
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--sky);
  margin-bottom: 16px;
}
.leader .sig {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.leader .sig .name {
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}
.leader .sig .role {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid h2 { color: #fff; margin-bottom: 28px; }
.contact-grid p { color: rgba(255,255,255,0.7); font-size: 17px; }
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
}
.contact-card .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-card .row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-card .row:first-child { padding-top: 0; }
.contact-card .k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 600;
  padding-top: 4px;
}
.contact-card .v {
  font-size: 16px;
  color: #fff;
  word-break: break-all;
}
.contact-card .v a:hover { color: var(--sky); }
.contact-card .v small {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

/* ---------- Footer ---------- */
footer {
  background: #060f1f;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 40px;
  font-size: 13px;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
footer .brand img { height: 36px; filter: brightness(1) contrast(1); }
footer .brand-text .en { color: rgba(255,255,255,0.6); }
.foot h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
  font-weight: 600;
}
.foot p, .foot a { color: rgba(255,255,255,0.7); display: block; margin: 6px 0; }
.foot a:hover { color: var(--sky); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 70px 0 80px; }
  .hero-grid, .about-grid, .section-head, .grain, .leader, .contact-grid, .foot {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .grain .copy { padding: 50px 30px; }
  .grain .visual { min-height: 320px; }
  .nav { gap: 18px; }
  .nav a:not(.lang-switch a) { display: none; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
  .topbar-inner { height: 64px; }
  .brand img { height: 32px; }
  .brand-text .cn { font-size: 13px; }
  h1 { font-size: 36px; }
}
