/* ============================================================
   styles/index.css  — Styles specific to index.html
   ============================================================ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero__bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
}

/* Hero entrance animation */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__eyebrow-line { display: block; width: 32px; height: 1px; background: var(--gold); }

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero__name em { font-style: italic; color: var(--gold); }

.hero__role {
  font-size: 1.05rem; color: var(--ink-3);
  font-weight: 400; margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

/* Discipline badges */
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  letter-spacing: 0.02em;
}
.badge i { color: var(--gold); font-size: 0.7rem; }

.hero__cta {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero__socials { display: flex; align-items: center; gap: 0.75rem; }

/* Image side */
.hero__img-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero__img-ring {
  width: min(370px, 90%);
  aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--bg-alt));
  padding: 6px; box-shadow: var(--shadow-lg);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Floating chips */
.hero__chip {
  position: absolute;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero__chip i { color: var(--gold); }
.hero__chip--tl { top: 12%; left: -8%; animation-delay: 0s; }
.hero__chip--br { bottom: 14%; right: -6%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  animation: fadeInUp 1s 1s var(--ease) both;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── CLIENTS STRIP ─── */
.clients-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.clients-strip__label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 0.75rem;
}
.clients-strip__track {
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.client-name {
  font-size: 0.9rem; font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.client-name:hover { color: var(--gold); }
.client-dot { color: var(--gold); font-size: 1.2rem; line-height: 1; }

/* ─── ABOUT ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem; align-items: center;
}
.about__img-wrap { position: relative; }
.about__img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: var(--radius); background: var(--gold);
  opacity: 0.12; z-index: -1;
}
.about__text p { color: var(--ink-2); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.section__title em { font-style: italic; color: var(--gold); }

/* Service chips */
.about__services {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; margin: 1.5rem 0 2rem;
}
.service-chip {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.service-chip:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.service-chip > i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.service-chip div { display: flex; flex-direction: column; gap: 0.1rem; }
.service-chip strong { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.service-chip span { font-size: 0.72rem; color: var(--ink-3); }

/* Stats */
.about__stats {
  display: flex; gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 500;
  color: var(--gold); line-height: 1; display: block;
}
.stat-label {
  font-size: 0.78rem; font-weight: 500;
  color: var(--ink-3); letter-spacing: 0.05em;
  text-transform: uppercase; display: block; margin-top: 0.3rem;
}

/* ─── EXPERIENCE ─── */
.exp__header { text-align: center; margin-bottom: 3rem; }
.exp__intro { color: var(--ink-3); font-size: 0.95rem; max-width: 500px; margin: 0.5rem auto 0; }

.exp__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: start;
}

/* Timeline */
.exp__timeline { padding-left: 1rem; }
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid var(--border);
}
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item--active { border-left-color: var(--gold); }

.timeline-dot {
  position: absolute; left: -7px; top: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
}
.timeline-item--active .timeline-dot { background: var(--gold); }

.timeline-year {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}
.timeline-body h4 {
  font-size: 1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.2rem;
}
.timeline-body > p { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 0.75rem; }

.timeline-bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.timeline-bullets li {
  font-size: 0.82rem; color: var(--ink-2);
  padding-left: 1rem; position: relative;
}
.timeline-bullets li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }

/* Skill tabs + bars */
.exp__tabs {
  display: flex; gap: 0.75rem;
  margin-bottom: 2rem;
}
.exp__tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink-2); cursor: pointer;
  transition: all 0.25s var(--ease);
}
.exp__tab i { font-size: 0.8rem; }
.exp__tab:hover { border-color: var(--gold); color: var(--gold); }
.exp__tab.active {
  background: var(--gold); border-color: var(--gold); color: #fff;
  box-shadow: 0 4px 14px rgba(189,131,49,0.28);
}

