:root {
  --cobalt: #2a4bd7;
  --cobalt-deep: #1a2f9a;
  --acid: #e4ff3a;
  --pink: #ff3fa4;
  --orange: #ff6b45;
  --cream: #f4ecd8;
  --paper: #fbf7ec;
  --ink: #14121f;
  --muted: #5d5a6e;
  --display: "Rubik Mono One", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
  --body: "Space Grotesk", system-ui, sans-serif;
  --shadow: 5px 5px 0 var(--ink);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--cream);
  background-color: var(--cobalt);
  background-image: radial-gradient(rgba(0,0,0,.18) 1.2px, transparent 1.3px);
  background-size: 7px 7px;
  overflow-x: hidden;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(26, 47, 154, .85);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}
.brand { font-family: var(--display); font-size: 20px; text-decoration: none; color: var(--acid); text-shadow: 2px 2px 0 var(--pink); }
.brand span { color: var(--cream); }
.topbar nav { display: flex; gap: 20px; font-family: var(--pixel); font-size: 24px; }
.topbar nav a { text-decoration: none; }
.topbar nav a:hover { color: var(--acid); }

main { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- profile ---------- */
.profile {
  display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(16px, 4vw, 48px);
  align-items: center; padding: 40px 0 32px;
}
.mascot-wrap { position: relative; }
.burst { position: absolute; left: 50%; top: 52%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%); animation: spin 140s linear infinite; z-index: 0; }
.burst polygon { fill: var(--acid); stroke: var(--ink); stroke-width: 2; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
#mascot { position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; cursor: pointer; }
#head { transform-origin: 150px 200px; transition: transform .25s ease-out; }
#eyes { transform-origin: 150px 152px; transition: transform .08s; }
.bob { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.sparkle { animation: twinkle 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sparkle:nth-of-type(2) { animation-delay: .5s; }
.sparkle:nth-of-type(3) { animation-delay: 1s; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .6; } }
.bubble {
  position: absolute; right: -6%; top: 8%; z-index: 3; max-width: 70%;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 18px;
  padding: 6px 14px; font-family: var(--pixel); font-size: 22px; line-height: 1.05;
  box-shadow: 4px 4px 0 var(--pink); transform: rotate(5deg);
  transition: transform .2s;
}
.bubble.pop { transform: rotate(5deg) scale(1.08); }

.handle { font-family: var(--pixel); font-size: 24px; margin: 0; color: var(--acid); }
.verified { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 15px; border: 2px solid var(--ink); vertical-align: 2px; }
.intro h1 {
  font-family: var(--display); font-size: clamp(36px, 6.4vw, 72px); line-height: .95; margin: 6px 0 12px;
  color: var(--cream); text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--ink); letter-spacing: -1px;
}
.title { font-weight: 700; font-size: clamp(15px, 1.8vw, 18px); margin: 0 0 16px; color: var(--acid); }
.stats { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.stats li { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--ink); text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: 22px; color: var(--cobalt); }
.stats span { font-size: 13px; font-weight: 500; }
.bio { font-size: 16px; line-height: 1.55; margin: 0 0 20px; max-width: 56ch; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px;
  border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink);
  font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s;
  font-family: var(--body); font-size: 15px; cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--acid); }
.btn-pink { background: var(--pink); color: #fff; }

/* ---------- feed ---------- */
.feed { padding: 8px 0 40px; }
.feed-tabs { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--ink); padding: 12px 0 16px; font-family: var(--pixel); font-size: 24px; }
.feed-tabs .dim { opacity: .7; font-size: 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); }

.tile {
  position: relative; aspect-ratio: 4 / 5; border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  font: inherit; color: var(--ink); transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tile:hover, .tile:focus-visible { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); outline: none; }
