@font-face {
    font-family: 'Calder';
    src: url('./fonts/Calder-LC.otf') format('opentype');
}
@font-face {
    font-family: 'Calder';
    src: url('./fonts/D-Calder.otf') format('opentype');
}
@font-face {
    font-family: 'Calder-Bold';
    src: url('./fonts/D-Calder-Bold.otf') format('opentype');
}
@font-face {
    font-family: 'Calder-Italic';
    src: url('./fonts/D-Calder-Italic.otf') format('opentype');
}

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

:root {
    --bg:        #ffffff;
    --ink:       #050505;
    --ink-light: #4a4a4a;
    --ink-faint: #9a9a9a;
    --accent:    #ff3366;
    --border:    #000000;
}

html {
    scroll-behavior: smooth;
    /* Base = 10px so 1rem = 10px for easy math */
    font-size: 75%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Calder', sans-serif;
    /* 11px */
    font-size: 1.1rem;       
    letter-spacing: 0.04em;
    overflow-x: hidden;
}


/* NAV  (mobile base) – brutalist bar */
nav {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.4rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
nav img{
    width:5rem;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border: 0.1rem solid var(--ink);
    font-size: 0.85rem;
    font-weight: 300;
}

.nav-tagline {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 0.6rem;
}

.nav-links a,
.nav-social a {
    text-decoration: none;
    color: var(--ink);
    font-family: 'Calder', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav-links a {
    border: 0.1rem solid var(--ink);
    border-radius: 0;
    padding: 0.5rem 1rem;
    transition: background 0.15s ease-out, color 0.15s ease-out;
}

.nav-links a:hover {
    background: var(--ink);
    color: var(--bg);
}

.nav-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.nav-social a {
    color: var(--ink-faint);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-social a:hover {
    color: var(--ink);
}


/* HERO  (mobile base) */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
    position: relative;
    border-bottom: 1px solid var(--border);
    text-align: center;
    overflow: hidden;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 90rem;
}

.hero-trail {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-trail .hero-trail-clone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: transform 0.06s linear, opacity 0.06s linear;
    will-change: transform;
}

.hero-display {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 300;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 0.04em var(--ink);
    text-stroke: 0.04em var(--ink);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 1.6rem;
}

.hero-subtext {
    max-width: 32rem;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0.02em;
}

.hero-name-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 90rem;
}

.hero-name-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.hero-name-wrap img:hover {
    content: url('./assets/Asset 8.png');
}

.hero-cta {
    margin-top: 3.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.8s 1.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(1.2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PROJECT BLOCKS — 1 large + 2 small, dark grey */
.project-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    max-width: 90rem;
    margin: 0 auto;
}

.project-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    padding: 2rem;
    background: #333333;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: background 0.2s ease, color 0.2s ease;
}

.project-block:hover {
    background: var(--ink);
    color: var(--bg);
}

.project-block--large {
    grid-column: 1 / -1;
    min-height: 14rem;
}

.project-block--small {
    min-height: 16rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.project-block--small:first-of-type {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.project-block-label {
    text-align: center;
}

@media (max-width: 640px) {
    .project-blocks {
        grid-template-columns: 1fr;
    }
    .project-block--small:first-of-type {
        border-right: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

.btn-outline {
    border: 0.12rem solid var(--ink);
    border-radius: 0;
    padding: 0.8rem 2.4rem;
    font-family: 'Calder', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease-out, color 0.15s ease-out;
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--bg);
}

.scroll-hint {
    font-size: 0.9rem;
    color: var(--ink-faint);
    letter-spacing: 0.1em;
    font-style: italic;
}


/* ABOUT  (mobile base — single column) */
.about {
    padding: 5rem 2rem;
    max-width: 82rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.2rem;
    align-items: start;
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-photo-wrap {
    width: 16rem;
    height: 16rem;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    /* center on mobile */
    margin: 0 auto;          
}

.about-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.05);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.about-name {
    font-family: 'Calder', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink);
}

.about-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink-light);
    text-transform: uppercase;
}

.about-skills {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.skill-row {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1.6rem;
    font-size: 1rem;
}

.skill-label {
    text-transform: uppercase;
    color: var(--ink-faint);
    padding-top: 0.2rem;
}

.skill-items {
    color: var(--ink-light);
    line-height: 1.9;
    text-transform: uppercase;
}

.skill-items .indent {
    padding-left: 2rem;
    display: block;
}

.about-resume {
    margin-top: 2.8rem;
}


/* FUN SECTION  (mobile base — stacked flex) */
.fun-section {
    padding: 5rem 2rem 8rem;
    max-width: 82rem;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fun-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile: simple wrapping flex, no absolute positioning */
.fun-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* flex-wrap: wrap; */
    justify-content: center;
    gap: 4rem 3rem;
    height: auto;
    position: relative;
}

/* Hide connector lines on mobile (pixel-positioned, won't align) */
.fun-connectors {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.fun-png-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.fun-png-item .fun-img {
    display: block;
    object-fit: contain;
    /* filter: grayscale(100%) contrast(1.05) brightness(0.92); */
    max-width: 100%;
    height: auto;
    /* uniform size on mobile */
    width: 7rem;             
}

.fun-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: center;
    line-height: 1.55;
    max-width: 13rem;
}


/* CONNECT  (mobile base) */
.connect-section {
    padding: 5rem 2rem 8rem;
    text-align: center;
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.connect-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.connect-title {
    font-family: 'Calder', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 2.4rem;
}

.connect-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* FOOTER  (mobile base) */
footer {
    border-top: 0.12rem solid var(--border);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--ink-faint);
    text-transform: uppercase;
}




/* UTILITY  (leftover classes) */
.item-icon {
    width: 8rem;
    height: 13rem;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1);
}

.callout-line {
    position: absolute;
    border-left: 0.1rem solid var(--ink-faint);
}

.callout-text {
    position: absolute;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: center;
    line-height: 1.5;
}


/* BREAKPOINT 1 — 360px to 780px
   Small to large phones
   Slight sizing bumps, otherwise same as base */
@media (360px <= width <= 780px) {

    nav {
        padding: 1.4rem 2rem;
    }

    .nav-tagline {
        font-size: 1rem;
    }

    .hero {
        padding: 10rem 2.4rem 5rem;
    }

    .hero-cta {
        margin-top: 3.6rem;
    }

    .about {
        padding: 7rem 2.4rem;
        gap: 3.6rem;
    }

    .about-photo-wrap {
        width: 18rem;
        height: 18rem;
    }

    .fun-section {
        padding: 6rem 2.4rem 8rem;
    }

    .fun-png-item .fun-img {
        width: 8rem;
    }

    .connect-section {
        padding: 6rem 2.4rem 8rem;
    }

    .connect-title {
        font-size: 2.2rem;
    }
}


/* BREAKPOINT 2 — 780px to 1280px
   Tablets and small desktops
   Two-column about, absolute fun layout */
@media (780px <= width <= 1280px) {

    nav {
        padding: 1.6rem 3rem;
    }

    .nav-tagline {
        font-size: 1rem;
        max-width: 20rem;
    }

    .nav-links a,
    .nav-social a {
        font-size: 1rem;
    }

    .hero {
        padding: 12rem 4rem 6rem;
    }

    .about {
        padding: 8rem 4rem;
        grid-template-columns: 22rem 1fr;
        gap: 5rem;
    }

    .about-photo-wrap {
        width: 18rem;
        height: 18rem;
        /* remove mobile centering */
        margin: 0;           
    }

    .skill-row {
        grid-template-columns: 10rem 1fr;
    }

    .fun-section {
        padding: 7rem 4rem 10rem;
    }

    /* Restore absolute layout */
    .fun-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: relative;
        height: 38rem;
    }

    .fun-connectors {
        display: block;
    }

    .fun-png-item {
        position: relative;
        gap: 0.8rem;
    }

    /* .fun-boots     { 
        left: 0;      
        top: 2rem;   
    }
    .fun-coffee    { 
        left: 13rem;  
        top: 17rem;  
    }
    .fun-croissant { 
        left: 26rem;  
        top: 1rem;   
    }
    .fun-paloma    { 
        left: 38rem;  
        top: 5rem;   
    }
    .fun-perfume   { 
        left: 51rem;  
        top: 1.5rem; 
    } */

    .fun-boots     .fun-img { 
        width: 6.5rem; 
    }
    .fun-coffee    .fun-img { 
        width: 6.5rem; 
    }
    .fun-croissant .fun-img { 
        width: 8rem;   
    }
    .fun-paloma    .fun-img { 
        width: 5.5rem; 
    }
    .fun-perfume   .fun-img { 
        width: 7rem;   
    }

    .connect-section {
        padding: 8rem 4rem 10rem;
    }

    .connect-title {
        font-size: 2.2rem;
    }

    footer {
        padding: 2.4rem 4rem;
    }
}


