/* ==========================================================================
   Yiklam Studio — home.css
   Home page (index.html) specific styles only.
   Shared nav / footer / buttons / tags live in global.css.
   Visual language follows projects.css (section label rows, cards, tags).
   ========================================================================== */

/* ---------- Sections ---------- */
section {
  padding: 64px 0 56px;
}

section:not(.hero):not(.contact-section) {
  border-top: 1px solid var(--border);
}

#about,
#capabilities,
#credentials,
#other-paths,
#contact {
  scroll-margin-top: 110px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 72px 0 64px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent2);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #1F2A2A 0%, #3E6B5C 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-positioning {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 30px;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
  background: var(--tag-bg);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Section headers (match Projects page) ---------- */
.section-label-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 1px;
}

.section-category {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted2);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 660px;
  line-height: 1.6;
}

/* ---------- Capabilities (typographic list) ---------- */
.cap-list {
  border-top: 1px solid var(--border);
}

.cap-item {
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--border);
}

.cap-item h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text);
  margin-bottom: 8px;
}

.cap-item p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
}

/* ---------- About / Journey ---------- */
.about-intro {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Journey timeline */
.journey {
  position: relative;
  padding-left: 22px;
}

.journey::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 24px;
  left: 5px;
  width: 1px;
  background: var(--border);
}

.journey-item {
  position: relative;
  padding: 0 0 32px 32px;
}

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

.journey-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
}

.journey-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.journey-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.journey-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
}

/* ---------- Credentials ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cred-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow);
}

.cred-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent2);
  margin-bottom: 12px;
}

.cred-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.25;
}

.cred-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.cert-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cert-row img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.cert-info h3 {
  font-size: 20px;
}

.cert-info p {
  font-size: 14px;
  margin-bottom: 10px;
}

.cert-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.cert-link:hover {
  border-color: var(--accent);
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  font-size: 15px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.plain-list li:last-child {
  border-bottom: none;
}

/* ---------- Other Paths ---------- */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}

.path-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.path-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Contact ---------- */
.contact-section {
  text-align: center;
  padding: 80px 0 64px;
}

.contact-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted2);
}

/* ---------- Footer update ---------- */
.site-footer .footer-update {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
  margin: 6px 0 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section {
    padding: 52px 0 44px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 44px;
  }

  .about-image {
    max-width: 320px;
  }

  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cred-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .cap-item h3 {
    font-size: 24px;
  }

  .journey-item h4 {
    font-size: 18px;
  }

  .cert-row {
    flex-direction: column;
  }

  .cert-row img {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero-positioning {
    font-size: 17px;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .path-card h3 {
    font-size: 20px;
  }

  .journey {
    padding-left: 16px;
  }

  .journey-item {
    padding-left: 24px;
  }

  .journey-dot {
    left: -19px;
    width: 9px;
    height: 9px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto 24px;
  }
}
