:root {
  --green: #17622f;
  --deep: #0b4422;
  --dark: #071b0e;
  --gold: #dca91e;
  --blue: #2478b8;
  --red: #bd2733;
  --cream: #f7f8f1;
  --mist: #edf4e9;
  --ink: #19251d;
  --muted: #667066;
  --line: #dce4d8;
  --shadow: 0 18px 45px rgba(20, 66, 35, .1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, "Noto Sans TC", sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}
.history-hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 100px;
  color: white;
  background:
    radial-gradient(circle at 80% 22%, rgba(218, 169, 30, .22), transparent 28%),
    linear-gradient(135deg, #0c4d27, #082f19 60%, #061c0e);
}
.history-hero:after {
  content: "1995 — TODAY";
  position: absolute;
  right: -22px;
  bottom: -42px;
  color: rgba(255, 255, 255, .045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1,
h2 {
  margin: 0;
  color: var(--deep);
  font-family: Georgia, "Noto Serif TC", serif;
  line-height: 1.1;
}
.history-hero h1 {
  max-width: 760px;
  color: white;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
}
.history-hero p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.hero-facts {
  display: flex;
  margin-top: 38px;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-fact {
  min-width: 150px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}
.hero-fact strong {
  display: block;
  color: white;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.1;
}
.hero-fact span {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
}
.section {
  padding: 92px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}
.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
}
.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}
.timeline:before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 135px;
  width: 2px;
  background: linear-gradient(var(--gold), #8fbd78);
}
.era {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 42px;
}
.era-label {
  padding-top: 25px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}
.milestones {
  display: grid;
  gap: 12px;
}
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 94px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 7px 22px rgba(20, 66, 35, .05);
}
.milestone:before {
  content: "";
  position: absolute;
  top: 34px;
  left: -26px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}
.year {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
}
.year small {
  display: block;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .68rem;
  font-weight: 400;
}
.milestone h3 {
  margin: 0 0 4px;
  color: var(--deep);
  font-size: 1.08rem;
}
.milestone p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.market {
  background: var(--mist);
}
.market-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
}
.market-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(23, 98, 47, .12);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.market-card.export {
  color: white;
  background: linear-gradient(145deg, #17622f, #0a3b1d);
}
.market-percent {
  margin-bottom: 18px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  line-height: .9;
}
.export .market-percent {
  color: var(--gold);
}
.market-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.market-card p,
.market-card li {
  color: var(--muted);
}
.export p,
.export li {
  color: rgba(255, 255, 255, .76);
}
.market-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}
.ratio-bar {
  display: grid;
  grid-template-columns: 40fr 60fr;
  height: 16px;
  margin: 28px 0 14px;
  overflow: hidden;
  border-radius: 999px;
}
.ratio-bar span:first-child {
  background: var(--green);
}
.ratio-bar span:last-child {
  background: var(--gold);
}
.countries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.country {
  min-height: 180px;
  padding: 25px 20px;
  border-top: 4px solid var(--gold);
  border-radius: 0 0 18px 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(20, 66, 35, .07);
}
.country-year {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 900;
}
.country h3 {
  margin: 12px 0 7px;
  color: var(--deep);
  font-size: 1.16rem;
}
.country p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.cta-section {
  padding: 84px 0;
  color: white;
  background: linear-gradient(135deg, #0b4422, #071b0e);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}
.cta-section h2 {
  max-width: 720px;
  color: white;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}
.cta-section p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
}
.btn {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: var(--gold);
  font-weight: 900;
}
@media(max-width:820px) {
  .history-hero {
    padding: 76px 0 74px;
  }
  .section {
    padding: 70px 0;
  }
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }
  .countries {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width:600px) {
  .wrap {
    width: min(100% - 32px, 520px);
  }
  .history-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .timeline:before {
    left: 12px;
  }
  .era {
    display: block;
    padding-left: 34px;
  }
  .era-label {
    padding: 12px 0 9px;
    text-align: left;
  }
  .milestone {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .milestone:before {
    top: 32px;
    left: -28px;
  }
  .year {
    margin-bottom: 7px;
  }
  .year small {
    display: inline;
    margin-left: 8px;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .market-card {
    min-height: 0;
    padding: 28px 24px;
  }
  .countries {
    grid-template-columns: 1fr 1fr;
  }
  .country {
    min-height: 158px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid .btn {
    justify-self: start;
  }
}
@media(max-width:390px) {
  .countries {
    grid-template-columns: 1fr;
  }
  .country {
    min-height: 0;
  }
}