/* BREAKPOINT 3 — width > 1280px
   Large desktops
   More breathing room, wider max-widths */
@media (width > 1280px) {

    nav {
        padding: 2.8rem 4rem;
    }

    .nav-tagline {
        font-size: 1rem;
        max-width: 22rem;
    }

    .nav-links a,
    .nav-social a {
        font-size: 1rem;
    }

    .nav-links a {
        padding: 0.5rem 1.4rem;
    }

    .nav-social a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 12rem 4rem 6rem;
    }

    .about {
        padding: 10rem 4rem;
        max-width: 90rem;
        grid-template-columns: 24rem 1fr;
        gap: 6rem;
    }

    .about-photo-wrap {
        width: 20rem;
        height: 20rem;
        margin: 0;
    }

    .about-name {
        font-size: 1.4rem;
    }

    .about-bio {
        font-size: 1rem;
    }

    .skill-row {
        grid-template-columns: 10rem 1fr;
        font-size: 1rem;
    }

    .fun-section {
        padding: 8rem 4rem 12rem;
        max-width: 90rem;
    }

    .fun-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: relative;
        height: 44rem;
    }

    .fun-connectors {
        display: block;
    }

    .fun-png-item {
        position: relative;
        gap: 1rem;
    }

    /* .fun-boots     { 
        left: 0;      
        top: 2rem;   
    }
    .fun-coffee    { 
        left: 14rem;  
        top: 17rem;  
    }
    .fun-croissant { 
        left: 28rem;  
        top: 1rem;   
    }
    .fun-paloma    { 
        left: 42rem;  
        top: 5rem;   
    }
    .fun-perfume   { 
        left: 56rem;  
        top: 1.5rem; 
    } */

    .fun-boots     .fun-img { 
        width: 7rem;   
    }
    .fun-coffee    .fun-img { 
        width: 7rem;   
    }
    .fun-croissant .fun-img { 
        width: 9rem;   
    }
    .fun-paloma    .fun-img { 
        width: 6rem;   
    }
    .fun-perfume   .fun-img { 
        width: 7.5rem; 
    }

    .fun-label {
        font-size: 0.9rem;
    }

    .connect-section {
        padding: 8rem 4rem 12rem;
    }

    .connect-title {
        font-size: 2.4rem;
        margin-bottom: 3.2rem;
    }

    footer {
        padding: 2.4rem 4rem;
        font-size: 0.9rem;
    }
}
