/* ============================================
   CUSTOM CSS — Rayane Baitiche Portfolio
   Ajouts au template Ikonicwebs (ne pas toucher style.css)
   ============================================ */

/* ---- Smooth scroll for anchor links ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Nav active link: underline instead of strikethrough ---- */
nav ul li a:before {
  top: auto !important;
  bottom: 0;
  height: 2px !important;
  border-radius: 1px;
}

/* ---- Fix: overflow-x clip instead of hidden so sticky works ---- */
html,
body {
  overflow-x: clip;
}

/* ---- Fix layout sidebar + contenu cote a cote ---- */
.resume-wrapper {
  display: flex;
  gap: 8.125rem;
  align-items: flex-start;
}
.resume-sidebar {
  flex: 0 0 25.9375rem;
  max-width: 25.9375rem;
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
  height: fit-content;
}
.resume-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 34.0625rem);
}
.resume-sidebar .theiaStickySidebar,
.resume-content .theiaStickySidebar {
  width: 100%;
}
@media (max-width: 991px) {
  .resume-wrapper { flex-direction: column; gap: 2.5rem; }
  .resume-sidebar { flex: 1 1 100%; max-width: 100%; width: 100%; position: relative !important; top: 0; }
  .resume-content { flex: 1 1 100%; max-width: 100%; width: 100%; }
}

/* ============================================
   SIDEBAR PREMIUM
   ============================================ */
.sidebar-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* Photo wrapper */
.sidebar-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #7c5dd4 0%, #9b7ee8 100%);
}
.sidebar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sidebar-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color2);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--Bricolage-Grotesque);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* OPT status badge */
.sidebar-opt {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.02em;
  font-family: var(--Bricolage-Grotesque);
}

/* Identity */
.sidebar-identity {
  padding: 16px 20px 0;
  text-align: center;
}
.sidebar-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--color2);
  font-family: var(--Bricolage-Grotesque);
}
.sidebar-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--scheme2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.sidebar-tags {
  display: block;
  font-size: 12px;
  color: var(--color6);
  letter-spacing: 0.02em;
}

/* Mini stats */
.sidebar-stats {
  display: flex;
  gap: 10px;
  padding: 14px 20px 0;
}
.sidebar-stat {
  flex: 1;
  background: #f4f2fb;
  border: 1px solid #ebe7f5;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}
.sidebar-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  font-family: var(--Bricolage-Grotesque);
  line-height: 1.2;
}
.sidebar-stat span {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Info lines */
.sidebar-info {
  list-style: none;
  margin: 12px 20px 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--color4);
}
.sidebar-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: #4a4a4a;
}
.sidebar-info li i {
  width: 18px;
  text-align: center;
  color: var(--scheme2);
  font-size: 15px;
  flex-shrink: 0;
}
.sidebar-info li a {
  color: #4a4a4a;
  transition: var(--transition);
}
.sidebar-info li a:hover {
  color: var(--scheme2);
}

/* Download button */
.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 20px 0;
  padding: 12px 0;
  background: var(--scheme2);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--Bricolage-Grotesque);
  transition: var(--transition);
}
.sidebar-btn:hover {
  background: #5237a8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 68, 198, 0.35);
}
.sidebar-btn i {
  font-size: 16px;
}

/* Social bar */
.sidebar-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 14px 20px;
  background: var(--scheme2);
  border-radius: 0 0 24px 24px;
}
.sidebar-social > span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--Bricolage-Grotesque);
}
.sidebar-social-links {
  display: flex;
  gap: 10px;
}
.sidebar-social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}
.sidebar-social-links .svg-tiktok {
  width: 15px;
  height: 15px;
}
.sidebar-social-links a:hover {
  background: #fff;
  color: var(--scheme2);
  border-color: #fff;
}
.sidebar-social-note {
  width: 100%;
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Hero title ---- */
.hero-title {
  font-size: 28px !important;
  line-height: 1.15;
}
.hero-title span {
  color: #8B2D8C;
}

/* ---- Hero paragraph ---- */
.hero-desc {
  color: #2A2A2E !important;
}

/* ---- Stats alignment ---- */
.stat-label-short { display: none; }
.fun-fact-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.fun-fact-box .stat-icon {
  order: 0;
  margin-bottom: 8px;
  opacity: 0.85;
}
.fun-fact-box > span {
  order: 1;
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
}
.fun-fact-box > h3 {
  order: 2;
}
.fun-fact-box .stat-caption {
  order: 3;
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  letter-spacing: 0.02em;
  min-height: 1.2em;
}

/* ---- Fix WOW.js : garantir la visibilite du contenu ---- */
.wow {
  visibility: visible !important;
}

/* ---- About columns ---- */
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 991px) {
  .about-columns { grid-template-columns: 1fr; }
}

