*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --bg2: #0c0c0c;
    --bg3: #121212;
    --bg4: #181818;
    --w: #f2f2f2;
    --g1: #d8d8d8;
    --g2: #a0a0a0;
    --g3: #6a6a6a;
    --g4: #454545;
    --g5: #2a2a2a;
    --g6: #1a1a1a;
    --bd: rgba(255, 255, 255, 0.05);
    --bd2: rgba(255, 255, 255, 0.09);
    --bd3: rgba(255, 255, 255, 0.16);
    --r1: 10px;
    --r2: 16px;
    --r3: 22px;
    --eo: cubic-bezier(0.16, 1, 0.3, 1);
    --ee: cubic-bezier(0.34, 1.56, 0.64, 1);
    --fd: "After", Georgia, serif;
    --fb: "DM Sans", -apple-system, sans-serif;
    --fm: "JetBrains Mono", monospace;
    --ac: transparent;
    --page-px: 20px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* iOS 26 Safari renders edge-to-edge; html bg shows in the status bar
       and home-indicator areas, so paint it intentionally. */
    background: var(--bg);
    /* Fill the visual viewport so the bg paints into the notch/home area
       even while the URL bar is animating in/out. */
    min-height: 100%;
    min-height: 100dvh;
}

body {
    background: var(--bg);
    color: var(--w);
    font-family: var(--fb);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    /* Reserve only — do not crop content with safe-area; layers below
       extend full viewport, content uses safe-area padding per-section. */
}

/* Grain — paints to the absolute viewport edges (incl. notch + home bar) */
body::after {
    content: "";
    position: fixed;
    /* Pin to all four corners of the visual viewport. Using inset:0 with
       explicit dvw/dvh ensures iOS 26 paints under status bar + tab bar. */
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    background-size: 256px;
}

/* ── Video Background ── */
.video-bg {
    position: fixed;
    /* Force edge-to-edge on iOS 26 Safari — `inset: 0` respects safe-area
       on some Safari versions, leaving status-bar/home-indicator strips
       unpainted. Pin to the visual viewport corners explicitly with
       dynamic viewport units so it tracks URL bar + tab bar collapse. */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    overflow: hidden;
    contain: strict;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: grayscale(1) contrast(1.1);
}

.video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.35) 0%,
        transparent 8%,
        transparent 92%,
        rgba(5, 5, 5, 0.5) 100%
    );
}

/* Ambient */
.amb {
    position: fixed;
    left: 50%;
    translate: -50% 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.6s var(--eo);
    contain: layout paint;
    will-change: opacity;
}

#aT {
    top: -35%;
    width: 100vw;
    width: 100dvw;
    height: 90vh;
    height: 90dvh;
    filter: blur(80px);
    background: radial-gradient(ellipse, var(--ac) 0%, transparent 55%);
}

#aB {
    bottom: -25%;
    width: 80vw;
    width: 80dvw;
    height: 50vh;
    height: 50dvh;
    filter: blur(80px);
    background: radial-gradient(ellipse, var(--ac) 0%, transparent 55%);
}

.amb.on {
    opacity: 1;
}

#aB.on {
    opacity: 0.35;
}

/* Page */
.pg {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 var(--page-px);
    position: relative;
    z-index: 2;
}

/* ── Top bar ── */
.tb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 20px;
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
}

.tb .loc {
    font-family: var(--fm);
    font-size: 0.625rem;
    color: var(--g4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
}

.tb .loc::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e03030;
    animation: bk 3s ease-in-out infinite;
}

@keyframes bk {
    0%,
    100% {
        opacity: 1;
        scale: 1;
    }

    50% {
        opacity: 0.2;
        scale: 0.6;
    }
}

.tb .tm {
    font-family: var(--fm);
    font-size: 0.625rem;
    color: var(--g4);
    letter-spacing: 0.05em;
}

/* ── Hero ── */
.hero {
    padding: 60px 0 56px;
    text-align: center;
}

.aw {
    width: 88px;
    height: 88px;
    margin: 0 auto 36px;
    position: relative;
}

.ao {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--bd2);
    animation: orb 24s linear infinite;
}

.ao::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    translate: -50% 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e03030;
    opacity: 0.6;
}

@keyframes orb {
    to {
        rotate: 360deg;
    }
}

.av {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bd2);
}

