/* WONDER ORBIT PTE. LTD. — company site */
:root {
  --ink: #101426;
  --ink-soft: #4a5168;
  --ink-faint: #8a90a6;
  --bg: #faf9f7;
  --card: #ffffff;
  --line: #e8e6e1;
  --accent: #5b5bd6;
  --accent-soft: #eeeefc;
  --gold: #c9a86a;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em;
}
.brand-name span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 600;
}
.nav-cta:hover { background: var(--accent); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.hero-orbits {
  position: absolute; right: -180px; top: -120px;
  width: 640px; height: 640px; opacity: 0.5; pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede {
  font-size: 1.15rem; color: var(--ink-soft); max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; transition: all 0.2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500; line-height: 1.2; margin-bottom: 16px;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- What we do ---------- */
.services { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 20, 38, 0.07); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-copy p strong { color: var(--ink); }
.about-visual {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(150deg, #171b34 0%, #2b2f63 60%, #5b5bd6 130%);
  min-height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-visual svg { width: 78%; opacity: 0.95; }
.stat-row { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat .num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink);
}
.stat .label { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Values ---------- */
.values { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: value; }
.value {
  border-top: 2px solid var(--ink); padding-top: 24px;
}
.value .idx {
  font-family: var(--font-display); font-style: italic;
  color: var(--gold); font-size: 1rem; margin-bottom: 12px; display: block;
}
.value h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-card {
  background: linear-gradient(140deg, #171b34, #33377a);
  border-radius: 26px; color: #fff;
  padding: 72px 56px; text-align: center; position: relative; overflow: hidden;
}
.contact-card .rings {
  position: absolute; left: -120px; bottom: -160px; width: 420px; opacity: 0.25;
}
.contact-card h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; position: relative;
}
.contact-card p { color: #c3c6e4; max-width: 520px; margin: 0 auto 36px; position: relative; }
.contact-card .btn {
  background: #fff; color: var(--ink); position: relative;
}
.contact-card .btn:hover { background: var(--accent-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--ink-faint); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-faint); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.93rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--ink-faint);
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 2.4rem; margin-bottom: 8px;
}
.legal .updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .value-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 72px 0 64px; }
  section { padding: 64px 0; }
  .contact-card { padding: 56px 28px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-links li { width: 100%; padding: 10px 0; }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
}