/* ---- About text ---- */
.about-text p {
  color: var(--color6);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ---- Language pills ---- */
.lang-block {
  margin-top: 20px;
}
.lang-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 8px;
}
.lang-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lang-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #8B2D8C;
  border: 1.5px solid rgba(139, 45, 140, 0.3);
  background: rgba(139, 45, 140, 0.06);
  font-family: var(--Bricolage-Grotesque);
}

/* ---- Journey timeline card ---- */
.journey-card {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.journey-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color2);
  font-family: var(--Bricolage-Grotesque);
  margin: 0 0 20px;
}
.journey-timeline {
  position: relative;
  padding-left: 20px;
}
.journey-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: #e0dce8;
}
.journey-timeline::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: #8B2D8C;
  transform-origin: top;
  transform: scaleY(0);
}
.journey-entry {
  position: relative;
  padding-bottom: 22px;
}
.journey-entry:last-child {
  padding-bottom: 0;
}
.journey-entry::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8B2D8C;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #8B2D8C;
}

/* ---- Journey animation (triggered by .is-animated) ---- */
.journey-timeline.is-animating::after {
  animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes drawLine {
  to { transform: scaleY(1); }
}
.journey-timeline.is-animating .journey-entry {
  opacity: 0;
  transform: translateY(10px);
  animation: revealEntry 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.journey-timeline.is-animating .journey-entry:nth-child(1) { animation-delay: 0.15s; }
.journey-timeline.is-animating .journey-entry:nth-child(2) { animation-delay: 0.35s; }
.journey-timeline.is-animating .journey-entry:nth-child(3) { animation-delay: 0.55s; }
.journey-timeline.is-animating .journey-entry:nth-child(4) { animation-delay: 0.75s; }
.journey-timeline.is-animating .journey-entry:nth-child(5) { animation-delay: 0.95s; }
@keyframes revealEntry {
  to { opacity: 1; transform: translateY(0); }
}
.journey-year {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #8B2D8C;
  font-family: var(--Bricolage-Grotesque);
  margin-bottom: 2px;
}
.journey-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color2);
  line-height: 1.3;
  margin-bottom: 2px;
}
.journey-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ---- Service section spacing ---- */
.sec-title-wrap:has(+ .service-grid) { margin-bottom: 30px !important; }

/* ---- Service grid (2×3) ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 575px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---- Service boxes ---- */
.service-box {
  background: var(--white);
  border: 1px solid var(--color4) !important;
  padding: 28px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.service-box:hover {
  border-color: var(--color4) !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.service-box .serv-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #8B2D8C;
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}
.service-box h4 {
  margin-bottom: 12px;
  font-weight: 800 !important;
  color: #1a1a1a;
  font-family: var(--Bricolage-Grotesque);
}
.service-box p {
  color: #888 !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px !important;
}

/* ---- Service skill tags ---- */
.serv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.serv-tags span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  background: #f5f4f7;
  letter-spacing: 0.01em;
  font-family: var(--Bricolage-Grotesque);
}
.row.mrg .col-md-6 { margin-bottom: 24px; }

/* ============================================
   PERFORMANCE VIDEO CARDS
   ============================================ */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.perf-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color4);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.perf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(139, 45, 140, 0.15);
}
.perf-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, #2e2438, #1a1620);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.perf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.perf-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55));
  z-index: 1;
  pointer-events: none;
}
.perf-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 45, 140, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  transition: transform 0.3s ease;
}
.perf-play i {
  margin-left: 3px;
}
.perf-card:hover .perf-play {
  transform: scale(1.12);
}
.perf-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px 7px;
  font-size: 18px;
  font-weight: 800;
  color: #8B2D8C;
  font-family: var(--Bricolage-Grotesque);
  z-index: 2;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}
