*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #FAFAF8;
  --surface:    #FFFFFF;
  --surface-2:  #F3F1EE;
  --border:     rgba(0,0,0,0.09);
  --border-2:   rgba(0,0,0,0.05);
  --burgundy:   #8B1A1A;
  --burg-2:     #6B1212;
  --burg-light: rgba(139,26,26,0.08);
  --burg-glow:  rgba(139,26,26,0.2);
  --text:       #111111;
  --text-2:     #666666;
  --text-3:     #AAAAAA;
  --ring:       linear-gradient(45deg,#8B1A1A,#C0392B,#E91E8C,#FF6B35);
  --shadow:     0 1px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── ENTRANCE ANIMATIONS ─────────────── */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .profile-pic-wrap {
    animation: fadeInScale 0.6s ease-out forwards;
  }
  .profile-top-row {
    animation: fadeIn 0.5s ease-out 0.15s forwards;
    opacity: 0;
  }
  .profile-counts {
    animation: fadeIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
  }
  .profile-bio {
    animation: fadeIn 0.5s ease-out 0.45s forwards;
    opacity: 0;
  }
  .followed-by {
    animation: fadeIn 0.5s ease-out 0.6s forwards;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-pic-wrap,
  .profile-top-row,
  .profile-counts,
  .profile-bio,
  .followed-by {
    animation: none;
    opacity: 1;
  }
}

/* ── NAV ─────────────────────────────── */
.ig-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 935px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem;
}
.nav-handle {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}
.handle-lock { width: 13px; height: 13px; color: var(--text-3); }
.nav-hire {
  padding: 0.42rem 1.2rem;
  background: var(--burgundy); color: #fff;
  border-radius: 8px; text-decoration: none;
  font-size: 0.82rem; font-weight: 600;
  transition: background 0.2s;
}
.nav-hire:hover { background: var(--burg-2); }

