/* =========================================================
   THE PAPER GUN — Sarwar Ali portfolio
   ========================================================= */
:root {
  --bg: #FAFAFA;
  --ink: #111111;
  --muted: #55555c;
  --red: #F12B32;
  --pad: 48px;
  --display: "Clash Display", "Bricolage Grotesque", "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --body: "Cabinet Grotesk", "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 1024px) { :root { --pad: 24px; } }
@media (max-width: 600px)  { :root { --pad: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------------- Keycap buttons ---------------- */
.key {
  --face: #fff;
  --face2: #f1f1f3;
  --side: #c9c9cf;
  --text: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--face), var(--face2));
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 7px 0 var(--side),
    0 14px 22px -6px rgba(17,17,17,.28);
  transform: translateY(0);
  /* spring back with a tiny overshoot */
  transition: transform .42s cubic-bezier(.25, 1.9, .45, 1), box-shadow .42s cubic-bezier(.25, 1.9, .45, 1);
}
.key:hover { transform: translateY(-1px); }
.key:active, .key.is-pressed {
  transform: translateY(6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 1px 0 var(--side),
    0 3px 6px -2px rgba(17,17,17,.3);
  transition-duration: .06s;
  transition-timing-function: ease-out;
}
.key-legend {
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  opacity: .5;
}
.key--white {
  border: 1px solid #e2e2e7;
}
.key--black {
  --face: #2a2a31;
  --face2: #141418;
  --side: #000;
  --text: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 7px 0 var(--side),
    0 14px 22px -6px rgba(17,17,17,.4);
}
.key--black:active, .key--black.is-pressed {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 var(--side), 0 3px 6px -2px rgba(0,0,0,.4);
}
.key--nav { height: 46px; font-size: 15px; padding: 0 22px 0 18px; }

/* ---------------- Navigation ---------------- */
.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px var(--pad) 8px;
}
.logo {
  display: inline-flex;
  align-items: center;
  width: 112px;
  color: #000;
  text-decoration: none;
  mix-blend-mode: multiply;
}
.logo-img { width: 112px; height: auto; display: block; }
.logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1;
}
.nav-links { display: flex; gap: 6px; }
.nav-link {
  position: relative;
  border: 0;
  background: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link:hover { color: #000; }
.key--nav { justify-self: end; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  padding: 34px var(--pad) 72px;
  overflow: hidden;           /* contains flying slips; no horizontal scroll */
  overflow: clip;
}
.hero-left {
  position: static;           /* gun is positioned relative to .hero on desktop */
  width: 52%;
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--muted);
}
.dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
}
.dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.headline {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(42px, 5vw, 84px);
  line-height: .98;
  letter-spacing: -.025em;
}
.headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--red);
}
.lede {
  position: relative;
  z-index: 2;
  max-width: 34em;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}
.actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  padding-bottom: 7px;
}
.counter {
  margin: 0 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
}
.counter strong {
  display: inline-block;
  min-width: 1.4ch;
  margin-right: 3px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.counter strong.bump { animation: bump .28s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-4px) scale(1.25); color: var(--red); } 100% { transform: none; } }