.perf-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  margin-top: 2px;
}
.perf-caption {
  display: block;
  padding: 14px 16px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
@media (max-width: 991px) {
  .perf-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 575px) {
  .perf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .perf-card:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}

/* ============================================
   EMBED GRID (TikTok + Instagram)
   ============================================ */
.embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}
.embed-cell {
  border-radius: 15px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color4);
  height: 580px;
  position: relative;
}
.embed-cell blockquote {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}
.embed-cell iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 580px !important;
  border: none !important;
  margin: 0 !important;
}
@media (max-width: 991px) {
  .embed-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .embed-cell { height: 480px; }
  .embed-cell iframe { height: 480px !important; }
}
@media (max-width: 575px) {
  .embed-grid { grid-template-columns: 1fr; gap: 16px; }
  .embed-cell { height: 520px; }
  .embed-cell iframe { height: 520px !important; }
}

/* ============================================
   VIDEO GALLERY 9:16 (vertical) — legacy
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}
.video-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  overflow: hidden;
  background: #1a1620;
  border: 1px solid var(--color4);
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--scheme2);
  box-shadow: 0 18px 40px rgba(99, 68, 198, 0.25);
}
.video-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #241c2e;
  background-image: linear-gradient(160deg, #2e2438, #1a1620);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--scheme2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}
.video-card:hover .video-play {
  transform: scale(1.15);
}
.video-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.video-views {
  color: #fff;
  font-family: var(--Bricolage-Grotesque);
  font-weight: 700;
  font-size: 16px;
}
.video-plat {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Brand chips ---- */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}
.brand-chip {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 12px;
  padding: 16px 30px;
  font-family: var(--Bricolage-Grotesque);
  font-weight: 600;
  font-size: 18px;
  color: var(--color2);
  transition: var(--transition);
}
.brand-chip:hover {
  border-color: var(--scheme2);
  color: var(--scheme2);
}

/* ---- Contact CTA ---- */
.contact-cta {
  background: var(--white);
  border: 1px solid var(--color4);
  padding: 36px 32px 32px;
}
.contact-cta h2 {
  margin-bottom: 8px;
  font-size: 28px;
}
.contact-cta p {
  color: var(--color6);
  font-size: 15px;
  margin-bottom: 16px;
}
.cta-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  font-family: var(--Bricolage-Grotesque);
}
.cta-detail i {
  color: #8B2D8C;
  font-size: 15px;
}
.cta-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.cta-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 15px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cta-social a:hover {
  background: #8B2D8C;
  color: #fff;
  border-color: #8B2D8C;
}
.cta-social .svg-tiktok {
  width: 14px;
  height: 14px;
}

/* ---- Skill tags (page portfolio) ---- */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.skill-tag {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color6);
}
.skill-tag.is-cert {
  border-color: rgba(99, 68, 198, 0.4);
  color: var(--color2);
  font-weight: 700;
}

/* ============================================
   WEB PROJECTS GRID
   ============================================ */
.web-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.web-project-card {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.web-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(139, 45, 140, 0.12);
}
.web-project-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ecfa, #e6e0f5);
}
.web-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.web-project-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.web-project-info h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: #1a1a1a;
  font-family: var(--Bricolage-Grotesque);
}
.web-project-type {
  font-size: 12px;
  font-weight: 700;
  color: #8B2D8C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.web-project-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin: 4px 0 0;
}
.web-project-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  background: #f5f4f7;
  font-family: var(--Bricolage-Grotesque);
  align-self: flex-start;
}
.web-project-live {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #8B2D8C;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.web-project-link:hover .web-project-live {
  text-decoration: underline;
}
.web-projects-cta {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--Bricolage-Grotesque);
  color: #8B2D8C;
  border: 1.5px solid #8B2D8C;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: var(--transition);
}
.web-projects-cta:hover {
  background: #8B2D8C;
  color: #fff;
}

