@media (min-width: 768px) { .mobile-only { display: none !important; } }
@media (max-width: 767px) { .desktop-only { display: none !important; } }

@media (max-width: 1280px) {
  :root {
    --display-xl: clamp(50px, 6.2vw, 84px);
    --display-lg: clamp(42px, 5.2vw, 72px);
  }
  .hero-inner { max-width: var(--maxw); }
  .hero-grid {
    grid-template-columns: 1.15fr minmax(340px, 420px) minmax(240px, 280px);
    gap: 20px;
  }
  .hero-h1 { font-size: clamp(48px, 6.2vw, 92px); }
  .hero-h1-outline { font-size: clamp(42px, 5.4vw, 80px); }
  .achieve-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1100px) {
  :root {
    --display-xl: clamp(46px, 5.8vw, 76px);
    --display-lg: clamp(38px, 4.8vw, 64px);
  }
  .hero-grid {
    grid-template-columns: 1.1fr minmax(300px, 360px) minmax(220px, 260px);
    min-height: auto;
    padding: 30px 0 46px;
    gap: 14px;
  }
  .hero-h1 { font-size: clamp(42px, 5.4vw, 74px); }
  .hero-h1-outline { font-size: clamp(36px, 4.6vw, 64px); }
  .tool-chip { width: 36px; height: 36px; }
  .hero-quote { max-width: 180px; }
  .hero-tagline-text { font-size: 18px; }
  .proj-featured-inner { grid-template-columns: 1fr; }
  .proj-featured-visual { min-height: 280px; }
  .work-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-bio { max-width: 56ch; }
  .achieve-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta  { display: none; }
  .nav-burger { display: flex; }

  /* Hero: Deliberate editorial vertical sequence */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0 36px;
    min-height: auto;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .hero-greeting { margin-bottom: 14px; }
  .hero-sub      { margin: 16px 0 20px; max-width: 100%; }
  .hero-ctas     { margin-bottom: 22px; }
  .hero-meta     { margin-bottom: 0; }
  .hero-portrait-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 0;
    margin: 12px 0 20px;
    overflow: hidden;
  }
  .hero-portrait-wrap {
    width: min(80%, 340px);
    margin: 0 auto;
  }
  .hero-signature {
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    font-size: clamp(90px, 20vw, 170px);
    top: -2%;
  }
  .hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
  }
  .hero-quote {
    max-width: 100%;
    text-align: center;
  }
  .hero-tagline {
    max-width: 100%;
    text-align: center;
  }
  .hero-tagline-swoosh {
    margin: 4px auto 0;
  }
  .hero-tools {
    align-items: center;
  }
  .hero-tools-row {
    justify-content: center;
  }
  .hero-stats {
    width: 100%;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    padding-top: 16px;
    border-top: 1px solid rgba(12, 11, 9, 0.10);
  }
  .hero-bg-num { font-size: clamp(180px, 38vw, 360px); bottom: -4%; }
  .hero-scroll-hint { display: none; }

  /* Panels */
  .panels-row { grid-template-columns: 1fr; gap: 16px; }

  /* Timeline */
  .tl-item { grid-template-columns: 110px 1px 1fr; gap: 0 24px; }

  /* Creative */
  .creative-grid { grid-template-columns: 1fr; gap: 40px; }
  .creative-showcase { min-height: 320px; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  :root {
    --section: 60px;
    --section-sm: 40px;
    --gutter: 20px;
  }
  /* Clients: 1 column on mobile */
  .clients-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Timeline: 2-column editorial mobile layout */
  .tl-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-areas:
      "line year"
      "line content";
    column-gap: 16px;
    row-gap: 4px;
    padding-bottom: 40px;
  }
  .tl-year {
    grid-area: year;
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    line-height: 1.4;
    padding-top: 0;
    white-space: normal;
  }
  .tl-line {
    grid-area: line;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tl-line::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: -40px;
    width: 1px;
    background: var(--line);
  }
  .tl-item:last-child .tl-line::before { display: none; }
  .tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    margin-top: 4px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--paper-off);
  }
  .tl-content {
    grid-area: content;
    padding-top: 0;
    padding-left: 0;
    min-width: 0;
  }
  .tl-role {
    font-size: 18.5px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 4px;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .tl-org {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 10px;
  }
  .tl-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.62;
    max-width: 100%;
  }
  .tl-tags { margin-top: 12px; }
  .tl-tag { font-size: 10.5px; padding: 3px 8px; }
  .hero-h1 { font-size: clamp(44px, 9.2vw, 68px); }
  .hero-h1-outline { font-size: clamp(38px, 8vw, 58px); -webkit-text-stroke: 1.8px var(--black); }
  .hero-sub { font-size: 15.5px; }
  .hero-stats { gap: 24px; }
  .hero-stat b { font-size: 30px; }
  .hero-portrait-col { padding-right: 0; }
  .hero-portrait-wrap { width: min(82%, 300px); }
  .tool-chip { width: 38px; height: 38px; border-radius: 9px; }
  .tool-chip svg { width: 58%; height: 58%; }

  /* Achievements Cinematic */
  .achieve-cinematic { padding: 80px 0; }
  .achieve-quote { left: auto; right: -10px; top: -30px; font-size: 28px; }
  .ac-card { flex-direction: column; }
  .ac-card-img { width: 100%; height: 220px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .ac-card-body { padding: 32px 24px; }
  .ac-card-number { top: 16px; right: 24px; font-size: 56px; }
  .ac-laurel { position: relative; right: auto; bottom: auto; margin-top: 24px; justify-content: flex-start; }

  /* About */
  .about-headline { font-size: clamp(22px, 5vw, 32px); }

  /* Contact */
  .contact-headline { font-size: clamp(38px, 10vw, 68px); }
  .contact-ctas { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-links { justify-content: center; }
  .footer-legal { align-items: center; }

  /* Lightbox responsive */
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-nav-btn {
    width: 44px;
    height: 44px;
    background: rgba(12, 11, 9, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
}

@media (max-width: 640px) {
  .hero-grid { gap: 20px; }
  .hero-portrait-col { padding-right: 0; }
  .hero-portrait-wrap { width: min(84%, 290px); }
  .hero-tools { gap: 8px; margin: 0 auto; align-items: center; }
  .hero-tools-row { gap: 8px; justify-content: center; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-meta-div { display: none; }

  /* Quick panels */
  .panels-row { grid-template-columns: 1fr; }

  /* Projects */
  .proj-featured-inner { grid-template-columns: 1fr; }
  .proj-meta-grid { grid-template-columns: 1fr; gap: 10px; }
  .ch-visual-art { padding: 20px; min-height: 280px; }
  .ch-watermark { font-size: clamp(48px, 12vw, 80px); }

  /* Creative tools */
  .tools-display { gap: 9px; }
  .tool-badge { padding: 7px 12px; font-size: 12px; }
  .tool-badge svg { width: 17px; height: 17px; }

  /* Cert card */
  .cert-card { width: 260px; }
  .cert-card-thumb { height: 152px; }

  /* Section heads */
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .link-arrow { align-self: flex-start; }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }
  .hero-h1 { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-h1-outline { font-size: clamp(32px, 9vw, 46px); -webkit-text-stroke: 1.5px var(--black); }
  .hero-greeting { font-size: 13px; }
  .hero-portrait-wrap { width: min(86%, 260px); }
  .hero-tools { gap: 7px; margin: 0 auto; }
  .hero-tools-row { gap: 7px; justify-content: center; }
  .tool-chip { width: 36px; height: 36px; border-radius: 8px; }
  .hero-signature { font-size: clamp(68px, 22vw, 120px); }
  .hero-stats { gap: 14px; justify-content: center; width: 100%; }
  .hero-stat b { font-size: 26px; }
  .hero-stat span { font-size: 11px; }

  /* Timeline mobile adjustments */
  .tl-item {
    column-gap: 14px;
    padding-bottom: 36px;
  }
  .tl-line::before {
    bottom: -36px;
  }
  .tl-role {
    font-size: 17.5px;
  }

  /* Panels */
  .panel { padding: 20px; }

  /* Browser mockups on mobile */
.browser-dots span { width: 7px; height: 7px; }
/* Contact */
  .contact-headline { font-size: clamp(34px, 12vw, 56px); }
  .contact-socials { gap: 18px; }
  .contact-social-link { font-size: 13px; }

  /* Lightbox buttons on compact phones */
  .lb-nav-btn { width: 40px; height: 40px; }
}

@media (max-width: 375px) {
  :root { --gutter: 16px; }
  .hero-h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-h1-outline { font-size: clamp(28px, 8.5vw, 38px); -webkit-text-stroke: 1.4px var(--black); }
  .hero-portrait-wrap { width: 90%; }
  .hero-portrait-col { padding-right: 0; }
  .tool-chip { width: 32px; height: 32px; border-radius: 7px; }
  .hero-tools { gap: 6px; }
  .hero-tools-row { gap: 6px; }
  .hero-stats { gap: 10px; }
  .hero-stat b { font-size: 22px; }
  .contact-socials { flex-direction: column; align-items: center; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media print {
  #nav-header { position: static; box-shadow: none; }
  .mobile-menu, .nav-burger, .scroll-top-btn { display: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .rise {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   MOBILE EDITORIAL POSTER  –  max-width: 767px only
   Architecture: portrait + red circle are absolute in .mp-poster.
   .mp-text-col wraps all text at z-index 2, floating above portrait.
   ========================================================================== */
@media (max-width: 767px) {

  /* ── Poster shell ───────────────────────────────────────────── */
  .mp-poster {
    background: var(--paper);
    padding: 0;               /* text-col handles inner padding */
    position: relative;
    overflow: hidden;         /* horizontal clipping only — no vertical clip */
  }

  /* ── Portrait: absolute, poster-level, full natural height ── */
  .mp-portrait-wrap {
    position: absolute;
    top: 38px;
    right: -10px;
    width: 52%;
    max-width: 215px;
    overflow: hidden;  /* clips the light-drift pseudo-element */
    z-index: 1;
    pointer-events: none;
  }
  .mp-portrait-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: fill;
    /* original colour — no filter */
  }

  /* Drifting warm light animation over portrait */
  .mp-portrait-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    /* oversized so the gradient covers the full image while moving */
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(
      ellipse 55% 35% at 35% 80%,
      rgba(255, 205, 90, 0.58) 0%,
      rgba(210, 140, 50, 0.28) 38%,
      rgba(180, 100, 30, 0.10) 58%,
      transparent 72%
    );
    mix-blend-mode: screen;
    animation: mpLightDrift 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
  }

  /* ── Red circle: absolute, poster-level ─────────────────────── */
  .mp-red-circle {
    position: absolute;
    top: 30px;
    right: -12%;
    width: 55vw;
    height: 55vw;
    max-width: 230px;
    max-height: 230px;
    border-radius: 50%;
    background: var(--red);
    z-index: 0;
    pointer-events: none;
  }

  /* ── Text column: floats above portrait ─────────────────────── */
  .mp-text-col {
    position: relative;
    z-index: 2;
    padding: 0 20px 48px;   /* inner gutter */
    width: 100%;
  }

  /* ── 1. Top editorial nav line ──────────────────────────────── */
  .mp-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 0 11px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
  }
  .mp-topline-items {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mid);
  }
  .mp-slash { color: var(--red); font-weight: 400; }
  .mp-topline-rule {
    flex: 1;
    height: 1px;
    background: var(--line);
  }

  /* ── 2+3. Hero block: name + titles ─────────────────────────── */
  .mp-hero-block {
    position: relative;
    /* min-height must contain the portrait (52% wide × 1024/576 ratio) */
    min-height: clamp(300px, 88vw, 400px);
    padding-top: 10px;
    padding-bottom: 12px;
  }

  /* Handwritten top-right decoration */
  .mp-script-tr {
    position: absolute;
    top: 14px;
    right: 0;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.25;
    color: var(--ink);
    text-align: right;
    z-index: 3;
    pointer-events: none;
    /* sits above portrait in z-order */
  }

  /* Name – most dominant element */
  .mp-name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 24vw, 128px);
    line-height: 0.86;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0;
    /* left-anchored naturally */
  }
  .mp-dot {
    color: var(--red);
    display: inline;
  }

  /* Title block */
  .mp-title-block {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    max-width: 58%;    /* text stays on left, portrait occupies right */
  }
  .mp-title-main {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 8.5vw, 46px);
    line-height: 0.91;
    letter-spacing: -0.01em;
    color: var(--black);
    text-transform: uppercase;
    display: block;
  }
  .mp-title-red {
    font-family: 'Anton', sans-serif;
    font-size: clamp(26px, 8vw, 42px);
    line-height: 0.93;
    letter-spacing: -0.01em;
    color: var(--red);
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
  }

  /* ── 6. Supporting subtitle ──────────────────────────────────── */
  .mp-subtitle {
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 500;
    color: var(--ink-mid);
    margin-top: 14px;
    margin-bottom: 4px;
    line-height: 1.5;
  }

  /* ── Thin editorial rule ─────────────────────────────────────── */
  .mp-rule {
    height: 1px;
    background: var(--line);
    margin: 10px 0 12px;
  }

  /* ── 7. Intro copy ───────────────────────────────────────────── */
  .mp-intro {
    font-size: clamp(12.5px, 3.4vw, 15px);
    line-height: 1.65;
    color: var(--ink-mid);
    margin-bottom: 22px;
  }

  /* ── 8. Services row ─────────────────────────────────────────── */
  .mp-services {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
  }
  .mp-svc-sep {
    width: 1px;
    background: var(--line);
    align-self: stretch;
    margin: 0 1px;
  }
  .mp-svc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    padding: 0 2px;
  }
  .mp-svc-icon {
    font-size: clamp(15px, 4.2vw, 20px);
    color: var(--black);
    line-height: 1;
    display: block;
  }
  .mp-svc-label {
    font-size: clamp(9px, 2.4vw, 11px);
    font-weight: 600;
    color: var(--ink-mid);
    line-height: 1.3;
    display: block;
  }

  /* ── 9. Stats ────────────────────────────────────────────────── */
  .mp-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 26px;
  }
  .mp-stat-sep {
    width: 1px;
    background: var(--line);
    align-self: stretch;
    margin: 0 8px;
  }
  .mp-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mp-stat b {
    font-family: 'Anton', sans-serif;
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1;
    color: var(--red);
    letter-spacing: -0.01em;
  }
  .mp-stat span {
    font-size: clamp(9.5px, 2.6vw, 12px);
    font-weight: 600;
    color: var(--ink-mid);
    line-height: 1.35;
  }
  .mp-stat small {
    font-size: clamp(8px, 2.1vw, 10px);
    color: var(--gray);
    line-height: 1.3;
  }

  /* ── 10. CTA ─────────────────────────────────────────────────── */
  .mp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--paper);
    font-size: clamp(13px, 3.6vw, 16px);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 14px 22px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 30px;
    transition: background 0.2s;
  }
  .mp-cta:hover,
  .mp-cta:focus-visible {
    background: var(--red);
    outline: none;
  }

  /* ── 11. Handwritten decoration – lower left ─────────────────── */
  .mp-script-bl {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: clamp(24px, 7vw, 36px);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 8px;
    pointer-events: none;
  }
  .mp-script-bl em {
    color: var(--red);
    font-style: italic;
  }

  /* ── 13. Availability ────────────────────────────────────────── */
  .mp-availability {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
  }
  .mp-avail-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
  }
  .mp-avail-items {
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 500;
    color: var(--ink-mid);
    line-height: 1.5;
  }

  /* ── 14. Social icon buttons (UIverse tooltip style) ────────── */
  .mp-social-wrapper {
    display: flex;
    list-style: none;
    padding: 32px 0 8px;
    margin: 0;
    gap: 0;
    justify-content: flex-start;
  }
  .mp-soc-icon {
    position: relative;
    background: #fff;
    border-radius: 50%;
    margin: 0 8px 0 0;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
  }
  .mp-soc-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--ink-mid);
    text-decoration: none;
    border-radius: 50%;
    transition: color 0.2s;
  }
  /* Tooltip label */
  .mp-soc-tooltip {
    position: absolute;
    top: 0;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
  }
  .mp-soc-tooltip::before {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  /* Hover: bounce up icon, show tooltip */
  .mp-soc-icon:hover {
    transform: translateY(-4px);
  }
  .mp-soc-icon:hover .mp-soc-tooltip {
    top: -42px;
    opacity: 1;
    pointer-events: auto;
  }
  .mp-soc-icon:hover a,
  .mp-soc-icon:hover .mp-soc-tooltip {
    text-shadow: 0px -1px 0px rgba(0,0,0,0.15);
  }
  /* Gmail — Google red */
  .mp-soc-gmail:hover,
  .mp-soc-gmail:hover .mp-soc-tooltip,
  .mp-soc-gmail:hover .mp-soc-tooltip::before { background: #EA4335; }
  .mp-soc-gmail:hover a { color: #EA4335; }
  .mp-soc-gmail:hover .mp-soc-tooltip { color: #fff; }
  /* LinkedIn — brand blue */
  .mp-soc-linkedin:hover,
  .mp-soc-linkedin:hover .mp-soc-tooltip,
  .mp-soc-linkedin:hover .mp-soc-tooltip::before { background: #0077B5; }
  .mp-soc-linkedin:hover a { color: #0077B5; }
  .mp-soc-linkedin:hover .mp-soc-tooltip { color: #fff; }
  /* Instagram — brand pink-red */
  .mp-soc-instagram:hover,
  .mp-soc-instagram:hover .mp-soc-tooltip,
  .mp-soc-instagram:hover .mp-soc-tooltip::before { background: #E4405F; }
  .mp-soc-instagram:hover a { color: #E4405F; }
  .mp-soc-instagram:hover .mp-soc-tooltip { color: #fff; }
  /* GitHub — near-black */
  .mp-soc-github:hover,
  .mp-soc-github:hover .mp-soc-tooltip,
  .mp-soc-github:hover .mp-soc-tooltip::before { background: #171515; }
  .mp-soc-github:hover a { color: #171515; }
  .mp-soc-github:hover .mp-soc-tooltip { color: #fff; }

}
/* end @media (max-width: 767px) mobile poster */

/* Light drift keyframes — namespaced, used only by .mp-portrait-wrap::after */
@keyframes mpLightDrift {
  0%   {
    transform: translate(-15%, 15%)  scale(1);
    opacity: 0.75;
  }
  25%  {
    transform: translate(10%, -10%)  scale(1.15);
    opacity: 1;
  }
  50%  {
    transform: translate(20%, -25%)  scale(1.05);
    opacity: 0.85;
  }
  75%  {
    transform: translate(-5%, 5%)   scale(0.95);
    opacity: 0.65;
  }
  100% {
    transform: translate(-15%, 15%)  scale(1);
    opacity: 0.75;
  }
}
