/* ============================================================
   work.css — My Work page styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.work-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  position: relative;
  z-index: 1;
}
.work-h1 {
  font-family: var(--f-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.accent-blue  { color: var(--blue); }
.accent-green { color: var(--green); }
.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
}
.work-intro {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
}
.work-intro .hindi-ref {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--text);
  display: inline-block;
  margin-top: 0.4rem;
}

/* ── Timeline ────────────────────────────────────────────── */
.experience {
  padding: 4rem 0 5rem;
  position: relative;
  z-index: 1;
}
.section-h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3rem;
  line-height: 1.2;
}
.section-h2 .serif-italic { font-family: var(--f-serif); font-style: italic; color: var(--blue); }

.timeline { display: flex; flex-direction: column; gap: 0; }

.tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1.5rem;
  position: relative;
}

.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
}
.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.dot-green { border-color: var(--green); background: rgba(158,255,90,0.2); box-shadow: 0 0 12px rgba(158,255,90,0.4); }
.dot-blue  { border-color: var(--blue);  background: rgba(56,209,245,0.2);  box-shadow: 0 0 12px rgba(56,209,245,0.4);  }
.dot-red   { border-color: var(--red);   background: rgba(255,92,122,0.2);  box-shadow: 0 0 12px rgba(255,92,122,0.4);  }

.tl-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 100%);
  margin-top: 6px;
  min-height: 40px;
}

.tl-content {
  margin-bottom: 2rem;
  padding: 2rem 2.2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.tl-content:hover { transform: translateX(6px); }

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.tl-company {
  font-family: var(--f-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.tl-badge { margin-left: 0.6rem; vertical-align: middle; }
.tl-period {
  font-family: var(--f-alt);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tl-role {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.tl-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.tl-desc strong { color: var(--text); }
.tl-quote {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.tl-quote .hindi-ref { font-family: var(--f-serif); font-style: italic; }

/* Brands list in timeline */
.tl-brands { margin-top: 1rem; }
.tl-brands-label {
  font-family: var(--f-alt);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.6rem;
}
.brands-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brand-chip {
  font-family: var(--f-alt);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: default;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.brand-chip:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* Highlights stats in timeline */
.tl-highlights {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.highlight-stat { display: flex; flex-direction: column; align-items: flex-start; }
.hl-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--blue);
}
.hl-num sup { font-size: 1.2rem; }
.hl-label {
  font-family: var(--f-alt);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Projects Grid ───────────────────────────────────────── */
.projects-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.project-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.project-card:hover { transform: translateY(-6px); }
.proj-tag { margin-bottom: 0.8rem; }
.project-card h3 {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.proj-hindi { margin-top: 0.6rem; }
.proj-hindi .hindi-ref { font-family: var(--f-serif); font-style: italic; color: var(--text-dim); }

/* ── Work Gallery ────────────────────────────────────────── */
.work-gallery {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.gallery-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.gallery-note .hindi-ref { font-family: var(--f-serif); font-style: italic; color: var(--text-muted); }

/* ── Work CTA ────────────────────────────────────────────── */
.work-cta {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.wc-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.wc-inner::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
  pointer-events: none;
}
.wc-inner h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  max-width: 500px;
}
.wc-inner h2 .serif-italic { font-family: var(--f-serif); font-style: italic; color: var(--green); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .tl-item { grid-template-columns: 26px 1fr; gap: 0 1rem; }
  .tl-highlights { gap: 1.2rem; }
  .wc-inner { flex-direction: column; text-align: center; }
}