/* ============================================
   DESIGN & SOCIAL MEDIA WORK
   ============================================ */
.creative-block {
  margin-bottom: 50px;
}
.creative-block:last-child {
  margin-bottom: 0;
}
.creative-block-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  font-family: var(--Bricolage-Grotesque);
  margin: 0 0 4px;
}
.creative-block-context {
  font-size: 13px;
  color: #888;
  margin: 0 0 18px;
}
.creative-block-link {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 20px;
  border: 1.5px solid #8B2D8C;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #8B2D8C;
  font-family: var(--Bricolage-Grotesque);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.creative-block-link:hover {
  background: #8B2D8C;
  color: #fff;
}

.creative-grid {
  display: grid;
  gap: 18px;
}
.creative-grid--logos {
  grid-template-columns: repeat(6, 1fr);
}
.creative-grid--vertical {
  grid-template-columns: repeat(6, 1fr);
}
.creative-grid--5col {
  grid-template-columns: repeat(3, 1fr);
}

.creative-item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.creative-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(139, 45, 140, 0.12);
}
.creative-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creative-item--logo {
  aspect-ratio: 1 / 1;
}
.creative-item--logo img {
  object-fit: cover;
}

.creative-item--vert {
  aspect-ratio: 9 / 16;
}

.creative-item--4x5 {
  aspect-ratio: 4 / 5;
}

.creative-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creative-item--video {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.creative-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 45, 140, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1;
  transition: transform 0.3s ease;
}
.creative-play i {
  margin-left: 2px;
}
.creative-item--video:hover .creative-play {
  transform: translate(-50%, -50%) scale(1.12);
}

@media (min-width: 769px) {
  .creative-block .row,
  .creative-grid--5col {
    max-width: 75%;
  }
  .journey-entry {
    padding-bottom: 14px;
  }
  .journey-year {
    font-size: 11px;
    margin-bottom: 1px;
  }
  .journey-title {
    font-size: 13px;
    margin-bottom: 1px;
  }
  .journey-desc {
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (max-width: 991px) {
  .creative-grid--logos { grid-template-columns: repeat(3, 1fr); }
  .creative-grid--vertical { grid-template-columns: repeat(4, 1fr); }
  .creative-grid--5col { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .creative-grid--logos { grid-template-columns: repeat(2, 1fr); }
  .creative-grid--vertical { grid-template-columns: repeat(2, 1fr) !important; }
  .creative-grid--5col { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESULTS GRID
   ============================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
}
.result-card:hover {
  border-color: var(--scheme2);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(99, 68, 198, 0.12);
}
.result-card h3 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--scheme2);
  font-family: var(--Bricolage-Grotesque);
  line-height: 1;
}
.result-card span {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
  display: block;
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
  cursor: default;
}
.cert-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.cert-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f4f2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  flex-shrink: 0;
}
.cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cert-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 1px;
  color: var(--color2);
  font-family: var(--Bricolage-Grotesque);
  line-height: 1.3;
}
.cert-issuer {
  font-size: 12px;
  color: #888;
}

/* ============================================
   SKILLS & TOOLS
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.skill-group {
  background: var(--white);
  border: 1px solid var(--color4);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.skill-group-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  font-family: var(--Bricolage-Grotesque);
  margin: 0 0 14px;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  background: #f5f4f7;
  font-family: var(--Bricolage-Grotesque);
  letter-spacing: 0.01em;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.skill-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  background: #efedf4;
}
.skill-chip-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.skill-chip-fa {
  width: 16px;
  font-size: 13px;
  text-align: center;
  color: #aaa;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .skills-grid { grid-template-columns: 1fr; }
}

/* ---- Utility ---- */
.mt-50 { margin-top: 50px; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .web-projects-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-cta { padding: 40px 22px; }
  .service-box { padding: 24px; }
  .cert-card { padding: 18px 16px; gap: 14px; }
}

/* ============================================
   MOBILE HAMBURGER — base styles (hidden on desktop)
   ============================================ */
