/* Satoshi - Open Source Import */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300&display=swap');

/* Felidae - Local File Import */
@font-face {
    font-family: 'Felidae Thin';
    src: url('../font/Felidae.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* New York - Local File Import */
@font-face {
    font-family: 'New York';
    src: url('../font/NewYork.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #E6E2D6; 
    --text-main: #1A1A1A;
    --text-muted: #5A5A5A;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    width: 100vw;
    overflow: hidden; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative;
}

/* LIVE CANVAS BACKGROUND */
#jellyfish-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply; 
}

/* Content Layout - Fluid Padding for Mobile */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 850px;
    width: 100%;
    text-align: left; 
    /* Shrinks down to 1.5rem padding on phones, grows to 4rem on desktop */
    padding: 0 clamp(1.5rem, 6vw, 4rem);
    pointer-events: auto;
}

/* Top Right IST Clock - Fluid Positioning */
.top-right-time {
    position: absolute;
    top: clamp(20px, 4vw, 40px);
    right: clamp(20px, 5vw, 50px);
    font-family: 'Satoshi', sans-serif;
    font-weight: 300;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    letter-spacing: 0.05em;
    color: var(--text-main);
    text-transform: uppercase;
    z-index: 10;
}

/* Typography - Fluid Font Size */
h1 {
    font-family: 'Felidae Thin', serif;
    font-weight: 300;
    /* Scales smoothly from 2.25rem on mobile to 3.5rem on desktop */
    font-size: clamp(2.25rem, 7vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: clamp(1.2rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

/* Inline Images */
.logo-placeholder {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 0.1em;
    background-color: transparent;
    background-image: url('../yuukii.png');
    background-size: cover;
    background-position: center;
}

.narrativ-logo {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px 2px 0;
    background-color: transparent;
    background-image: url('../narrativ.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.font-newyork {
    font-family: 'New York', serif;
    font-size: 1.1em;
    letter-spacing: 0.02em;
}

.font-felidae {
    font-family: 'Felidae Thin', serif;
    font-size: 1.2em;
    letter-spacing: 0.03em;
}

/* Links Section - Fluid Gaps */
.links {
    font-family: 'Satoshi', sans-serif;
    font-weight: 300;
    display: flex;
    flex-wrap: wrap;
    /* Adjusts spacing beautifully on narrow screens */
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    list-style: none;
}

.links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px; 
}

.links a svg {
    width: 19px;
    height: 19px;
}

.links a:hover {
    opacity: 1;
}

/* Bio Text - Fluid Readability */
.bio {
    font-family: 'Satoshi', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 700px;
}

.bio a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    padding-bottom: 2px;
    transition: border-color 0.4s ease;
}

.bio a:hover {
    border-bottom-color: var(--text-main);
}

.bio-contact {
    margin-top: 2.5rem;
}