/* ── PAGE ────────────────────────────── */
.ig-page { max-width: 935px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* ── PROFILE HEADER ──────────────────── */
.profile-header {
  display: flex; gap: 4rem; align-items: flex-start;
  margin-bottom: 2.5rem;
}
.profile-pic-wrap { flex-shrink: 0; }
.profile-ring {
  width: 150px; height: 150px; border-radius: 50%;
  overflow: hidden;
}
.profile-img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: center;
  border: 3px solid var(--bg); display: block;
}
.profile-info { flex: 1; }
.profile-top-row {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.profile-top-row h1 { font-size: 1.4rem; font-weight: 300; color: var(--text); }
.hire-btn {
  padding: 0.42rem 1.4rem;
  background: var(--burgundy); color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s; box-shadow: 0 2px 10px var(--burg-glow);
}
.hire-btn:hover { background: var(--burg-2); }
.msg-btn {
  padding: 0.42rem 1.4rem;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s;
}
.msg-btn:hover { border-color: var(--burgundy); }

.profile-counts { display: flex; gap: 2.5rem; margin-bottom: 1.25rem; }
.count-item strong { display: block; font-size: 1.05rem; font-weight: 700; }
.count-item span   { font-size: 0.82rem; color: var(--text-2); }

.profile-bio { line-height: 1.65; }
.bio-name     { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.bio-category { font-size: 0.85rem; color: var(--text-2); margin-bottom: 0.5rem; }
.bio-line     { font-size: 0.85rem; margin-bottom: 0.1rem; }
.bio-link     { font-size: 0.85rem; color: var(--burgundy); font-weight: 500; margin-top: 0.4rem; }

.followed-by { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.followed-avatars { display: flex; flex-shrink: 0; }
.followed-av {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--surface-2);
  border: 2px solid var(--bg); margin-left: -8px;
}
.followed-av img { width: 100%; height: 100%; object-fit: cover; }
.followed-av:first-child { margin-left: 0; }
.followed-text { font-size: 0.85rem; color: var(--text-2); }
.followed-text strong { color: var(--text); font-weight: 600; }

/* ── HIGHLIGHTS ──────────────────────── */
.highlights-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.highlights-row {
  display: flex; gap: 1.75rem;
  overflow-x: auto; scrollbar-width: none;
}
.highlights-row::-webkit-scrollbar { display: none; }
.highlight-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.highlight-ring-wrap {
  width: 72px; height: 72px; border-radius: 50%; padding: 2.5px;
  background: var(--ring);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight-item:hover .highlight-ring-wrap {
  transform: scale(1.06); box-shadow: 0 0 18px var(--burg-glow);
}
.highlight-circle {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.highlight-label { font-size: 0.72rem; color: var(--text-2); font-weight: 500; }

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 var(--burg-glow); }
  70% { box-shadow: 0 0 0 10px rgba(139,26,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,26,26,0); }
}

@media (prefers-reduced-motion: no-preference) {
  .highlight-item:hover .highlight-ring-wrap {
    animation: pulseRing 0.6s ease-out;
    transform: scale(1.06) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-item:hover .highlight-ring-wrap {
    transform: scale(1.06);
  }
}

/* ── TAB BAR ─────────────────────────── */
.tab-bar { display: flex; justify-content: center; gap: 6rem; border-bottom: 1px solid var(--border); }
.tab-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0.8rem 0.5rem; background: none; border: none; cursor: pointer;
  color: var(--text-3); position: relative; transition: color 0.2s;
}
.tab-btn svg { width: 22px; height: 22px; }
.tab-btn.active { color: var(--text); }
.tab-btn.active::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px; background: var(--text);
}
.tab-btn[data-tab="reels"] { display: none; }

/* ── TAB CONTENT ─────────────────────── */
.tab-content {
  display: none;
  opacity: 0;
  transform: scale(0.98);
}
.tab-content.active {
  display: block;
}

@keyframes tabEnter {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .tab-content.active {
    animation: tabEnter 0.3s ease-out forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-content {
    opacity: 1;
    transform: scale(1);
  }
  .tab-content.active {
    animation: none;
  }
}

/* ── POSTS GRID ──────────────────────── */
.posts-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
}

@keyframes tileEnter {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .posts-grid .post-thumb {
    animation: tileEnter 0.5s ease-out forwards;
    opacity: 0;
  }
  .posts-grid .post-thumb:nth-child(1) { animation-delay: 0ms; }
  .posts-grid .post-thumb:nth-child(2) { animation-delay: 60ms; }
  .posts-grid .post-thumb:nth-child(3) { animation-delay: 120ms; }
  .posts-grid .post-thumb:nth-child(n+4) { animation-delay: 180ms; }
}

@media (prefers-reduced-motion: reduce) {
  .posts-grid .post-thumb {
    animation: none;
    opacity: 1;
  }
}
.post-thumb {
  aspect-ratio: 1; position: relative; overflow: hidden;
  background: var(--surface-2); border: none; padding: 0; cursor: pointer;
}
.post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.35s;
}
.post-thumb:hover img { transform: scale(1.05); }
.post-hover {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
}
.post-thumb:hover .post-hover { opacity: 1; }
.post-hover span { color: #fff; font-size: 0.9rem; font-weight: 600; }
.more-thumb {
  background: var(--burgundy); aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.85);
  text-align: center; line-height: 1.4;
}

/* ── REELS GRID ──────────────────────── */
.reels-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .reels-grid .reel-card {
    animation: tileEnter 0.5s ease-out forwards;
    opacity: 0;
  }
  .reels-grid .reel-card:nth-child(1) { animation-delay: 0ms; }
  .reels-grid .reel-card:nth-child(2) { animation-delay: 60ms; }
  .reels-grid .reel-card:nth-child(3) { animation-delay: 120ms; }
  .reels-grid .reel-card:nth-child(n+4) { animation-delay: 180ms; }
}

