/* Bjarne Brun link-in-bio (bjarnebrun.com). Yacht-night backdrop, neon-glow avatar, neon-outline buttons.
   Phone first; two-column glass card from 1000px. No build step. */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0e0a26;
  --night-2: #1a1145;
  --glass: rgba(16, 11, 44, 0.66);
  --glass-hi: rgba(28, 19, 70, 0.78);
  --pink: #ff3da8;
  --cyan: #28e6ff;
  --gold: #f5c451;
  --white: #ffffff;
  --text: #f3f1ff;
  --dim: #d4d0f2;
  --radius: 18px;
  --col: 34rem;
  --display: "Anton", Impact, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--night);
  color: var(--text);
  font: 400 1rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--gold); color: #1a1000; padding: .6rem 1rem; border-radius: 10px;
  font-weight: 700; z-index: 50; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---------- backdrop ---------- */
.scene { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.scene picture, .scene img {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none;
  object-fit: cover; object-position: 50% 30%;
}
.scene img { /* drift removed 2026-10-13: moving background under backdrop-filter glass caused jank */ }
@keyframes drift {
  from { transform: scale(1.04) translate3d(-1.2%, 0, 0); }
  to   { transform: scale(1.1) translate3d(1.2%, -1.5%, 0); }
}
.shade {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 10, 38, .30) 0%, rgba(14, 10, 38, .52) 18%, rgba(14, 10, 38, .84) 40%, rgba(14, 10, 38, .95) 68%, var(--night) 100%);
}
/* neon deck strips, like the yacht's light lines */
.strips { position: fixed; left: 0; right: 0; top: 0; height: 40px; z-index: -1; pointer-events: none; }
.strips::before, .strips::after {
  content: ""; position: absolute; left: -5%; right: -5%; height: 2px; border-radius: 2px;
}
.strips::before { top: 14px; background: var(--pink); box-shadow: 0 0 8px var(--pink), 0 0 22px rgba(255, 61, 168, .7); animation: flicker 9s linear infinite; }
.strips::after  { top: 24px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan), 0 0 22px rgba(40, 230, 255, .6); opacity: .8; }

/* Miami skyline with palms + neon sign: two layers drifting at different speeds (parallax) */
.skyline {
  position: fixed; left: 0; right: 0; bottom: 0; height: 24vh; max-height: 210px; min-height: 120px;
  z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
}
.skyline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan)); opacity: .7; box-shadow: 0 0 14px var(--pink);
}
.sky-far, .sky-near {
  position: absolute; left: 0; bottom: 0; width: 200%; height: 100%;
  background: url("../img/skyline.svg") repeat-x 0 100% / auto 100%;
  will-change: transform;
}
.sky-far { opacity: .3; filter: saturate(.6) brightness(1.3); background-position: 41% 100%; animation: cruise 260s linear infinite; }
.sky-near { opacity: .8; height: 80%; animation: cruise 150s linear infinite; }
@keyframes cruise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- layout ---------- */
.wrap {
  width: min(100% - 2.25rem, var(--col));
  margin-inline: auto;
  padding: clamp(1.25rem, 3.2vh, 3rem) 0 1.5rem;
}

.share {
  position: fixed; top: 40px; right: 12px; z-index: 5;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: 0 .9rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(14, 10, 38, .6);
  color: var(--white); font: 600 .875rem/1 var(--body); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.share svg { width: 18px; height: 18px; }
.share:hover { border-color: var(--cyan); }

/* ---------- hero ---------- */
.hero { text-align: center; }
/* one rounded square: 3px pink -> gold -> cyan rim + soft neon glow behind it (no ring inside a ring) */
.card {
  position: relative; isolation: isolate;
  width: clamp(148px, 40vw, 164px);
  aspect-ratio: 1;
  margin: 0 auto .95rem;
  padding: 3px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--gold) 50%, var(--cyan) 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  animation: float 7s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: transform; backface-visibility: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: inherit; filter: blur(18px); opacity: .6;
  animation: glow 7s ease-in-out infinite;
  will-change: opacity; transform: translateZ(0);
}
.card picture, .card img { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; background: var(--night-2); }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0.001deg); } 50% { transform: translate3d(0, -10px, 0) rotate(0.001deg); } }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: .8; } }

