/* ============================================================
   Yassmo&Production — Mobile stylesheet
   Self-contained (does not depend on styles.css).
   ============================================================ */

:root {
    --bg: #111111;
    --heading: #ece7df;
    --body-text: #aaaaaa;
    --muted: #888888;
    --dim: #5a5a5a;
    --border: #1e1e1e;
    --accent-a: #667eea;
    --accent-b: #764ba2;
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Disable desktop custom cursor visuals on phone layouts. */
* {
    cursor: auto !important;
}

.custom-cursor,
.draw-line {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--body-text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-left: var(--safe-l);
    padding-right: var(--safe-r);
}

body.page-home {
    background:
        radial-gradient(circle at top left, rgba(173, 134, 74, 0.16), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 32%),
        #111111;
}

body.page-contact {
    background: #000;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ── Nav ── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--safe-t);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    line-height: 1;
}

.nav-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #ddd;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-links {
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 76%;
    max-width: 320px;
    background: #0c0c0c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px 40px;
    padding-top: calc(40px + var(--safe-t));
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.nav-links.open {
    transform: translateX(0);
}

.nav-links a {
    text-decoration: none;
    color: #999;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links a.active {
    color: #fff;
}


/* ── Landing (index) ── */
.landing-section {
    position: relative;
    width: 100%;
    min-height: 100svh;
    padding: 100px 22px 50px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.landing-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.landing-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.76) 62%, rgba(0, 0, 0, 0.94) 100%);
}

.landing-copy {
    position: relative;
    z-index: 2;
}

.landing-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #b5b5b5;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.landing-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 9vw, 2.9rem);
    line-height: 1.08;
    font-weight: 500;
    color: #f7f4ef;
}

.landing-copy p {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #dcdcdc;
}

.landing-actions {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-decoration: none;
    color: #ece7df;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.landing-button.primary {
    background: #ece7df;
    border-color: #ece7df;
    color: #111111;
}

.landing-button:active {
    background: rgba(255, 255, 255, 0.15);
}

.home-video-glimpse {
    width: 100%;
    padding: 46px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-video-kicker {
    color: #9e9e9e;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.home-video-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-video-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    line-height: 1.05;
    font-weight: 500;
}

.home-video-text h2 a {
    color: #f2eee8;
    text-decoration: none;
}

.home-video-text p {
    color: #b3b3b3;
    font-size: 0.9rem;
    line-height: 1.7;
}

.home-video-text .landing-button {
    width: auto;
    display: inline-flex;
    align-self: flex-start;
    padding: 0 18px;
    min-height: 44px;
    margin-top: 4px;
}

.home-video-media {
    background: linear-gradient(145deg, rgba(236, 231, 223, 0.08), rgba(236, 231, 223, 0.02));
    border: 1px solid rgba(236, 231, 223, 0.14);
    padding: 10px;
}

.home-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid #222;
}

/* ── About Me ── */
.top-section {
    width: 100%;
    padding: 96px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 10px;
}

.social-links span {
    font-size: 0.8rem;
    color: #888;
}

.hero-bio {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6px 0 4px;
}

.hero-image img {
    width: 70%;
    max-width: 260px;
    height: auto;
    border-radius: 10px;
    filter: grayscale(20%) contrast(1.08) brightness(1.03);
}

.aptitudes-section {
    width: 100%;
    padding: 10px 20px 90px;
    display: flex;
    flex-direction: column;
}

.aptitude-item,
.aptitude-item:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.aptitude-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}

.aptitude-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
}

.aptitude-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aptitude-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.68rem;
    color: #555;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.aptitude-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.2;
}

.aptitude-text p {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.75;
}

/* ── Music page: category tabs ── */
.albums-section {
    width: 100%;
    padding: 90px 0 50px;
    min-height: 100vh;
}

.container {
    width: 100%;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 1.7rem;
    color: #e0e0e0;
    margin-bottom: 26px;
    letter-spacing: 1px;
}

.albums-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    padding: 2px 0 18px;
    margin: 0 0 10px;
}

.albums-nav::-webkit-scrollbar { display: none; }

.nav-tab {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    background: transparent;
    border: 1.5px solid #333;
    border-radius: 30px;
    font-size: 0.76rem;
    line-height: 1.2;
    text-align: center;
    color: #999;
    white-space: normal;
}

.nav-tab.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}

/* ── Swipe carousel ── */
.carousel-container {
    position: relative;
    width: 100%;
    min-height: 360px;
    padding: 8px 0 44px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: 300px;
    touch-action: pan-y;
}

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