.av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-family: var(--fd);
    font-size: clamp(4rem, 10vw, 3.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.hero h1 .l {
    font-style: italic;
    color: var(--g3);
}

.tagline {
    font-family: var(--fm);
    font-size: 0.5625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--g4);
    margin-bottom: 6px;
}

.role {
    font-size: 0.875rem;
    color: var(--g3);
}

.role strong {
    color: var(--g1);
    font-weight: 500;
}

.bio {
    font-family: var(--fd);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--g3);
    margin-top: 24px;
    line-height: 1.45;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Section label ── */
.sl {
    font-family: var(--fm);
    font-size: 0.5625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--g4);
    margin-bottom: 20px;
}

/* ── Gallery ── */
.gallery-section {
    padding: 0 0 52px;
}

.gallery-wrap {
    margin: 0 calc(var(--page-px) * -1);
    position: relative;
    overflow: hidden;
    /* Edge fade — soft vignette at the edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 72px,
        black calc(100% - 72px),
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 72px,
        black calc(100% - 72px),
        transparent
    );
}

.gallery-track {
    display: flex;
    gap: 10px;
    padding: 0 var(--page-px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: var(--page-px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.g-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: var(--r2);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s var(--eo);
}

.g-item:hover {
    transform: scale(0.97);
}

.g-item:active {
    transform: scale(0.94);
}

.g-item .g-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    font-family: var(--fm);
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s var(--eo);
}

.g-item:hover .g-caption {
    opacity: 1;
    transform: translateY(0);
}

.g-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.g-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g5);
    transition: all 0.4s var(--eo);
}

.g-dot.active {
    background: var(--g2);
    width: 20px;
    border-radius: 3px;
}

/* ── Formerly ── */
.fmly {
    padding: 0 0 52px;
}

.fmly-row {
    display: flex;
    gap: 10px;
}

.fmly-chip {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg2);
    border: 1px solid var(--bd);
    border-radius: var(--r2);
    transition: all 0.4s var(--eo);
}

.fmly-chip:hover {
    border-color: var(--bd2);
    background: var(--bg3);
}

.fmly-chip .ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    transition: transform 0.3s var(--eo);
}

.fmly-chip:hover .ico {
    transform: scale(1.06);
}

.fmly-chip .ico img,
.fmly-chip .ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fmly-chip .info {
    min-width: 0;
}

.fmly-chip .name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--g1);
}

.fmly-chip .desc {
    font-size: 0.625rem;
    color: var(--g4);
    margin-top: 1px;
}

/* ── Playlists ── */
.plst {
    padding: 0 0 52px;
}

.ps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc {
    display: grid;
    grid-template-columns: 68px 1fr 40px;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: var(--bg2);
    border: 1px solid var(--bd);
    border-radius: var(--r2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s var(--eo),
        background 0.4s var(--eo),
        transform 0.3s var(--eo),
        opacity 0.4s var(--eo);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.pc::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.02),
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s;
}

.pc:hover {
    border-color: var(--bd2);
    background: var(--bg3);
    transform: translateY(-2px);
}

.pc:hover::before {
    opacity: 1;
}

.pc:active {
    transform: translateY(0) scale(0.985);
}

/* Muted state when modal is open */
body.modal-open .pc {
    opacity: 0.4;
    transform: none;
    pointer-events: none;
}

body.modal-open .pc.active-playlist {
    opacity: 0.7;
    border-color: var(--bd3);
}