/* ---------------- Gun ---------------- */
.gun-wrap {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: calc(var(--pad) - 70px);
  width: min(52vw, 760px);
  aspect-ratio: 800 / 560;
  transform: rotate(-16deg);
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 40px;
}
.gun-wrap:focus-visible { outline-offset: -20px; }
.gun-recoil {
  width: 100%;
  height: 100%;
  will-change: transform;
  filter: drop-shadow(0 30px 28px rgba(120, 6, 10, .22)) drop-shadow(0 8px 10px rgba(17, 17, 17, .14));
}
.gun-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gun-shadow {
  position: absolute;
  left: 12%; right: 10%;
  bottom: 2%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17,17,17,.18), rgba(17,17,17,0));
  transform: rotate(16deg) translateY(40%);
  pointer-events: none;
}
.trigger {
  transform-box: fill-box;
  transform-origin: 50% 0;
}
.gun-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 96px;
  letter-spacing: .02em;
  fill: #fff;
}
.gun-word--shadow { fill: #7d050a; opacity: .35; }

/* ---------------- Tray ---------------- */
.tray {
  position: relative;
  z-index: 2;
  width: 88.5%;               /* ≈ 46% of the hero */
  margin-top: 54px;
}
.tray-title {
  margin: 0 0 14px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}
.tray-grid {
  position: relative;
  min-height: 136px;
  border-radius: 16px;
  background-image: radial-gradient(rgba(17,17,17,.12) 1px, transparent 1.2px);
  background-size: 14px 14px;
  transition: min-height .35s ease;
}

/* ---------------- Slips ---------------- */
.slip-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.slip {
  --c: #ffd23f;
  --ink: #111;
  position: absolute;
  top: 0; left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.slip.docked { pointer-events: auto; will-change: auto; }
.slip.relayout { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.slip.fade { opacity: 0; transition: opacity .3s ease; pointer-events: none; }

.slip-face {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 7px;
  background-color: var(--c);
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 45%, rgba(0,0,0,.06));
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 18px -8px rgba(17,17,17,.35);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s ease;
}
.slip-face::before {           /* inner printed border, like a bill */
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  opacity: .22;
  pointer-events: none;
}
.slip.is-light .slip-face { box-shadow: inset 0 0 0 1px rgba(17,17,17,.1), 0 10px 18px -8px rgba(17,17,17,.3); }
.slip.docked:hover .slip-face,
.slip.docked:focus-visible .slip-face {
  transform: translateY(calc(-6px * var(--inv, 1)));
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 18px 22px -10px rgba(17,17,17,.4);
}
.slip.docked:focus-visible { outline: none; }
.slip.docked:focus-visible .slip-face { outline: 3px solid var(--red); outline-offset: 2px; }
.slip.bounce .slip-face { animation: twin-bounce .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes twin-bounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(calc(-8px * var(--inv, 1))); }
}

/* Big slip: 220 × 84 in flight */
.slip--big { width: 220px; height: 84px; }
.slip--big .slip-face { padding: 9px 14px 9px 16px; }
.slip-kicker {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  line-height: 1.2;
}
.slip-title {
  display: block;
  margin: 2px 0 1px;
  font-family: var(--body);
  font-weight: 900;
  font-size: var(--fs, 24px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.slip-sub {
  display: block;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slip-seal {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: .28;
}

/* Small tag slip: 88 × 64 */
.slip--tag { width: 88px; height: 64px; }
.slip--tag .slip-face {
  align-items: center;
  padding: 6px 8px;
  text-align: center;
}
.slip--tag .slip-title {
  margin: 0;
  white-space: normal;
  font-size: var(--fs, 15px);
  line-height: 1.02;
}
.slip--tag .slip-hash {
  font-weight: 900;
  font-size: 10px;
  opacity: .55;
  letter-spacing: .1em;
}

/* ---------------- Detail card ---------------- */
.card {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  width: min(380px, calc(100vw - 48px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -20px rgba(17,17,17,.35), 0 0 0 1px rgba(17,17,17,.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.97);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.3, .4, 1), visibility 0s .35s;
}
.card.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .4s cubic-bezier(.2, 1.3, .4, 1), visibility 0s;
}
.card.swap { animation: card-swap .35s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes card-swap { from { transform: translateY(8px) scale(.985); } to { transform: none; } }
.card-stripe {
  position: absolute;
  left: 24px; top: 0;
  width: 54px; height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--red);
}
.card-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(17,17,17,.06);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s;
}
.card-close:hover { background: rgba(17,17,17,.12); }
.card-kicker {
  margin: 6px 0 4px;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.card-title {
  margin: 0 40px 10px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -.015em;
}
.card-body { color: #2a2a30; font-size: 16px; font-weight: 500; }
.card-body p { margin: 0 0 12px; }
.card-body ul { margin: 0 0 12px; padding-left: 18px; }
.card-body li { margin: 2px 0; }
.card-body li::marker { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17,17,17,.06);
  border: 1px solid rgba(17,17,17,.08);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-links { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 8px; padding-bottom: 7px; }
.card-links .key { height: 46px; font-size: 15px; }

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet & below: stack the hero, gun sits under the copy */
@media (max-width: 960px) {
  .hero { padding-top: 22px; }
  .hero-left { width: 100%; max-width: none; }
  .gun-wrap {
    position: relative;
    top: auto; right: auto;
    width: min(76vw, 560px);
    margin: 26px calc(var(--pad) * -1 - 4vw) 0 auto;
  }
  .tray { width: 100%; margin-top: 34px; }
}

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo cta" "links links";
    row-gap: 10px;
    padding-top: 14px;
  }
  .logo { grid-area: logo; }
  .key--nav { grid-area: cta; height: 42px; font-size: 14px; padding: 0 18px 0 14px; }
  .nav-links { grid-area: links; justify-content: center; gap: 0; }
  .nav-link { padding: 8px 12px; font-size: 15px; }
  .nav-link::after { left: 12px; right: 12px; }
  .lede { font-size: 16.5px; margin: 18px 0 24px; }
  .actions { gap: 14px 12px; }
  .key { padding: 0 20px 0 16px; font-size: 15px; }
  .counter { flex-basis: 100%; margin: 2px 0 0; }
  .gun-wrap { width: 84vw; margin-top: 18px; margin-right: -5vw; }
  .tray { margin-top: 24px; }

  .card {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: 62vh;
    border-radius: 22px 22px 0 0;
    padding: 26px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .card.open { transform: none; }
  .card-title { font-size: 26px; }
}

/* Reduced motion: keep the experience, calm the extras */
@media (prefers-reduced-motion: reduce) {
  .dot::after { animation: none; }
  .key, .slip-face, .card { transition-duration: .01s !important; }
  .counter strong.bump, .slip.bounce .slip-face, .card.swap { animation: none; }
}

/* ---------------- Footer / socials ---------------- */
.foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 32px;
  padding: 36px var(--pad) 40px;
  border-top: 1px solid rgba(17,17,17,.08);
}
.foot-line {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.foot-line em { font-family: var(--serif); font-weight: 400; color: var(--red); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e2e7;
  box-shadow: 0 4px 0 #d6d6dc;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.25, 1.9, .45, 1), box-shadow .3s, color .2s;
}
.socials a:hover { color: var(--red); transform: translateY(-1px); }
.socials a:active { transform: translateY(3px); box-shadow: 0 1px 0 #d6d6dc; transition-duration: .06s; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials .socials-cv { background: #141418; border-color: #000; box-shadow: 0 4px 0 #000; color: #fff; }
.socials .socials-cv:hover { color: #fff; background: var(--red); }
.foot-meta { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
@media (max-width: 960px) {
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .socials a span { display: none; }
  .socials a { width: 46px; justify-content: center; padding: 0; }
  .socials .socials-cv { width: auto; padding: 0 14px; }
  .socials .socials-cv span { display: inline; }
}

/* ---------------- Photo ---------------- */
.slip.has-photo .slip-title, .slip.has-photo .slip-sub { padding-right: 40px; }
.slip-photo {
  position: absolute;
  right: 10px; top: 50%;
  width: 46px; height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
  pointer-events: none;
}
.card-photo { display: none; }
.card.with-photo .card-photo {
  display: block;
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 16px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 22px 22px 0 0;
}
.card.with-photo .card-stripe { z-index: 1; }
.card.with-photo .card-close { background: rgba(255,255,255,.85); z-index: 1; }
.foot-intro { display: flex; align-items: center; gap: 18px; }
.foot-avatar {
  flex: none;
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red), 0 10px 20px -6px rgba(17,17,17,.35);
}
@media (max-width: 600px) {
  .card.with-photo .card-photo { width: calc(100% + 36px); margin: -26px -18px 14px; height: 170px; }
  .foot-avatar { width: 56px; height: 56px; }
}

/* ---------------- Card sizing: fits without a scrollbar ---------------- */
.card {
  width: min(440px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  scrollbar-width: none;
}
.card::-webkit-scrollbar { display: none; }
.card.with-photo .card-photo { height: 150px; object-position: 50% 20%; }
.card-body { font-size: 15.5px; line-height: 1.5; }
.card-body ul { columns: 2; column-gap: 20px; font-size: 14.5px; }
.card-body li { break-inside: avoid; }
.card-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}
.card-links .key {
  height: 42px;
  padding: 0 10px;
  font-size: 14px;
  justify-content: center;
}
.card-links .key .key-legend { top: 4px; right: 6px; font-size: 9px; }
.card-links .key--wide { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .card { width: 100%; max-height: 78vh; max-height: 78dvh; }
  .card.with-photo .card-photo { height: 120px; }
  .card-body ul { columns: 1; }
  .card-links { grid-template-columns: repeat(2, 1fr); }
}
.card.with-photo .card-photo { object-position: 50% 42%; }
.card-links { grid-template-columns: repeat(2, 1fr); }

/* Full (uncropped) portrait beside the title */
.card.with-photo {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  column-gap: 18px;
  align-content: start;
}
.card.with-photo .card-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 128px;
  height: 128px;
  margin: 8px 0 16px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red), 0 14px 24px -10px rgba(17,17,17,.45);
}
.card.with-photo .card-kicker { grid-column: 2; align-self: end; margin-top: 0; }
.card.with-photo .card-title  { grid-column: 2; align-self: start; margin-bottom: 16px; }
.card.with-photo .card-body   { grid-column: 1 / -1; }
.card.with-photo .card-close  { background: rgba(17,17,17,.06); }
@media (max-width: 600px) {
  .card.with-photo { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .card.with-photo .card-photo { width: 96px; height: 96px; margin: 6px 0 14px; }
}

.card-contact { margin: -4px 0 12px !important; font-weight: 800; font-size: 14px; color: var(--ink); user-select: all; -webkit-user-select: all; }
.socials .socials-wa { background: #1fa855; border-color: #158a44; box-shadow: 0 4px 0 #0f6e35; color: #fff; }
.socials .socials-wa:hover { color: #fff; background: #158a44; }
.foot-contact { color: var(--ink); font-weight: 800; font-size: 14px; user-select: all; -webkit-user-select: all; }

/* ---------------- CV viewer ---------------- */
[hidden] { display: none !important; }
body.cv-open { overflow: hidden; }
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: cv-in .25s ease;
}
@keyframes cv-in { from { opacity: 0; } }
.cv-sheet {
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.cv-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 20px 22px;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
}
.cv-title { flex: 1; min-width: 0; margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.cv-dl { height: 44px; font-size: 14px; padding: 0 18px 0 14px; }
.cv-close { position: static; flex: none; }
.cv-scroll { overflow: auto; padding: 18px; background: #e9e9ee; }
.cv-scroll img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
@media (max-width: 600px) {
  .cv-modal { padding: 0; place-items: end stretch; }
  .cv-sheet { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .cv-bar { padding: 12px 12px 18px 16px; gap: 10px; }
  .cv-title { font-size: 17px; }
  .cv-scroll { padding: 10px; }
}