.skills-panel { display: none; animation: fadeUp 0.4s var(--ease); }
.skills-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.skill-item { margin-bottom: 1.6rem; }
.skill-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.skill-name { font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.skill-pct  { font-size: 0.78rem; font-weight: 600; color: var(--gold); }
.skill-track { height: 5px; background: var(--border); border-radius: 999px; overflow: hidden; }
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px; width: 0;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}

/* ─── FEATURED WORK ─── */
.work__header { text-align: center; margin-bottom: 3rem; }
.work__intro { color: var(--ink-3); font-size: 0.95rem; max-width: 440px; margin: 0.5rem auto 0; }

.work__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.work-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  text-decoration: none;
  color: inherit;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }

.work-card--large { grid-row: span 2; display: flex; flex-direction: column; }
.work-card--large .work-card__img-wrap { flex: 1; }

.work-card__img-wrap {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; background: var(--bg-alt);
}
.work-card--large .work-card__img-wrap { aspect-ratio: unset; height: 100%; min-height: 280px; }

.work-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}
.work-card:hover .work-card__img-wrap img { transform: scale(1.05); }

.work-card__info {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.work-card__cat {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.4rem;
  line-height: 1.25;
}
.work-card__desc { font-size: 0.82rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 0.85rem; }
.work-card__cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}
.work-card:hover .work-card__cta { gap: 0.6rem; }

.work__footer { text-align: center; }

/* ─── TESTIMONIALS ─── */
.testi__header { text-align: center; margin-bottom: 3rem; }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testi-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); }
.testi-card__stars {
  display: flex; gap: 0.2rem;
  color: var(--gold); font-size: 0.8rem;
  margin-bottom: 1rem;
}
.testi-card blockquote {
  font-size: 0.9rem; color: var(--ink-2);
  line-height: 1.75; font-style: italic;
  margin-bottom: 1.5rem;
  border: none; padding: 0;
}
.testi-card__author {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testi-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-card__author div { display: flex; flex-direction: column; gap: 0.1rem; }
.testi-card__author strong { font-size: 0.85rem; color: var(--ink); font-weight: 600; }
.testi-card__author span { font-size: 0.75rem; color: var(--ink-3); }

/* ─── CONTACT ─── */
.contact__header { text-align: center; margin-bottom: 3rem; }
.contact__header p { color: var(--ink-3); font-size: 0.95rem; max-width: 480px; margin: 0.5rem auto 0; }
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 680px; margin: 0 auto;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s var(--ease); box-shadow: var(--shadow-sm);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.contact-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.3rem; color: var(--gold);
}
.contact-card__title { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.contact-card__sub { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.contact-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  transition: gap 0.2s;
}
.contact-card__link:hover { gap: 0.7rem; }

/* Footer extras */
.footer__tagline { font-size: 0.78rem; color: var(--ink-3); margin-top: 0.2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .testi__grid { grid-template-columns: 1fr 1fr; }
  .exp__layout { grid-template-columns: 1fr; gap: 3rem; }
  .exp__timeline { border-left: 2px solid var(--gold); padding-bottom: 0; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero__img-wrap { order: -1; }
  .hero__img-ring { width: min(260px, 70vw); }
  .hero__cta, .hero__socials, .hero__badges, .hero__eyebrow { justify-content: center; }
  .hero__chip--tl { top: 5%; left: 0; }
  .hero__chip--br { bottom: 5%; right: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__img-wrap { max-width: 380px; margin: 0 auto; }
  .about__img-accent { display: none; }
  .work__grid { grid-template-columns: 1fr 1fr; }
  .work-card--large { grid-row: auto; }
  .work-card--large .work-card__img-wrap { aspect-ratio: 1; height: auto; }
}

@media (max-width: 640px) {
  .testi__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .about__services { grid-template-columns: 1fr; }
  .about__stats { gap: 1.25rem; }
  .stat-num { font-size: 1.9rem; }
  .exp__tabs { flex-wrap: wrap; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__chip { display: none; }
  .hero__scroll-hint { display: none; }
  .clients-strip__track { justify-content: center; }
}