@media (prefers-reduced-motion: reduce) {
  .reels-grid .reel-card {
    animation: none;
    opacity: 1;
  }
}
.reel-card {
  aspect-ratio: 9/16; position: relative;
  display: flex; align-items: flex-end; padding: 1rem 0.85rem 2.5rem;
}
.reel-content { width: 100%; }
.reel-stat  { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 0.3rem; }
.reel-icon  { font-size: 2rem; margin-bottom: 0.5rem; }
.reel-label { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.6rem; }
.reel-platforms { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.reel-platforms span {
  font-size: 0.68rem; padding: 0.2rem 0.55rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border-radius: 50px; color: rgba(255,255,255,0.9); font-weight: 500;
}
.reel-tag {
  position: absolute; top: 0.75rem; left: 0.85rem;
  font-size: 0.7rem; font-weight: 600;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85); padding: 0.2rem 0.6rem; border-radius: 50px;
}

/* ── TAGGED GRID ─────────────────────── */
.tagged-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .tagged-grid .tagged-post {
    animation: tileEnter 0.5s ease-out forwards;
    opacity: 0;
  }
  .tagged-grid .tagged-post:nth-child(1) { animation-delay: 0ms; }
  .tagged-grid .tagged-post:nth-child(2) { animation-delay: 60ms; }
  .tagged-grid .tagged-post:nth-child(3) { animation-delay: 120ms; }
  .tagged-grid .tagged-post:nth-child(n+4) { animation-delay: 180ms; }
}

@media (prefers-reduced-motion: reduce) {
  .tagged-grid .tagged-post {
    animation: none;
    opacity: 1;
  }
}
.tagged-img {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
}
.tag-quote {
  font-size: 3rem; line-height: 0.5; color: rgba(255,255,255,0.2);
  font-family: Georgia, serif; margin-bottom: 0.75rem;
}
.tagged-img p { font-size: 0.8rem; color: rgba(255,255,255,0.85); line-height: 1.55; font-style: italic; }
.tagged-meta {
  background: var(--surface); padding: 0.65rem 0.85rem;
  display: flex; align-items: center; justify-content: space-between;
}
.tagged-author { display: flex; align-items: center; gap: 0.5rem; }
.t-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--burgundy); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tagged-author span { font-size: 0.78rem; font-weight: 600; }
.tagged-stars { color: #f59e0b; font-size: 0.65rem; letter-spacing: 1px; }

/* ══════════════════════════════════════
   STORY OVERLAY
══════════════════════════════════════ */
.story-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.story-overlay.open { opacity: 1; pointer-events: all; }
.story-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
}
.story-shell {
  position: relative; z-index: 1;
  width: min(380px, 94vw);
  height: min(680px, 90vh);
  border-radius: 20px; overflow: hidden;
  background: #111;
  transform: scale(0.93); transition: transform 0.3s cubic-bezier(0.34,1.4,0.64,1);
  display: flex; flex-direction: column;
}
.story-overlay.open .story-shell { transform: scale(1); }

/* Progress bars row */
.story-bars {
  display: flex; gap: 4px; padding: 12px 14px 8px;
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.story-bar {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.25); overflow: hidden;
}
.story-bar-fill {
  height: 100%; background: #fff; border-radius: 3px;
  width: 0; transition: none;
}
.story-bar.done .story-bar-fill { width: 100%; transition: none; }
.story-bar.active .story-bar-fill { width: 0; }

.story-close {
  position: absolute; top: 14px; right: 14px; z-index: 11;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.4); border: none; color: #fff;
  font-size: 0.8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.story-close:hover { background: rgba(0,0,0,0.65); }

/* Slide area */
.story-slide-area { flex: 1; position: relative; }
.story-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.25s ease-out;
  pointer-events: none;
}
.story-slide.active { opacity: 1; pointer-events: all; }

/* Tap zones */
.story-tap-left, .story-tap-right {
  position: absolute; top: 0; bottom: 0; width: 35%; z-index: 9; cursor: pointer;
}
.story-tap-left  { left: 0; }
.story-tap-right { right: 0; }

/* ── SLIDE DESIGNS ───────────────────── */