.pa {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.pa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pi {
    min-width: 0;
}

.pn {
    font-family: var(--fd);
    font-size: 1.0625rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.pm {
    font-size: 0.625rem;
    color: var(--g4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pm .dt {
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background: var(--g5);
}

.pt {
    font-size: 0.625rem;
    color: var(--g3);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w);
    font-size: 0.8125rem;
    flex-shrink: 0;
    transition:
        transform 0.35s var(--ee),
        opacity 0.3s,
        background 0.3s;
}

.pc:hover .pp {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.12);
}

/* ── Mini Player ── */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8500;
    transform: translateY(100%);
    transition: transform 0.5s var(--eo);
    /* Detach from all edges — bottom clears home indicator + Safari tab
       bar; left/right respect notch in landscape. */
    padding:
        0
        max(12px, env(safe-area-inset-right, 0px))
        calc(12px + env(safe-area-inset-bottom, 0px))
        max(12px, env(safe-area-inset-left, 0px));
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.mini-player.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.mini-inner {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--bd2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s var(--eo);
    -webkit-tap-highlight-color: transparent;
}

.mini-inner:hover {
    border-color: var(--bd3);
    background: rgba(18, 18, 18, 0.95);
}

.mini-inner:active {
    transform: scale(0.98);
}

.mini-art {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.mini-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animated equalizer bars */
.mini-eq {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    padding: 0 10px 8px;
    background: rgba(0, 0, 0, 0.45);
}

.mini-eq span {
    width: 3px;
    border-radius: 1.5px;
    background: var(--w);
    animation: eq 1s ease-in-out infinite alternate;
}

.mini-eq span:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.mini-eq span:nth-child(2) {
    height: 14px;
    animation-delay: 0.15s;
}

.mini-eq span:nth-child(3) {
    height: 10px;
    animation-delay: 0.3s;
}

.mini-eq span:nth-child(4) {
    height: 16px;
    animation-delay: 0.1s;
}

@keyframes eq {
    0% {
        height: 4px;
    }

    100% {
        height: 18px;
    }
}

.mini-info {
    flex: 1;
    min-width: 0;
}

.mini-name {
    font-family: var(--fd);
    font-size: 0.9375rem;
    line-height: 1.2;
    color: var(--w);
}

.mini-meta {
    font-size: 0.625rem;
    color: var(--g3);
    margin-top: 1px;
}

.mini-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--g6);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g2);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all 0.3s var(--eo);
}

.mini-inner:hover .mini-expand {
    background: var(--g5);
    color: var(--w);
}

.mini-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--g6);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g3);
    font-size: 0.75rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s var(--eo);
    -webkit-tap-highlight-color: transparent;
}

.mini-close-btn:hover {
    background: var(--g5);
    color: var(--w);
}

/* ── Modal ── */
/* iOS 26 Safari clips position:fixed elements to the *inner* viewport
   (excluding status bar + tab bar). To paint behind those bars we
   pull the modal up by -env(safe-area-inset-top) and oversize the
   height by both insets — the canonical Devon Govett / react-spectrum
   fix. https://x.com/devongovett/status/1968384768703349198 */
.mo {
    position: fixed;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
    width: 100vw;
    width: 100dvw;
    height: calc(
        100dvh + env(safe-area-inset-top, 0px) +
            env(safe-area-inset-bottom, 0px)
    );
    z-index: 9000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--eo);
}

.mo.op {
    pointer-events: auto;
    opacity: 1;
}

.mbk {
    position: absolute;
    /* Absolute inside the oversized .mo so the backdrop paints
       through the status bar and home-indicator regions. */
    inset: 0;
    /* Solid base so iOS 26 Safari doesn't show video stripes peeking
       through where backdrop-filter fails to apply at viewport edges. */
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.msh {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    /* .mo is oversized by safe-area-inset-top (above the visible
       viewport) and safe-area-inset-bottom (below). The sheet sits
       align-items: flex-end inside it, so push it back up by
       safe-area-inset-bottom and cap its height to what the user
       can actually see (dvh minus the top inset). */
    margin-bottom: env(safe-area-inset-bottom, 0px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 8px);
    background: var(--bg2);
    border: 1px solid var(--bd2);
    border-bottom: none;
    border-radius: var(--r3) var(--r3) 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.5s var(--eo);
    overflow: hidden;
    overscroll-behavior: contain;
    /* Detach from screen edges with safe-area-aware horizontal padding
       so the bag/modal never touches the left/right edges. */
    margin-left: env(safe-area-inset-left, 0px);
    margin-right: env(safe-area-inset-right, 0px);
}

.mo.op .msh {
    transform: translateY(0);
}

.mpl {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--g5);
    margin: 10px auto 0;
    flex-shrink: 0;
}

.mhd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    flex-shrink: 0;
}

.mhd .mn {
    font-family: var(--fd);
    font-size: 1.375rem;
    line-height: 1.2;
    color: var(--w);
}

.mhd .mm {
    font-size: 0.625rem;
    color: var(--g4);
    margin-top: 2px;
}

.mx {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w);
    cursor: pointer;
    flex-shrink: 0;
    transition:
        background 0.3s,
        border-color 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.mx:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.mx:active {
    transform: scale(0.9);
}

.mby {
    flex: 1;
    min-height: 0;
    padding: 0 12px 12px;
}

.mby iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    border-radius: var(--r2);
    background: transparent;
}