.tile .inner { position: relative; z-index: 2; padding: clamp(12px, 2vw, 20px); }
.tile .kicker { display: inline-block; font-family: var(--pixel); font-size: 18px; padding: 0 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); margin-bottom: 8px; }
.tile h3 { font-family: var(--display); font-size: clamp(16px, 2.5vw, 28px); line-height: 1; margin: 0 0 8px; }
.tile .sub { font-weight: 700; font-size: clamp(12px, 1.4vw, 15px); margin: 0; }
.tile .corner { position: absolute; top: 12px; right: 12px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; font-size: 16px; color: var(--ink); }
.tile .art { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding-bottom: 32%; }
.tile .logo-sticker { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; overflow: hidden; transform: rotate(-6deg); }
.tile .logo-sticker img { width: 78%; height: 78%; object-fit: contain; }
.tile .bigicon { font-size: clamp(52px, 9vw, 96px); filter: drop-shadow(4px 4px 0 var(--ink)); transform: rotate(-6deg); }
.tile .star { position: absolute; width: 70%; aspect-ratio: 1; opacity: .9; }
.tile .star polygon { stroke: var(--ink); stroke-width: 3; }

.t-acid { background: var(--acid); }
.t-acid .star polygon { fill: var(--pink); }
.t-cream { background: var(--paper); }
.t-cream .star polygon { fill: var(--acid); }
.t-ink { background: #22202e; color: var(--cream); }
.t-ink .star polygon { fill: var(--cobalt); }
.t-ink .kicker { color: var(--ink); }
.t-pink { background: var(--pink); }
.t-pink .star polygon { fill: var(--acid); }
.t-orange { background: var(--orange); }
.t-orange .star polygon { fill: var(--cream); }
.t-blue { background: #5b6cff; color: var(--cream); }
.t-blue .star polygon { fill: var(--acid); }
.t-blue .kicker { color: var(--ink); }

/* ---------- contact ---------- */
.contact { text-align: center; padding: 48px 0 64px; border-top: 3px solid var(--ink); }
.contact .script { font-family: var(--pixel); font-size: 32px; margin: 0; color: var(--acid); }
.contact h2 { font-family: var(--display); font-size: clamp(40px, 9vw, 96px); margin: 0 0 12px; text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--ink); }
.contact p { font-size: 17px; }
.footnote { opacity: .7; font-size: 14px !important; margin-top: 32px; }

/* ---------- modal ---------- */
dialog#modal {
  width: min(1040px, 94vw); max-height: 92vh; padding: 0; border: 3px solid var(--ink); border-radius: 22px;
  background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
}
dialog#modal[open] { display: flex; flex-direction: column; animation: popin .22s ease-out; }
@keyframes popin { from { transform: scale(.94); opacity: 0; } }
dialog::backdrop { background: rgba(20, 18, 31, .6); backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 3px solid var(--ink); background: var(--cream); }
.who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.who small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--acid); border: 2px solid var(--ink); font-family: var(--display); font-size: 15px; }
.counter { font-family: var(--pixel); font-size: 22px; }
.close { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); color: #fff; font-size: 16px; cursor: pointer; }
.modal-body { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }

/* carousel */
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; flex: 1; min-height: 0; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; overflow-y: auto; padding: clamp(18px, 3vw, 36px); max-height: calc(92vh - 110px); }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--acid); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }
.nav-btn:disabled { opacity: 0; pointer-events: none; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px; border-top: 3px solid var(--ink); background: var(--cream); }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.dots button.on { background: var(--cobalt); width: 22px; border-radius: 6px; }