.name {
  margin: 0;
  font: 400 clamp(2.7rem, 12.5vw, 4.2rem)/.95 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 4px rgba(255, 61, 168, .95), 0 0 16px rgba(255, 61, 168, .75), 0 0 38px rgba(255, 61, 168, .45);
  animation: flicker 11s linear infinite;
}
@keyframes flicker {
  0%, 62%, 64.5%, 66%, 100% { opacity: 1; }
  63% { opacity: .55; }
  65.2% { opacity: .78; }
}
.handle, .tagline { text-shadow: 0 0 12px rgba(14, 10, 38, .95), 0 1px 2px rgba(0, 0, 0, .85); }
.handle { margin: .45rem 0 0; font: 600 1rem/1.2 var(--body); letter-spacing: .04em; color: var(--cyan); }
.tagline { margin: .55rem 0 0; font: 700 clamp(1.1rem, 4.6vw, 1.3rem)/1.3 var(--body); color: var(--gold); }
.games {
  list-style: none; margin: .75rem auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem;
  max-width: 34rem;
}
.games li {
  padding: .14rem .55rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em; color: var(--text);
  background: rgba(14, 10, 38, .72); border: 1px solid rgba(245, 196, 81, .42);
}

/* ---------- link buttons ---------- */
.links { list-style: none; margin: 1.15rem 0 0; padding: 0; display: grid; gap: .7rem; }
.btn {
  --a: var(--pink);
  --a-glow: rgba(255, 61, 168, .38);
  position: relative;
  display: flex; align-items: center; gap: .9rem;
  min-height: 68px; padding: .65rem 1rem .65rem .7rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--a);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 0 14px var(--a-glow), inset 0 0 14px rgba(255, 255, 255, .03);
  text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn[data-accent="cyan"] { --a: var(--cyan); --a-glow: rgba(40, 230, 255, .34); }
.btn[data-accent="gold"] { --a: var(--gold); --a-glow: rgba(245, 196, 81, .34); }
.btn:hover, .btn:focus-visible { background: var(--glass-hi); box-shadow: 0 0 22px var(--a-glow), 0 0 4px var(--a); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .ico {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--a);
}
.btn .ico svg { width: 24px; height: 24px; fill: currentColor; }
.btn .txt { flex: 1; min-width: 0; text-align: left; }
.btn .lbl { display: block; font: 700 1.1rem/1.2 var(--body); color: var(--white); }
.btn .sub { display: block; font-size: .875rem; line-height: 1.3; color: var(--dim); margin-top: .12rem; }
.btn .go { flex: none; width: 20px; height: 20px; color: var(--a); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.sec { margin-top: 1.3rem; }
.sec-h { display: flex; align-items: center; gap: .7rem; margin: 0 0 .65rem; }
.sec-h h2 { margin: 0; font: 400 1.45rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.sec-h::after { content: ""; order: 1; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 10px rgba(40, 230, 255, .5); }
.pill {
  order: 2; flex: none;
  font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1;
  color: var(--gold); padding: .42rem .68rem; border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, .55); background: rgba(14, 10, 38, .85);
}

.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.clip a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  border-radius: 14px; overflow: hidden; background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .18s ease, transform .18s ease;
}
.clip a:hover, .clip a:focus-visible { border-color: var(--pink); transform: translateY(-2px); }
/* phone: square crop instead of 9:16 so two cards stay compact (~230px tall incl. title) */
.clip .th { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; object-position: 50% 35%; background: var(--night-2); }
.clip .meta { display: block; padding: .5rem .65rem .65rem; }
.clip .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .9375rem; line-height: 1.25; color: var(--white); overflow-wrap: anywhere; }
.clip .g { display: block; font-size: .875rem; color: var(--dim); margin-top: .2rem; }
/* clip without a thumbnail collapses to a neat text card, no empty box */
.clip.no-th { align-self: start; }
.clip.no-th a { justify-content: center; border-left: 3px solid var(--cyan); }
.clip.no-th .meta { padding: .8rem .8rem .85rem; }

.empty {
  padding: .85rem 1rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(120deg, rgba(245, 196, 81, .8), rgba(255, 61, 168, .5), rgba(40, 230, 255, .6)) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reel { display: flex; justify-content: center; gap: 8px; margin: 0 0 .7rem; }
.reel span {
  width: 24px; height: 34px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, rgba(255, 61, 168, .3), rgba(40, 230, 255, .22));
  opacity: .4; animation: reel 2.4s ease-in-out infinite;
}
.reel span:nth-child(2) { animation-delay: .3s; }
.reel span:nth-child(3) { animation-delay: .6s; }
.reel span:nth-child(4) { animation-delay: .9s; }
.reel span:nth-child(5) { animation-delay: 1.2s; }
@keyframes reel { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: .85; transform: translateY(-3px); } }
.empty-body { display: flex; gap: .85rem; align-items: flex-start; }
.empty .anchor { flex: none; width: 38px; height: 38px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(245, 196, 81, .5)); }
.empty h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--white); }
.empty p { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--dim); }
.btn-sm {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; margin-top: .75rem; padding: 0 1.1rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  color: #071018; background: var(--cyan);
  box-shadow: 0 0 18px rgba(40, 230, 255, .35);
  transition: box-shadow .18s ease, transform .18s ease;
}
.btn-sm:hover, .btn-sm:focus-visible { box-shadow: 0 8px 30px -6px var(--cyan); transform: translateY(-1px); }
.btn-sm svg { width: 18px; height: 18px; fill: currentColor; }