.mex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--g4);
    text-decoration: none;
    border-top: 1px solid var(--bd);
    flex-shrink: 0;
    transition: color 0.3s;
}

.mex:hover {
    color: var(--w);
}

.mex i {
    font-size: 0.8125rem;
}

/* ── Links ── */
.lks {
    padding: 0 0 48px;
}

.lkg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lkc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 16px;
    background: var(--bg2);
    border: 1px solid var(--bd);
    border-radius: var(--r2);
    text-decoration: none;
    color: inherit;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--eo);
}

.lkc::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--g3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--eo);
}

.lkc:hover {
    border-color: var(--bd2);
    background: var(--bg3);
    transform: translateY(-2px);
}

.lkc:hover::after {
    transform: scaleX(1);
}

.lkc .lki {
    font-size: 1.125rem;
    color: var(--g4);
    margin-bottom: auto;
    transition: color 0.3s;
}

.lkc:hover .lki {
    color: var(--w);
}

/* Branded icon badges */
.lk-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: auto;
    flex-shrink: 0;
    transition: transform 0.3s var(--eo);
}

.lk-badge--work {
    width: 42px;
    height: 42px;
}

.lkc:hover .lk-badge {
    transform: scale(1.08);
}

.lk-badge i {
    font-size: 1rem;
}

.lk-badge svg {
    display: block;
}

/* Photography — warm neutral */
.lk-badge--photo {
    background: rgba(255, 255, 255, 0.08);
    color: var(--g2);
}

/* Amazon — brand green */
.lk-badge--amazon {
    background: rgb(250, 204, 21, 0.08);
    color: var(--g2);
}

/* Snapchat — brand yellow */
.lk-badge--snapchat {
    background: rgba
    color: var(--g2);
}

.lkc:hover .lk-badge--photo {
    background: rgba(255, 255, 255, 0.14);
    color: var(--w);
}

/* Instagram — brand gradient */
.lk-badge--ig {
    background: linear-gradient(
        135deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    color: #fff;
}

/* LinkedIn — brand blue */
.lk-badge--li {
    background: #0a66c2;
    color: #fff;
}

/* Cardsite — brand teal */
.lk-badge--cs {
    background: rgba(50, 180, 140, 0.15);
    color: rgb(50, 180, 140);
}

.lkc:hover .lk-badge--cs {
    background: rgba(50, 180, 140, 0.25);
}

.lkc .lkl {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--g1);
    margin-top: 12px;
}

.lkc .lkd {
    font-size: 0.625rem;
    color: var(--g4);
    margin-top: 1px;
}

.lkf {
    grid-column: 1/-1;
}

/* ── CTA ── */
.cta-s {
    padding: 0 0 48px;
}

.ctab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    background: var(--bg3);
    border: 1px solid var(--bd);
    border-radius: var(--r3);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--eo);
}

.ctab:hover {
    border-color: var(--bd3);
    transform: translateY(-2px);
}

.ctas {
    font-family: var(--fm);
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--g4);
    margin-bottom: 4px;
}

.ctan {
    font-family: var(--fd);
    font-size: 1.1875rem;
    color: var(--w);
}

.ctaa {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w);
    font-size: 0.9375rem;
    flex-shrink: 0;
    transition:
        transform 0.4s var(--ee),
        background 0.3s;
}

.ctab:hover .ctaa {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
}

/* ── Footer ── */
.ft {
    padding: 16px 0 calc(56px + env(safe-area-inset-bottom, 0px));
    text-align: center;
}

.ftsr {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ftsc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg2);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g3);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s var(--eo);
}

.ftsc:hover {
    background: var(--w);
    border-color: var(--w);
    color: var(--bg);
    transform: translateY(-3px);
}

