/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1A1A1A;
  line-height: 1.6;
  background: #EEF2F6;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* ===== HEADER ===== */
.site-header {
  border-bottom: 1px solid #D8E0E8;
  position: sticky;
  top: 0;
  background: #EEF2F6;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  color: #E0301E;
}

.site-header nav a {
  margin-left: 32px;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  transition: color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #E0301E;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 100px;
  background: #EEF2F6;
}

.hero h1 {
  font-size: 48px;
  max-width: 700px;
}

.accent {
  color: #E0301E;
}

.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  max-width: 520px;
  color: #4A4A4A;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 28px;
  background: #E0301E;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #B8250F;
}

.btn-light {
  background: #FFFFFF;
  color: #1A1A1A;
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #EAEAEA;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: #E1E9F0;
}

.section-dark {
  background: #1A1A1A;
  color: #FFFFFF;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #E0301E;
  margin-bottom: 12px;
}

.eyebrow-light {
  color: #FF6A52;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.section-text {
  max-width: 620px;
  font-size: 17px;
  color: #4A4A4A;
}

.light-text {
  color: #CCCCCC;
}

/* ===== PROJECT / QUALIFICATION CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: #4A4A4A;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 14px;
  color: #E0301E;
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
  margin-top: 8px;
  border-left: 2px solid #C8D3DC;
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0301E;
  border: 2px solid #EEF2F6;
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.timeline-header h3 {
  font-size: 19px;
}

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: #6B7684;
  white-space: nowrap;
}

.timeline-company {
  font-size: 14px;
  font-weight: 600;
  color: #E0301E;
  margin-bottom: 10px;
}

.timeline-item p:not(.timeline-company) {
  font-size: 15px;
  color: #4A4A4A;
  max-width: 700px;
}

/* ===== SKILLS ===== */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.skills-list li {
  background: #E1E9F0;
  border: 1px solid #D8E0E8;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: #6B7684;
  border-top: 1px solid #D8E0E8;
  background: #EEF2F6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 34px;
  }

  .site-header nav a {
    margin-left: 16px;
    font-size: 13px;
  }

  .section {
    padding: 60px 0;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item::before {
    left: -26px;
  }
}

/* ===== ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #E0301E;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