.contact {
  display: flex; align-items: center; gap: .75rem;
  min-height: 64px; padding: .55rem .55rem .55rem 1rem; border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, rgba(245, 196, 81, .14), rgba(245, 196, 81, .04)), var(--glass);
  box-shadow: 0 0 16px rgba(245, 196, 81, .22);
}
.mail-ico { flex: none; width: 22px; height: 22px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ct { flex: 1; min-width: 0; }
.ck { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); line-height: 1.2; }
.ct a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; font-size: clamp(.875rem, 4vw, 1rem); color: var(--white); text-decoration: none; white-space: nowrap; }
@media (max-width: 379px) { .mail-ico { display: none; } .contact { padding-left: .85rem; } }
.ct a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.copy {
  flex: none; min-height: 46px; min-width: 64px; padding: 0 1rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: var(--white);
  font: 700 .9375rem/1 var(--body); cursor: pointer;
}
.copy:hover { border-color: var(--gold); color: var(--gold); }
.contact-note { margin: .55rem 0 0; font-size: .875rem; color: var(--dim); }

.foot {
  margin-top: 1.4rem; padding: .9rem 0 .3rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center; font-size: .875rem; color: var(--dim);
}
.foot p { margin: .2rem 0; }
.foot strong { color: var(--white); font-weight: 600; }

/* phone: the "Business email" label already names this block, so the big heading is screen-reader only to keep
   links, clips and email inside one 932px screen; it is shown again on wider screens */
@media (max-width: 719px) {
  .sec-h-contact { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
  .sec-contact { margin-top: 1rem; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 2rem 1.2rem 9rem; }
.lost .code { font: 400 clamp(5rem, 30vw, 9rem)/1 var(--display); color: var(--white); text-shadow: 0 0 6px var(--cyan), 0 0 26px rgba(40, 230, 255, .6); margin: 0; animation: flicker 7s linear infinite; }
.lost h1 { font: 400 clamp(1.8rem, 8vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: .6rem 0 0; color: var(--pink); text-shadow: 0 0 14px rgba(14, 10, 38, .9); }
.lost p { text-shadow: 0 0 12px rgba(14, 10, 38, .95); color: var(--dim); max-width: 24rem; margin: .8rem auto 1.6rem; font-size: 1.05rem; }
.lost .btn { display: inline-flex; width: auto; min-height: 56px; padding: .6rem 1.4rem; }

/* ---------- larger screens ---------- */
@media (min-width: 560px) {
  .clip .th { aspect-ratio: 3 / 4; }
}
@media (min-width: 720px) {
  .wrap { padding-top: 3.5rem; }
  .clips { grid-template-columns: repeat(3, 1fr); }
  .share { top: 46px; right: 22px; }
}
/* desktop: two-column glass card (identity left, links / clips / contact right) */
@media (min-width: 1000px) {
  :root { --col: 66rem; }
  .wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 3rem 0 4rem; }
  .panel {
    width: 100%;
    display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); column-gap: 3.5rem; align-items: center;
    padding: 2.8rem 3.2rem 2.2rem; border-radius: 34px;
    background: linear-gradient(180deg, rgba(20, 14, 54, .76), rgba(14, 10, 38, .68));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .card { width: 100%; max-width: 320px; border-radius: 36px; margin-bottom: 1.5rem; }
  .card picture, .card img { border-radius: 33px; }
  .links { margin-top: 0; }
  .sec { margin-top: 1.7rem; }
  .foot { text-align: left; margin-top: 1.6rem; }
  .shade {
    background:
      radial-gradient(ellipse at 50% 45%, rgba(14, 10, 38, .55) 0%, rgba(14, 10, 38, .4) 60%, rgba(14, 10, 38, .25) 100%),
      linear-gradient(180deg, rgba(14, 10, 38, 0) 55%, rgba(14, 10, 38, .85) 100%);
  }
}
@media (min-width: 1000px) and (max-height: 760px) {
  .wrap { place-items: start center; }
}

/* ---------- motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:focus-visible, .clip a:hover, .btn-sm:hover { transform: none; }
}
@media (prefers-contrast: more) {
  .btn, .empty, .contact, .clip a { background: #0b0820; }
  .btn .sub, .games li, .foot, .empty p, .contact-note, .clip .g { color: #ecebff; }
}
@media (forced-colors: active) {
  .btn, .contact, .copy, .share, .btn-sm, .empty, .clip a { border: 2px solid CanvasText; }
}

/* top neon strips removed 2026-10-13 (user request) */
.strips { display: none !important; }