.ftcp {
    font-family: var(--fm);
    font-size: 0.5rem;
    color: var(--g5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Watermark */
.wm {
    font-family: "Raidney", sans-serif;
    font-style: italic;
    font-size: clamp(5rem, 8vw, 6rem);
    line-height: 0.85;
    color: var(--bg2);
    text-align: center;
    pointer-events: none;
    user-select: none;
    padding: 25px 0 0;
    margin-top: -50px;
    margin-bottom: 50px;
    overflow: hidden;
    contain: content;
}

/* Mini player pushes footer content */
body.has-mini .ft {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

/* ── Animations ── */
.rv {
    opacity: 0;
    transform: translateY(16px);
}

.rs {
    opacity: 0;
    transform: scale(0.92);
}

body.locked {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .rv,
    .rs {
        opacity: 1;
        transform: none;
    }

    .ao {
        animation: none;
    }

    .mini-eq span {
        animation: none;
        height: 10px;
    }
}

@media (min-width: 480px) {
    :root {
        --page-px: 32px;
    }

    .pc {
        grid-template-columns: 76px 1fr 40px;
        padding: 12px;
        gap: 16px;
    }

    .pa {
        width: 76px;
        height: 76px;
    }

    .msh {
        border-radius: var(--r3);
        border-bottom: 1px solid var(--bd2);
        max-height: 88vh;
        max-height: 88svh;
        margin-bottom: 16px;
    }
}

/* Tablet */
@media (min-width: 640px) {
    :root {
        --page-px: 40px;
    }

    .pg {
        max-width: 580px;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero {
        padding: 72px 0 64px;
    }

    /* Gallery — tablet */
    .gallery-wrap {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 96px,
            black calc(100% - 96px),
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            black 96px,
            black calc(100% - 96px),
            transparent
        );
    }

    .gallery-track {
        padding: 0 48px;
        gap: 14px;
    }

    .g-item {
        border-radius: var(--r3);
    }

    .lkg {
        gap: 10px;
    }

    .lkc {
        min-height: 112px;
        padding: 20px 18px;
    }

    .fmly-chip {
        padding: 16px 18px;
        gap: 12px;
        border-radius: var(--r3);
    }

    .fmly-chip .ico {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .fmly-chip .name {
        font-size: 0.875rem;
    }

    .pc {
        border-radius: var(--r3);
    }

    .ctab {
        border-radius: 24px;
        padding: 22px 26px;
    }

    .ftsc {
        width: 42px;
        height: 42px;
    }

    /* Modal centers vertically on tablet+ */
    .mo {
        align-items: center;
    }

    .msh {
        border-radius: var(--r3);
        border-bottom: 1px solid var(--bd2);
        max-height: 85vh;
        max-height: 85svh;
        box-shadow:
            0 24px 64px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.08);
        margin: 0 16px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --page-px: 48px;
    }

    .pg {
        max-width: 640px;
    }

    .hero {
        padding: 80px 0 72px;
    }

    .hero h1 {
        font-size: 6rem;
    }

    .bio {
        max-width: 380px;
        font-size: 1.25rem;
    }

    .gallery-section {
        padding: 0 0 60px;
    }

    .gallery-wrap {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 120px,
            black calc(100% - 120px),
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            black 120px,
            black calc(100% - 120px),
            transparent
        );
    }

    .gallery-track {
        padding: 0 64px;
        gap: 16px;
    }

    .g-item:hover .g-caption {
        opacity: 1;
        transform: translateY(0);
    }

    .plst {
        padding: 0 0 60px;
    }

    .lks {
        padding: 0 0 60px;
    }

    .lkg {
        gap: 12px;
    }

    .lkc {
        min-height: 120px;
        padding: 22px 20px;
    }

    .lkc .lkl {
        font-size: 0.875rem;
    }

    .fmly {
        padding: 0 0 60px;
    }

    .cta-s {
        padding: 0 0 60px;
    }

    .msh {
        max-width: 560px;
        max-height: 80vh;
        max-height: 80svh;
        box-shadow:
            0 32px 80px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.08);
        margin: 0 auto;
    }

    /* Mini player wider on desktop */
    .mini-inner {
        max-width: 560px;
    }

    /* Hover states more pronounced on desktop */
    .pc:hover {
        transform: translateY(-3px);
    }

    .lkc:hover {
        transform: translateY(-3px);
    }

    .ctab:hover {
        transform: translateY(-3px);
    }
}

/* Wide desktop */
@media (min-width: 1400px) {
    .pg {
        max-width: 680px;
    }

    .gallery-wrap {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 160px,
            black calc(100% - 160px),
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            black 160px,
            black calc(100% - 160px),
            transparent
        );
    }

    .gallery-track {
        padding: 0 88px;
        gap: 18px;
    }
}

.d-none {
    display: none;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


#aT,
#aB {
  pointer-events: none;
}

#modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#modal.op {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mBg {
  pointer-events: none;
}

#modal.op #mBg {
  pointer-events: auto;
}