/* slide content */
.slide h2 { font-family: var(--display); font-size: clamp(24px, 4vw, 44px); line-height: 1; color: var(--cobalt); margin: 0 0 8px; }
.slide .lede { color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.slide p { line-height: 1.55; }
.tag { display: inline-block; font-family: var(--pixel); font-size: 20px; background: var(--acid); border: 2px solid var(--ink); border-radius: 6px; padding: 0 8px; margin-bottom: 8px; }
.cover { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.cover .logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; margin-bottom: 14px; overflow: hidden; }
.cover .logo img { width: 76%; height: 76%; object-fit: contain; }
.cover .role { font-weight: 700; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); }
.chip:hover { background: var(--acid); }
.swipe-hint { font-family: var(--pixel); font-size: 22px; color: var(--pink); margin-top: 18px; }

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 20px; }
.stat { background: var(--cobalt); color: var(--cream); border: 3px solid var(--ink); border-radius: 16px; padding: 14px; box-shadow: 4px 4px 0 var(--ink); }
.stat:nth-child(2n) { background: var(--pink); color: #fff; }
.stat:nth-child(3n) { background: var(--acid); color: var(--ink); }
.stat b { display: block; font-family: var(--display); font-size: clamp(20px, 3vw, 32px); line-height: 1.05; }
.stat span { font-size: 13px; font-weight: 500; }
.bullets { padding-left: 20px; margin: 0; }
.bullets li { margin-bottom: 8px; line-height: 1.5; }

.phones { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; }
.phones.wide { justify-content: center; }
.phone { flex: 0 0 auto; width: clamp(150px, 19vw, 190px); scroll-snap-align: start; }
.phones.wide .phone { width: clamp(170px, 26vw, 250px); }
.phone .frame { position: relative; aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 4px 4px 0 var(--ink); }
.phone .frame.landscape { aspect-ratio: 16 / 10; }
.phone video, .phone .frame img { width: 100%; height: 100%; object-fit: cover; }
.phone .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.15); border: 0; cursor: pointer; }
.phone .play span { width: 52px; height: 52px; border-radius: 50%; background: var(--acid); border: 3px solid var(--ink); display: grid; place-items: center; font-size: 20px; padding-left: 4px; }
.phone .label { font-weight: 700; font-size: 14px; margin: 10px 0 2px; }
.phone .desc { font-size: 13px; color: var(--muted); margin: 0 0 4px; line-height: 1.4; }
.phone .orig { font-size: 13px; font-weight: 700; color: var(--cobalt); }

.campaign { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.campaign .statgrid { grid-template-columns: repeat(2, 1fr); }
.campaign .media { display: flex; gap: 14px; align-items: flex-start; }
.campaign .poster { flex: 1; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.campaign .poster img { width: 100%; height: auto; }
.campaign .phone { width: 150px; }

.ba { position: relative; max-width: 420px; margin-top: 8px; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); user-select: none; touch-action: pan-y; }
.ba img { width: 100%; height: auto; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba .after img { height: 100%; object-fit: cover; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--acid); transform: translateX(-2px); }
.ba .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--acid); border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 700; }
.ba .lbl { position: absolute; top: 8px; font-family: var(--pixel); font-size: 18px; background: var(--ink); color: var(--cream); padding: 0 6px; border-radius: 4px; }
.ba .lbl.l { left: 8px; } .ba .lbl.r { right: 8px; }
.results-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.shots { display: flex; gap: 12px; }
.shots img { width: 50%; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }

.social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social .card { border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
.social .card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-bottom: 3px solid var(--ink); }
.social .card div { padding: 12px; }
.social .card b { font-family: var(--display); font-size: 20px; color: var(--cobalt); display: block; }
.social .card small { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery > * { border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 3px 3px 0 var(--ink); aspect-ratio: 1; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }

.timeline { display: grid; gap: 16px; }
.job { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 16px; box-shadow: 4px 4px 0 var(--ink); }
.job .logo { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; overflow: hidden; background: #fff; }
.job .logo img { width: 78%; height: 78%; object-fit: contain; }
.job h3 { margin: 0; font-size: 19px; }
.job h3 a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.job p { margin: 2px 0; font-size: 14px; }
.job .dates { font-family: var(--pixel); font-size: 20px; color: var(--pink); }

/* game */
.game { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(14px, 3vw, 28px); }
.game canvas { width: 100%; max-width: 900px; aspect-ratio: 3 / 1; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 5px 5px 0 var(--ink); touch-action: none; cursor: pointer; }
.game .help { font-family: var(--pixel); font-size: 22px; margin: 0; text-align: center; }
.game-over { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 48px; }

.hearts { position: fixed; pointer-events: none; font-size: 28px; animation: floatup 1.2s ease-out forwards; z-index: 99; }
@keyframes floatup { to { transform: translateY(-120px) scale(1.4); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .profile { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .mascot-wrap { width: min(300px, 78vw); margin: 0 auto; }
  .stats, .actions { justify-content: center; }
  .bio { margin-left: auto; margin-right: auto; }
  .cover, .campaign, .results-wrap { grid-template-columns: 1fr; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .social { grid-template-columns: 1fr; }
  .social .card { display: grid; grid-template-columns: 110px 1fr; }
  .social .card img { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 3px solid var(--ink); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .job { grid-template-columns: 56px 1fr; }
  .job .logo { width: 56px; height: 56px; }
  .job .btn { grid-column: 1 / -1; justify-content: center; }
  .phones.wide { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  dialog#modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; box-shadow: none; }
  .slide { max-height: none; }
  .nav-btn { display: none; }
  .bubble { right: -2%; font-size: 19px; }
  .topbar nav { gap: 14px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- v2 layout fixes ---------- */
/* vertically center single-block slides (covers, campaigns) */
.slide:has(> .cover), .slide:has(> .campaign) { display: grid; align-content: center; }
.campaign { align-items: center; }
.campaign .media { align-items: center; justify-content: center; }
.campaign .poster { flex: 0 1 230px; }
.campaign .phone { width: 170px; }
.results-wrap { align-items: center; }
/* before/after: cap height so it sits level with the text */
.ba { max-height: 340px; }
.ba img { height: 340px; width: 100%; object-fit: cover; object-position: top; }
/* phones row: vertically center; wide (landscape) clips are 25% bigger */
.phones { align-items: center; }
.phone.land { width: clamp(188px, 23.75vw, 238px); }
.cover-media { justify-content: center; }
.cover-media .phone.land { width: min(100%, 460px); }
/* events: 2x2, keep original shape (no crop) */
.gallery { grid-template-columns: repeat(2, 1fr); }
.gallery > * { aspect-ratio: auto; }
.gallery img, .gallery video { height: auto; object-fit: contain; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .ba, .ba img { max-height: 300px; height: 300px; }
}
/* fit the 2x2 events grid inside the viewer without scrolling */
.gallery { max-width: calc((92vh - 340px) * 1.9 + 12px); margin: 12px auto 0; }
@media (max-width: 600px) { .gallery { max-width: none; } }
/* before/after as two full screenshots (same look as Business Monitor) */
.shots .shot { position: relative; width: 50%; margin: 0; }
.shots .shot img { width: 100%; }
.shots .shot .lbl { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--pixel); font-size: 18px; background: var(--ink); color: var(--acid); padding: 0 8px; border-radius: 6px; }
.shots .shot:last-child .lbl { background: var(--pink); color: #fff; }
.shots:has(.shot) { padding-top: 12px; }

/* ---------- v3 ---------- */
/* email pop-up with copy button */
#mailpop { position: absolute; z-index: 60; background: var(--paper, #fbf7ec); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); padding: 10px 12px 12px; animation: mp-in .22s cubic-bezier(.2, 1.4, .4, 1); }
#mailpop[hidden] { display: none; }
@keyframes mp-in { from { transform: translateY(-6px) scale(.96); opacity: 0; } }
#mailpop small { display: block; font-family: var(--pixel); font-size: 18px; color: var(--pink); margin-bottom: 4px; }
#mailpop .mp-row { display: flex; align-items: center; gap: 10px; }
#mailpop .mp-addr { font-weight: 700; font-size: 16px; color: var(--ink); user-select: all; }
#mailpop .mp-copy { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--acid); color: var(--ink); font: 700 14px/1 var(--body); padding: 7px 12px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
#mailpop .mp-copy:hover { background: #fff; }
#mailpop .mp-copy:active { transform: translate(1px, 1px); box-shadow: none; }
#mailpop .mp-copy.done { background: var(--cobalt); color: #fff; }
#mailpop .mp-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
/* campaign: long hashtag headings wrap instead of squeezing the poster */
.campaign { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.campaign h2 { font-size: clamp(22px, 2.3vw, 40px); overflow-wrap: anywhere; }
.campaign .poster { min-width: 140px; }
/* cover without picture: text only */
.cover:has(> .cover-media:empty) { grid-template-columns: 1fr; }
.cover-media:empty { display: none; }
.cover:has(> .cover-media:empty) > div { max-width: 760px; }
/* results with a landscape video */
.res-media { justify-content: center; overflow: visible; }
.res-media .phone.land { width: min(100%, 440px); }
/* horizontal panorama strip (interactive carousel) */
.strip { margin: 10px auto 0; width: fit-content; max-width: 100%; }
.strip-track { overflow-x: auto; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); background: #fff; scroll-snap-type: x proximity; }
.strip-track img { display: block; height: clamp(170px, 26vh, 260px); width: auto; max-width: none; }
.strip figcaption { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; font-weight: 700; }
.strip .hint { font-family: var(--pixel); color: var(--pink); font-size: 18px; font-weight: 400; }
.campaign h2 { font-size: clamp(20px, 1.95vw, 36px); overflow-wrap: break-word; }
.slide:has(.strip) .phones { padding-bottom: 6px; }
.slide:has(.strip) .phone { width: clamp(130px, 14vw, 160px); }
.strip-track img { height: clamp(140px, 21vh, 220px); }
.slide:has(.strip) .phone { width: clamp(120px, 12vw, 140px); }
.slide:has(.strip) .lede { margin-bottom: 10px; }
.strip-track img { height: clamp(130px, 18vh, 190px); }
.strip-track img { height: clamp(120px, 16vh, 170px); }
.strip .hint { display: none; }

/* ---------- CV pop-up (same look as the desktop version) ---------- */
@media (min-width: 601px) { dialog#modal.is-cv { height: 92vh; } }
.cv-scroll { flex: 1; min-height: 0; overflow-y: auto; container-type: inline-size; background: #e9e4f2; background-image: radial-gradient(rgba(42, 75, 215, .12) 1.2px, transparent 1.3px); background-size: 8px 8px; }
.cv-contact span { user-select: all; }
.cv-tools { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--cream); border-bottom: 3px solid var(--ink); }
.cv-tools span { flex: 1; min-width: 160px; font-family: var(--pixel); font-size: 21px; }
.cv-tools .btn { padding: 8px 14px; font-size: 14px; }
.cv-page { max-width: 820px; margin: 22px auto 28px; padding: clamp(20px, 4vw, 44px); background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 7px 7px 0 var(--ink); user-select: text; }
.cv-head { text-align: center; border-bottom: 3px solid var(--ink); padding-bottom: 16px; margin-bottom: 16px; }
.cv-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 40px); line-height: 1; margin: 0 0 8px; color: var(--cobalt); text-shadow: 3px 3px 0 var(--acid); }
.cv-title { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--pink); }
.cv-contact { margin: 0; font-size: 14px; }
.cv-contact a { color: var(--ink); text-underline-offset: 3px; }
.cv-sum { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.cv-page h2 { margin: 24px 0 12px; font-size: 0; border-bottom: 2px solid var(--ink); line-height: 0; }
.cv-page h2 span { display: inline-block; transform: translateY(50%); font-family: var(--pixel); font-weight: 400; font-size: 22px; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; background: var(--acid); border: 2px solid var(--ink); border-radius: 6px; padding: 0 10px; }
.cv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 0; margin: 0; }
.cv-chips li { font-size: 13px; font-weight: 700; padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.cv-chips li:nth-child(3n+1) { background: #e8ecff; } .cv-chips li:nth-child(3n+2) { background: #ffe3f1; }
.cv-job { display: grid; grid-template-columns: 210px 1fr; gap: 22px; padding: 18px 0; border-bottom: 2px dashed rgba(20, 18, 31, .2); }
.cv-job:last-of-type { border-bottom: 0; }
.cv-meta .dates { font-family: var(--pixel); font-size: 20px; color: var(--pink); }
.cv-meta h3 { margin: 4px 0 2px; font-size: 17px; line-height: 1.25; }
.cv-meta p { margin: 2px 0; font-size: 13px; }
.cv-meta .team { font-weight: 700; }
.cv-meta .co { font-weight: 700; color: var(--cobalt); }
.cv-meta .ind { color: var(--muted); }
.cv-logo { width: 64px; height: 64px; margin-top: 10px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.cv-logo img { width: 78%; height: 78%; object-fit: contain; }
.cv-detail h4, .cv-skills h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.cv-detail ul, .cv-skills ul { margin: 0 0 12px; padding-left: 18px; }
.cv-detail li, .cv-skills li { font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.cv-detail ul.ach li::marker { content: "✦  "; color: var(--pink); }
.cv-edu { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cv-edu b { font-size: 16px; }
.cv-skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
@container (max-width: 640px) {
  .cv-job { grid-template-columns: 1fr; gap: 8px; }
  .cv-skills { grid-template-columns: 1fr; }
  .cv-logo { display: none; }
}
@container (max-width: 520px) { .cv-tools span { display: none; } .cv-tools .btn { flex: 1; justify-content: center; } }