.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1.5px solid #e0dce8;
  border-radius: 8px;
  cursor: pointer;
  z-index: 100001;
  transition: border-color 0.2s ease;
}
.mobile-hamburger:hover {
  border-color: #8B2D8C;
}
.mobile-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #8B2D8C;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.mobile-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  display: none;
}
.mobile-nav-overlay {
  display: none;
}

/* ============================================
   MOBILE — 768px and below
   ============================================ */
@media (max-width: 768px) {
  /* -- Header: mobile hamburger layout -- */
  .logo-menu-wrapper {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .logo h1 a {
    font-size: 18px !important;
  }
  header nav:not(.mobile-nav) {
    display: none !important;
  }
  .header-right .res-menu-btn,
  .header-right .theme-btn {
    display: none !important;
  }
  .mobile-hamburger {
    display: flex;
  }

  /* -- Sidebar badges: stack vertically -- */
  .sidebar-badge {
    font-size: 11px;
    padding: 4px 10px;
    bottom: 34px !important;
    left: 8px !important;
  }
  .sidebar-opt {
    font-size: 11px;
    padding: 4px 10px;
    bottom: 8px !important;
    left: 8px !important;
    right: auto !important;
  }

  /* -- Language pills: side-by-side -- */
  .lang-pills {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    flex-wrap: wrap;
  }
  .lang-pill {
    flex: 1;
    width: auto !important;
    min-width: 0;
    text-align: center;
    padding: 6px 10px;
  }

  /* -- Layout: stack sidebar + content -- */
  .resume-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .resume-sidebar {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    position: relative !important;
    top: 0;
  }
  .resume-content {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  /* -- Section spacing -- */
  .pt-60 { padding-top: 30px; }
  .pb-130 { padding-bottom: 60px; }
  .pt-110, .pt-140 { padding-top: 60px; }
  .mt-90 { margin-top: 40px !important; }
  .mt-50 { margin-top: 30px; }
  .mb-50 { margin-bottom: 24px !important; }

  /* -- Hero typography -- */
  .hero-title {
    font-size: 22px !important;
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .sec-sub {
    font-size: 11px;
    padding: 5px 14px;
  }
  .sz-40 { font-size: 24px; }
  .sz-30 { font-size: 20px; }

  /* -- Stats bar: 2×2 grid, number-first layout -- */
  .fun-fact-boxes .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .fun-fact-boxes .row > div {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
  }
  .fun-fact-box {
    padding: 16px 12px !important;
    align-items: center !important;
    text-align: center;
    background: #f9f8fc;
    border-radius: 14px;
    border: 1px solid #ebe7f5;
    min-height: 110px;
    justify-content: center !important;
  }
  .fun-fact-box .stat-icon {
    display: none !important;
  }
  .fun-fact-box > h3 {
    order: 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #8B2D8C !important;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .fun-fact-box > span {
    order: 1 !important;
    font-size: 12px;
    color: #888;
    min-height: auto !important;
    align-items: center !important;
    line-height: 1.3;
    white-space: nowrap;
  }
  .fun-fact-box .stat-caption {
    order: 2 !important;
    font-size: 10px;
    color: #aaa;
    margin-top: 1px;
  }
  .stat-label-full { display: none; }
  .stat-label-short { display: inline; }

  /* -- About columns -- */
  .about-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-text p {
    font-size: 14px;
  }

  /* -- Journey card -- */
  .journey-card {
    padding: 20px 18px;
  }

  /* -- Service grid -- */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-box {
    padding: 20px 18px;
  }
  .service-box h4 {
    font-size: 18px !important;
  }

  /* -- Performance video grid -- */
  .perf-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 72%;
    margin-left: auto;
    margin-right: auto;
  }
  .perf-card:last-child {
    grid-column: auto;
    max-width: 100%;
    justify-self: auto;
  }
  .perf-views {
    font-size: 14px;
    padding: 6px 10px 5px;
    border-radius: 8px;
    bottom: 8px;
    left: 8px;
  }
  .perf-sub { font-size: 10px; }
  .perf-play {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .perf-caption {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* -- Web projects: 2×2 grid -- */
  .web-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .web-project-img {
    aspect-ratio: 1 / 1;
  }
  .web-project-info {
    padding: 10px 10px 12px;
    gap: 2px;
  }
  .web-project-info h4 {
    font-size: 14px;
  }
  .web-project-type {
    font-size: 10px;
  }
  .web-project-desc {
    font-size: 11px;
    line-height: 1.4;
  }
  .web-project-tag {
    font-size: 9px;
    padding: 3px 7px;
  }
  .web-project-live {
    font-size: 10px;
    margin-top: 4px;
  }
  .web-projects-cta {
    font-size: 13px;
    padding: 10px 24px;
  }

  /* -- Creative grids -- */
  .creative-grid--logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .creative-grid--vertical {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .creative-grid--5col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* -- Certifications -- */
  .cert-card {
    padding: 12px 14px;
    gap: 12px;
  }
  .cert-name { font-size: 13px; }
  .cert-logo {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  /* -- Skills grid -- */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .skill-group {
    padding: 18px 16px;
  }

  /* -- Contact CTA -- */
  .contact-cta {
    padding: 28px 18px;
  }
  .contact-cta h2 {
    font-size: 22px;
  }
  .contact-cta p {
    font-size: 13px;
  }
  .cta-avail-desktop { display: none !important; }
  .cta-avail-mobile { display: block !important; margin-bottom: 20px !important; }
  .cta-detail-email { display: none !important; }
  .cta-detail-location { display: none !important; }
  .cta-details { display: none !important; }
  .cta-resume-mobile-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 0 28px;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8B2D8C;
    background: transparent;
    border: 2px solid #8B2D8C;
    text-decoration: none;
    font-family: var(--Bricolage-Grotesque);
  }
  .cta-resume-mobile-btn i { font-size: 16px; }

  /* -- Lightbox: bottom-center nav on mobile -- */
  .lightbox-overlay {
    position: fixed !important;
  }
  .lightbox-overlay img,
  .lightbox-overlay video {
    max-width: 85vw !important;
    max-height: 70vh !important;
  }
  .lightbox-prev {
    position: absolute !important;
    top: auto !important;
    bottom: 60px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-80px) !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    background: #8B2D8C !important;
    border-color: #8B2D8C !important;
    color: #fff !important;
  }
  .lightbox-next {
    position: absolute !important;
    top: auto !important;
    bottom: 60px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(36px) !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    background: #8B2D8C !important;
    border-color: #8B2D8C !important;
    color: #fff !important;
  }
  .lightbox-counter {
    position: absolute !important;
    bottom: 72px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 12px !important;
  }
  .lightbox-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  /* -- Intro buttons -- */
  .intro-btns {
    flex-direction: column;
    gap: 12px;
  }
  .intro-btns .theme-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* -- Mobile nav menu -- */
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 100000;
    padding: 80px 28px 28px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-nav.is-open {
    right: 0;
  }
  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: none !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .mobile-nav ul li a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: var(--Bricolage-Grotesque);
    border-bottom: 1px solid #f0eef5;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .mobile-nav ul li:first-child a {
    border-top: 1px solid #f0eef5;
  }
  .mobile-nav ul li a:hover {
    color: #8B2D8C;
  }
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
  }
  .mobile-nav-overlay.is-open {
    display: block;
  }

  /* -- Prevent horizontal overflow -- */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================
   LIGHTBOX — Creative Work section
   ============================================ */
#creative-work .creative-item {
  cursor: pointer;
}
#creative-work .creative-item::after {
  content: "\f065";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}
#creative-work .creative-item:hover::after {
  opacity: 1;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.is-visible {
  opacity: 1;
}
.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  line-height: 1;
}
.lightbox-close:hover {
  background: #8B2D8C;
  border-color: #8B2D8C;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  line-height: 1;
  z-index: 1;
}
.lightbox-prev { left: max(12px, calc(5vw - 56px)); }
.lightbox-next { right: max(12px, calc(5vw - 56px)); }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #8B2D8C;
  border-color: #8B2D8C;
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--Bricolage-Grotesque);
  letter-spacing: 0.08em;
}