/* Slide: full-bleed image/gradient with overlay text */
.slide-hero {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 2.5rem 2rem 3rem; text-align: center;
  position: relative;
}
.slide-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.slide-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.slide-hero-photo {
  position: absolute; inset: 0; overflow: hidden;
}
.slide-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slide-hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.slide-hero-text { position: relative; z-index: 1; }
.slide-hero-text h2 { font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.slide-hero-text p  { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.slide-hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; padding: 0.35rem 0.9rem;
  font-size: 0.75rem; color: #fff; margin-bottom: 1rem;
}
.badge-green-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* Slide: stat card */
.slide-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.slide-stat-number { font-size: 4rem; font-weight: 800; color: #fff; line-height: 1; }
.slide-stat-label  { font-size: 0.95rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; font-weight: 500; }
.slide-stat-sub    { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1rem; }

/* Slide: quote */
.slide-quote {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 3rem 2rem;
}
.slide-quote-mark { font-size: 4rem; color: var(--burgundy); line-height: 0.8; font-family: Georgia, serif; }
.slide-quote p { font-size: 1.05rem; color: #fff; line-height: 1.65; font-style: italic; margin: 1rem 0; }
.slide-quote-name { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.slide-quote-role { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; }

/* Slide: fact list */
.slide-facts {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 3rem 2rem;
}
.slide-facts h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.fact-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fact-item:last-child { border: none; }
.fact-emoji { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.fact-text  { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* Slide: loves grid */
.slide-loves {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 2.5rem 1.75rem;
}
.slide-loves h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.loves-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.love-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 1.25rem; text-align: center;
  transition: background 0.2s;
}
.love-card .love-emoji { font-size: 1.8rem; margin-bottom: 0.5rem; }
.love-card span { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); }

/* Slide: bars */
.slide-bars {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 3rem 2rem;
}
.slide-bars h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.sbar-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.sbar-row > span:first-child { width: 70px; font-size: 0.8rem; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.sbar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; }
.sbar-fill  { height: 100%; background: var(--burgundy); border-radius: 5px; width: 0; transition: width 1s ease 0.2s; }
.sbar-pct   { font-size: 0.72rem; font-weight: 600; color: var(--burgundy); width: 28px; text-align: right; }

/* Slide: competencies */
.slide-comps {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 2.5rem 1.75rem;
}
.slide-comps h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.comp-block { margin-bottom: 1.25rem; }
.comp-block h4 { font-size: 0.8rem; font-weight: 700; color: var(--burgundy); margin-bottom: 0.5rem; }
.comp-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.comp-chips span {
  font-size: 0.72rem; padding: 0.22rem 0.6rem;
  background: rgba(255,255,255,0.08); border-radius: 50px; color: rgba(255,255,255,0.75);
}

/* Slide: tools */
.slide-tools {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 2.5rem 1.75rem;
}
.slide-tools h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.tools-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tool-chip-s {
  font-size: 0.78rem; padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px; color: rgba(255,255,255,0.8); font-weight: 500;
}
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tool-card-s {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 0.65rem 0.8rem;
}
.tool-card-s strong { display: block; font-size: 0.78rem; color: #fff; }
.tool-card-s span   { font-size: 0.66rem; color: var(--burgundy); font-weight: 600; }

/* Slide: certs */
.slide-certs {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 2.5rem 1.75rem;
}
.slide-certs h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.cert-card-s {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 1rem 1.1rem;
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem;
}
.cert-card-s:last-child { margin-bottom: 0; }
.cert-card-s .cert-ico { font-size: 1.4rem; }
.cert-card-s strong { display: block; font-size: 0.85rem; color: #fff; }
.cert-card-s span    { font-size: 0.72rem; color: var(--burgundy); font-weight: 600; }

/* Slide: contact */
.slide-contact {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 2.5rem 1.75rem;
}
.contact-icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1rem;
}
.slide-contact h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.slide-contact h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; line-height: 1.2; text-align: center; }
.slide-contact p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.75rem; text-align: center; line-height: 1.5; }
.contact-link-s {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 0.75rem;
  text-decoration: none; color: #fff; transition: background 0.2s;
}
.contact-link-s:hover { background: rgba(255,255,255,0.12); }
.cl-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cl-icon svg { width: 18px; height: 18px; }
.li-bg { background: #0A66C2; color: #fff; }
.em-bg { background: var(--burgundy); color: #fff; }
.cl-text { flex: 1; }
.cl-text strong { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; }
.cl-text span   { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.cl-text .cl-sub { display: block; }
.cl-text .cl-pill {
  display: inline-block; margin-top: 0.4rem;
  font-size: 0.68rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px; padding: 0.25rem 0.65rem;
}
.cl-arrow { font-size: 0.9rem; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.avail-strip {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  font-size: 0.78rem; color: #4ade80; font-weight: 500;
}
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* ══════════════════════════════════════
   POST CAROUSEL MODAL
══════════════════════════════════════ */
.post-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.post-overlay.open { opacity: 1; pointer-events: all; }
.post-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
}
.post-modal {
  position: relative; z-index: 1;
  width: min(860px, 96vw); max-height: 90vh;
  background: var(--surface); border-radius: 14px; overflow: hidden;
  display: flex;
  transform: scale(0.94); transition: transform 0.25s ease;
}
.post-overlay.open .post-modal { transform: scale(1); }
.post-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.12); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; z-index: 2; transition: background 0.2s;
}
.post-close:hover { background: rgba(0,0,0,0.2); }

/* Carousel side */
.carousel-side {
  width: 50%; position: relative; background: #000; flex-shrink: 0; overflow: hidden;
}
.carousel-track {
  display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; position: relative; overflow: hidden;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Slide overlays */
.car-slide-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.car-slide-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 0.75rem;
}
.car-slide-title { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 0.5rem; }
.car-slide-sub   { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.car-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 1rem; }
.car-chip {
  font-size: 0.75rem; padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border-radius: 50px; color: rgba(255,255,255,0.9); font-weight: 500;
}
.car-stat-row { display: flex; gap: 1.5rem; margin-top: 1.25rem; justify-content: center; }
.car-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.car-stat span   { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: background 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.car-btn:hover { background: #fff; }
.car-prev { left: 0.6rem; }
.car-next { right: 0.6rem; }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.car-dots {
  position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 3;
}
@keyframes dotPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.car-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4); transition: all 0.2s; cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .car-dot.active {
    background: #fff;
    width: 16px;
    border-radius: 3px;
    animation: dotPulse 0.3s ease-out;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .car-dot.active {
    background: #fff;
    width: 16px;
    border-radius: 3px;
  }
}

/* Post info side */
.post-info-side {
  flex: 1; padding: 1.75rem; overflow-y: auto; min-width: 0;
  display: flex; flex-direction: column;
}
.pi-account {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
}
.pi-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--burgundy); flex-shrink: 0; }
.pi-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pi-account strong { display: block; font-size: 0.88rem; font-weight: 700; }
.pi-account span   { font-size: 0.75rem; color: var(--text-2); }
.pi-hire {
  margin-left: auto; padding: 0.35rem 0.9rem;
  background: var(--burgundy); color: #fff;
  border: none; border-radius: 7px; font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.pi-brand-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.pi-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.25rem; }
.pi-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.pi-tag {
  font-size: 0.75rem; padding: 0.25rem 0.7rem;
  background: var(--burg-light); color: var(--burgundy);
  border-radius: 50px; font-weight: 500;
}
.pi-stats {
  display: flex; gap: 1.5rem; margin-top: auto;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.pi-stat strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--burgundy); }
.pi-stat span   { font-size: 0.72rem; color: var(--text-3); }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 680px) {
  .profile-header { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
  .profile-ring { width: 100px; height: 100px; }
  .profile-top-row { justify-content: center; }
  .profile-counts  { justify-content: center; gap: 1.75rem; }
  .followed-by     { justify-content: center; }
  .tab-bar     { gap: 2.5rem; }
  .reels-grid  { grid-template-columns: repeat(2,1fr); }
  .post-modal  { flex-direction: column; max-height: 95vh; }
  .carousel-side { width: 100%; height: 260px; }
}
@media (max-width: 420px) {
  .tagged-grid { grid-template-columns: repeat(2,1fr); }
  .story-shell { border-radius: 0; width: 100vw; height: 100vh; }
}
