@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pangolin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #ffffff;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ── Intro ── */
.intro h1 {
font-family: 'Pangolin', cursive;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 4px;
}

.intro h3 {
  font-size: 24px;
  font-weight: 400;
  color: #888;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 16px;
  color: #555;
  max-width: 100%;
  margin-bottom: 12px;
}

.links {
  margin: 14px 0 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.links a {
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.links a:hover {
  border-color: #1a1a1a;
}

/* ── Section headings ── */
section {
  margin-top: 2.5rem;
}

section > h2 {
  font-family: 'Roboto' sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid #ebebeb;
}

/* ── Items (jobs, roles) ── */
.item {
  margin-bottom: 1.5rem;
}

.item + .item {
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
}
.company {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.company-logo {
  height: 60px;
  width: 80;
  object-fit: contain;
}

#fuyao-logo {
  height: 60px;
  width: 75px;
  object-fit: contain;
}

.item h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}

.date {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

.item ul {
  padding-left: 1.2rem;
  margin-top: 8px;
}

.item li {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

/* ── Skills ── */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.skills span {
  font-size: 13px;
  color: #555;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 3px 10px;
}

/* ── Contact ── */
section p a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}

section p a:hover {
  border-color: #1a1a1a;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .container {
    padding: 2rem 1.25rem 3rem;
  }

  .intro h1 {
    font-size: 22px;
  }
}