.album-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(72vw, 280px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateX(-50%) scale(0.88);
    transform-origin: center center;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    pointer-events: none;
    will-change: transform, opacity;
}

.album-card.is-front {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42);
    z-index: 3;
    pointer-events: auto;
}

.album-card.is-back-left {
    opacity: 0.48;
    transform: translateX(calc(-50% - 84px)) translateY(14px) scale(0.88);
    z-index: 2;
    pointer-events: auto;
}

.album-card.is-back-right {
    opacity: 0.48;
    transform: translateX(calc(-50% + 84px)) translateY(14px) scale(0.88);
    z-index: 2;
    pointer-events: auto;
}

.album-card.is-hidden {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

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

.vinyl-disc {
    display: none;
}

.vinyl-label {
    display: none;
}

.album-info {
    width: 100%;
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.album-card.is-front .album-info {
    opacity: 1;
}

.album-info h3 {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0;
    line-height: 1.25;
}

.album-info p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
}

.carousel-indicators {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    width: auto;
    z-index: 2;
}

.indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.indicator.active {
    background: #d0d0d0;
    width: 24px;
    height: 7px;
    border-radius: 999px;
}

/* ── Video category (tap to preview / fullscreen) ── */
.video-static-viewer {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.video-static-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.video-static-wrap {
    position: relative;
    width: 100%;
}

.video-static-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid #1f1f1f;
}

.video-tap-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.video-tap-hint svg {
    width: 56px;
    height: 56px;
    color: #fff;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

.video-static-wrap.previewing .video-tap-hint {
    opacity: 0;
}

.video-static-info { text-align: center; }

.video-static-info h3 {
    color: #ececec;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.video-static-info p {
    color: #9a9a9a;
    font-size: 0.85rem;
}

.video-nav-row {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.video-nav-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #3a3a3a;
    background: rgba(18, 18, 18, 0.75);
    color: #f0f0f0;
    font-size: 1.3rem;
}

.video-nav-arrow:disabled {
    opacity: 0.3;
}

/* ── Now-playing player (full-screen overlay) ── */
.music-player {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: #0a0a0a;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: calc(24px + var(--safe-t)) 22px calc(30px + var(--safe-b));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-player.active {
    display: flex;
    transform: translateY(0);
}

.player-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    width: 100%;
    max-width: 420px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: none;
    border: none;
    color: #ccc;
    font-size: 0.9rem;
    padding: 8px 0;
}

.playing-disc-container {
    width: min(66vw, 300px);
    height: min(66vw, 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.playing-vinyl-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.playing-vinyl-disc::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8%;
    height: 8%;
    border-radius: 50%;
    background: #000;
    z-index: 3;
}

.playing-vinyl-label {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.spinning { animation: spin 3s linear infinite; }
.spinning.paused { animation-play-state: paused; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.video-player-media {
    display: none;
    width: 100%;
    max-height: 46vh;
    background: #000;
    border: 1px solid #1f1f1f;
}

.music-player.video-mode .playing-disc-container { display: none; }
.music-player.video-mode .video-player-media { display: block; }

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.music-player.video-mode .player-controls { display: none; }

.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.time-current, .time-total {
    color: #fff;
    font-size: 0.8rem;
    min-width: 36px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    border-radius: 10px;
    width: 0%;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.play-pause-btn {
    display: flex;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    border: none;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.play-pause-btn:active { transform: scale(0.94); }

/* ── Contact ── */
.contact-section {
    width: 100%;
    padding: 96px 0 60px;
    text-align: center;
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 44px;
    font-weight: 300;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 46px;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon { flex-shrink: 0; color: #fff; opacity: 0.8; }

.info-item h3 {
    font-size: 0.68rem;
    color: #777;
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-item a, .info-item p {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
}

.social-links-contact { margin-top: 10px; }

.social-links-contact h3 {
    font-size: 0.68rem;
    color: #777;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.social-icons { display: flex; gap: 14px; }

.social-icons a, .social-icons span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group { width: 100%; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid #333;
    font-size: 0.95rem;
    font-family: inherit;
    background: transparent;
    color: #fff;
    font-weight: 300;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: #666; }

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:active { background: #fff; color: #000; }

/* ── Footer ── */
.footer {
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 30px 20px calc(30px + var(--safe-b));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-content p {
    color: #666;
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
}

.version-switch {
    font-size: 0.72rem;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Small phones */
@media (max-width: 360px) {
    .landing-copy h1 { font-size: 1.9rem; }
    .aptitude-text h3 { font-size: 1.3rem; }
    .playing-disc-container { width: 62vw; height: 62vw; }
}
