/* ═══════════════════════════════════════════════════════════════════════════
   PARADISET.NET - DESIGN TOKENS (From Figma Handoff)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Colors */
    --color-background: #FEFEFE;
    --color-foreground: #47463D;
    --color-text-plate: rgba(71, 70, 61, 0.2);  /* #47463D at 20% opacity */
    
    /* Typography - Headline */
    --font-headline: 'Bitcount Prop Single', monospace;
    --headline-size: 32px;
    --headline-letter-spacing: 0.25em;  /* 25% */
    --headline-variation: 'slnt' 0, 'wght' 400, 'ELSH' 45;
    
    /* Typography - Body */
    --font-body: 'Barlow', sans-serif;
    --body-size: 12.5px;
    --body-weight: 500;  /* Medium */
    
    /* Typography - All Caps (Nav) */
    --caps-size: 14px;
    
    /* Typography - Links */
    --link-weight: 600;  /* SemiBold */
    --link-style: italic;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 120px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: var(--body-weight);
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
    padding: var(--space-lg) var(--space-xl);
    padding-bottom: var(--space-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-dot {
    font-size: 12px;
    color: var(--color-foreground);
}

.logo-text {
    font-family: var(--font-headline);
    font-size: var(--headline-size);
    letter-spacing: var(--headline-letter-spacing);
    color: var(--color-foreground);
    font-variation-settings: var(--headline-variation);
}

.search-icon {
    color: var(--color-foreground);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.search-icon:hover {
    opacity: 1;
}

.header-line {
    max-width: var(--max-width);
    margin: var(--space-sm) auto 0;
    height: 1px;
    background-color: var(--color-foreground);
    opacity: 0.3;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT - 3 COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl);
    padding-top: var(--space-lg);
    align-items: start;
}


/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.side-nav {
    padding-top: var(--space-lg);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-end;
}

.nav-link {
    font-size: var(--caps-size);
    font-weight: var(--body-weight);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
    padding: 4px 8px;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Active state - the boxed look */
.nav-link.active {
    background-color: var(--color-text-plate);
    box-shadow: 2px 2px 0 rgba(71, 70, 61, 0.15);
}

/* Dropdown toggle when expanded */
.dropdown-toggle[aria-expanded="true"] {
    background-color: var(--color-text-plate);
    box-shadow: 2px 2px 0 rgba(71, 70, 61, 0.15);
}

/* Dropdown container */
.has-dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-xs) var(--space-sm);
    padding-left: 0;
    margin-top: 4px;
    background-color: var(--color-text-plate);
}

.dropdown-menu.open {
    display: flex;
}

.dropdown-menu a {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.dropdown-menu a:hover {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO IMAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Placeholder when no image */
.hero-image img[src="assets/portrait.jpg"] {
    background-color: var(--color-text-plate);
}


/* ═══════════════════════════════════════════════════════════════════════════
   BIO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.bio-section {
    padding-top: calc(var(--space-xl) * 1.5);
    max-width: 320px;
}

.bio-section p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.bio-section p:last-child {
    margin-bottom: 0;
}

/* Link styling - SemiBold Italic with >> */
.text-link {
    font-weight: var(--link-weight);
    font-style: var(--link-style);
    transition: opacity 0.2s ease;
}

.text-link:hover {
    opacity: 0.7;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE (Mobile)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .side-nav {
        order: 2;
        padding-top: 0;
    }
    
    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .hero-image {
        order: 1;
    }
    
    .bio-section {
        order: 3;
        padding-top: 0;
        max-width: 100%;
        text-align: center;
    }
    
    .site-header {
        padding: var(--space-md);
    }
}

@media (max-width: 600px) {
    :root {
        --headline-size: 24px;
    }
    
    .logo-text {
        letter-spacing: 0.15em;
    }
}
