:root {
  --bg: #1a0f14;
  --bg-glow: #3a1426;
  --ink: #fbeee6;
  --ink-soft: rgba(251, 238, 230, 0.68);
  --line: rgba(251, 238, 230, 0.22);
  --hot: #ff4f9a;
  --hot-deep: #e0337f;
  --blue: #00aff0;
  --radius: 999px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  --body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(40px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% -10%, var(--bg-glow), transparent 70%),
    radial-gradient(80% 40% at 100% 110%, rgba(255, 79, 154, 0.18), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: rise 600ms cubic-bezier(.2, .7, .2, 1) both;
}

.avatar {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--hot);
}

.name {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 12vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.handle {
  margin: 8px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--hot);
}

.bio {
  margin: 16px auto 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: balance;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 238, 230, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.link:hover { background: rgba(251, 238, 230, 0.09); border-color: rgba(251, 238, 230, 0.4); }
.link:active { transform: scale(0.98); }
.link:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.link--hot {
  border-color: transparent;
  background: linear-gradient(180deg, var(--hot), var(--hot-deep));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 79, 154, 0.7);
}

.link--hot:hover { background: linear-gradient(180deg, #ff63a7, var(--hot)); border-color: transparent; }

.link__note {
  padding: 2px 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Blue: "See more" on the first page, and the athlete button behind it */

.link--blue {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 175, 240, 0.65);
}

.link--blue:hover { background: #1abbf5; border-color: transparent; }
.link--blue:focus-visible { outline-color: var(--blue); }

/* Social buttons, each dressed as the service it links to */

.link--youtube,
.link--instagram,
.link--tiktok,
.link--facebook {
  border-color: transparent;
  color: #fff;
}

.link--youtube {
  background: #ff0000;
  box-shadow: 0 10px 30px -14px rgba(255, 0, 0, 0.7);
}

.link--youtube:hover { background: #ff2a2a; border-color: transparent; }

.link--instagram {
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%) border-box;
  box-shadow: 0 10px 30px -14px rgba(238, 42, 123, 0.7);
}

.link--instagram:hover { filter: brightness(1.08); background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%) border-box; border-color: transparent; }

.link--tiktok {
  background: #000;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.9);
}

.link--tiktok:hover { background: #111; border-color: rgba(255, 255, 255, 0.24); }

.link--tiktok .link__logo {
  filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55);
}

.link--facebook {
  background: #0866ff;
  box-shadow: 0 10px 30px -14px rgba(8, 102, 255, 0.7);
}

.link--facebook:hover { background: #2a7bff; border-color: transparent; }

/* "Work with me": pink, set apart from the socials */
.link--work {
  margin-top: 12px;
}

.link__logo {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}

.fineprint {
  margin: 16px auto 0;
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.footer {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(251, 238, 230, 0.4);
}

/* /more and /work: a way back that stays in reach while scrolling */
.back {
  position: fixed;
  z-index: 10;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 15, 20, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.back:hover { border-color: rgba(251, 238, 230, 0.4); }
.back:active { transform: scale(0.97); }
.back:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

/* Tapping the photo also goes back */
.avatar-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  border-radius: 50%;
}

.avatar-link:focus-visible { outline: 2px solid var(--hot); outline-offset: 6px; }

/* Deliberately low-key: there for anyone who looks, invisible to everyone else */
.footer__quiet {
  color: inherit;
  text-decoration: none;
}

.footer__quiet:hover { text-decoration: underline; }

/* Privacy page */

.body--prose { place-items: start center; }

.prose {
  width: 100%;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.prose h1 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  color: var(--ink);
}

.prose h2 {
  margin: 32px 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.prose p, .prose address { margin: 0 0 12px; }
.prose address { font-style: normal; }
.prose a { color: var(--ink); }
.prose .footer__quiet { color: rgba(251, 238, 230, 0.5); font-size: 13px; }
.prose code { font-size: 0.9em; color: var(--ink); }
.prose__updated { font-size: 13px; color: rgba(251, 238, 230, 0.45); }

/* Age gate */

.gate {
  width: min(92vw, 380px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #241419;
  color: var(--ink);
}

.gate::backdrop {
  background: rgba(10, 4, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gate[open] { animation: pop 220ms cubic-bezier(.2, .7, .2, 1) both; }

.gate__inner { padding: 28px 24px 24px; text-align: center; }

.gate__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hot);
}

.gate__title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}

.gate__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.gate__check {
  display: flex;
  justify-content: center;
  min-height: 65px;
  margin-top: 20px;
}

.gate__status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.gate__actions { display: grid; gap: 8px; margin-top: 12px; }

.gate__cancel {
  min-height: 50px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
}

/* Work with me (/work) */

.body--work { place-items: start center; }

.work {
  width: 100%;
  max-width: 520px;
  animation: rise 600ms cubic-bezier(.2, .7, .2, 1) both;
}

.work__head { text-align: center; }

.avatar--small {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.work__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hot);
}

.work__title {
  margin: 6px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 11vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.work__sub { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }

.hero {
  margin-top: 32px;
  padding: 28px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(255, 79, 154, 0.22), transparent 70%),
    rgba(251, 238, 230, 0.03);
  text-align: center;
}

.hero p { margin: 0; }

.hero__value {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(64px, 20vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero__label { margin-top: 8px !important; font-size: 17px; font-weight: 600; }
.hero__detail { margin-top: 4px !important; font-size: 13px; color: var(--ink-soft); }

.work__section {
  margin-top: 44px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.work__section h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}

.work__section p { margin: 0 0 12px; }

/* Platform tabs: only shown once work.js is running; without it every panel shows, stacked */
.tabs { display: none; }

.js-tabs .tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 238, 230, 0.04);
}

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.tab .link__logo { width: 18px; height: 18px; }
.tab:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.tab--instagram[aria-selected="true"] { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); color: #fff; }
.tab--youtube[aria-selected="true"] { background: #ff0000; color: #fff; }

.panel + .panel { margin-top: 36px; }
.js-tabs .panel + .panel { margin-top: 0; }

.panel__handle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px !important;
  font-size: 13px;
}

.panel__handle .link__logo { width: 16px; height: 16px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251, 238, 230, 0.04);
}

.stat__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__label { font-size: 13px; line-height: 1.4; }

.stat__trend {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--radius);
  background: rgba(110, 231, 160, 0.14);
  color: #7ee8a8;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.highlights {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 79, 154, 0.1);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.highlights li::before { content: "✦ "; color: var(--hot); }

.panel__subhead { margin: 22px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink); }

.bars {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bar {
  display: grid;
  grid-template-columns: 84px 1fr 48px; /* wide enough for "Top 31–40%", so every chart lines up */
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.panel__note { margin: -4px 0 10px; font-size: 12px; color: var(--ink-soft); }

.bar__value { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

.bar__track {
  height: 10px;
  border-radius: var(--radius);
  background: rgba(251, 238, 230, 0.08);
  overflow: hidden;
}

/* Scaled ×2.5 so the biggest band (under 40%) nearly fills the track; proportions between bands stay true */
.bar__fill {
  display: block;
  width: min(100%, calc(var(--value) * 2.5));
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--hot-deep), var(--hot));
  transform-origin: left;
}

.bars--ready .bar__fill { transform: scaleX(0); }

.bars--in .bar__fill {
  transform: scaleX(1);
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1);
}

.bars--in .bar:nth-child(2) .bar__fill { transition-delay: 60ms; }
.bars--in .bar:nth-child(3) .bar__fill { transition-delay: 120ms; }
.bars--in .bar:nth-child(4) .bar__fill { transition-delay: 180ms; }
.bars--in .bar:nth-child(5) .bar__fill { transition-delay: 240ms; }
.bars--in .bar:nth-child(6) .bar__fill { transition-delay: 300ms; }
.bars--in .bar:nth-child(7) .bar__fill { transition-delay: 360ms; }

.stats__note { margin: 14px 0 0 !important; font-size: 12px; color: rgba(251, 238, 230, 0.45); }

.stats__note a {
  color: rgba(251, 238, 230, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stats__note a:hover { color: var(--ink); }

/* "Contact me" glides down to Let's talk, leaving room above the heading */
html { scroll-behavior: smooth; }
.contact { scroll-margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  display: grid;
  grid-template-columns: 72px auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(251, 238, 230, 0.08);
  font-size: 14px;
}

.timeline__when { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.timeline__what { color: var(--ink); font-weight: 600; }

.timeline__kind {
  padding: 2px 9px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.timeline__item--trip .timeline__kind { background: rgba(251, 238, 230, 0.12); color: var(--ink); }
.timeline__item--event .timeline__kind { background: rgba(251, 191, 36, 0.18); color: #fcd34d; }

.ticks {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li { padding-left: 24px; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--hot); font-weight: 700; }

.terms {
  padding: 22px 20px 12px;
  border: 1px dashed rgba(255, 79, 154, 0.55);
  border-radius: 20px;
  background: rgba(255, 79, 154, 0.06);
}

.terms h2 { font-size: 26px; }

.offers { display: grid; gap: 12px; }

.offer {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251, 238, 230, 0.04);
}

.offer:first-child {
  border-color: rgba(255, 79, 154, 0.45);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 79, 154, 0.16), transparent 70%),
    rgba(251, 238, 230, 0.04);
}

.offer__name {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
}

.offer__term {
  display: inline-block;
  margin: 8px 0 12px !important;
  padding: 3px 10px;
  border-radius: var(--radius);
  background: rgba(255, 79, 154, 0.14);
  color: var(--hot);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.offer .ticks { margin-top: 4px; font-size: 14px; }

.contact .links { margin-top: 16px; }

.link--whatsapp {
  border-color: transparent;
  background: #25d366;
  color: #052e14;
  box-shadow: 0 10px 30px -14px rgba(37, 211, 102, 0.7);
}

.link--whatsapp:hover { background: #3ddc79; border-color: transparent; }

.work .footer { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .work { animation: none; }
  .bars--ready .bar__fill { transform: none; }
  .bars--in .bar__fill { transition: none; }
}

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }

@media (prefers-reduced-motion: reduce) {
  .card, .gate[open] { animation: none; }
  .link { transition: none; }
}
