:root {
    --bg: #F4F6F9;
    --bg-dark: #16181D;
    --text: #16181D;
    --text-light: #F4F6F9;
    --text-muted: rgba(22,24,29,0.55);
    --text-muted-light: rgba(244,246,249,0.5);
    --accent: #3E7BC4;   /* blue from the sphere */
    --border: rgba(22,24,29,0.12);
    --border-light: rgba(244,246,249,0.12);
}
nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 24px 48px;
    align-items: center;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 10;
    gap: 20px;
      background: rgba(244, 246, 249, 0.7); 
       backdrop-filter: blur(12px); 
       border-bottom: 1px solid var(--border);
       box-sizing: border-box;
}
.logo {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 300;
}
.nav_links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav_links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: lowercase;
     transition: color 0.2s ease;
}
.nav_links a:hover  {
       color: var(--accent);
}
.nav_links a.nav_cta {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 12px 22px;
    border-radius: 30px;
    transition: background 0.25s ease;
}

.nav_links a.nav_cta:hover {
    background: var(--accent);
    color: var(--text-light);
}
.nav_cta:hover {
    background: var(--accent);
}
.hero {
     min-height: 100vh;
    background-size: cover;
    background-image: url(images/bgsphere.png);
    background-position: center right;
    background-repeat: no-repeat;
      display: flex;
    align-items: center;
}
.hero_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 42px 68px;
    
}
.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 108px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    max-width: 820px;
    margin-bottom: 28px;
    color: var(--text);
    
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.hero_content > p:not(.label_hero) {
    max-width: 400px;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.label_hero {
    font-family: var(--font-sans);      /* labels are sans, headings are serif */
    font-size: 12px;                    /* smaller = more premium */
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-muted);           /* muted, not full text color */
    margin-bottom: 8px;
}
.hero_cta {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 16px 34px;
    border-radius: 30px;
    transition: background 0.25s ease;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.hero_cta:hover {
    background: var(--accent);
   
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.label_hero {
    animation: fadeIn 0.8s ease forwards;
}

.hero h1 {
    animation: fadeIn 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero_content > p:not(.label_hero) {
    animation: fadeIn 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero_cta {
    animation: fadeIn 0.8s ease 0.45s forwards;
    opacity: 0;
}
.about_inner {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 48px;

}
.about_img {
   width: 320px;
   flex-shrink: 0;
}
.about_img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 180px 180px 12px 12px;
    display: block;
}
.label_about {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 300;
      letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-muted);           /* muted, not full text color */
    margin-bottom: 8px;
}
.about_content h2 {
     font-size: clamp(32px, 4.5vw, 54px);
     color: var(--text);
    font-family: var(--font-serif);
     font-weight: 400;
     margin-bottom: 18px;
     line-height: 1;
     letter-spacing: -1px;
     max-width: 700px;
}
.about_content h2 em {
    font-style: italic;
    color: var(--accent);
}
.about_content p:not(.label_about) {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
}
.work {
    background-color: var(--bg-dark);
    width: 100%;
    padding: 120px 48px;
    box-sizing: border-box;
}

.work_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.work_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
 
}
.work_card {
    position: relative;   /* the anchor */
}
.work_grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
display: block;
transition: transform 0.4s ease;
}
.work_card:hover img {
    transform: scale(1.04);
}
.work_card_text {
    position: absolute;   /* pulls it out of flow */
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    box-sizing: border-box;
}
.work_card_text h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2px;
}

.work_card_text p {
    font-size: 12px;
    color: var(--text-muted-light);
    margin: 0;
}

.work_card_text .index {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 4px;
}
.work_card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 18, 0.35);
    transition: background 0.3s ease;
    z-index: 1;
}

.work_card:hover::after {
    background: rgba(10, 12, 18, 0.15);   /* lightens on hover — image "reveals" */
}

.work_card_text {
    z-index: 2;   /* text above the overlay */
}
.label_work {
    font-family: var(--font-sans);
    color: var(--text-muted-light);
    font-size: 12px;
     font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
    margin-bottom: 8px;
}
.work_inner h2 {
    font-size: clamp(34px, 4.5vw, 54px);
    color: var(--text-light);
    letter-spacing: -1px;
    line-height: 1.1;
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 56px;
}
.work_inner em {
    font-style: italic;
    color: var(--accent);
}
.contact {
   width: 100%;
    background-color: var(--bg);
    padding: 120px 48px;
    box-sizing: border-box;
    
}
form {
    max-width: 500px;
    margin: 0 auto;
    
}
form div{
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    
}
.contact_first {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: center;
}
form input, textarea {
    padding: 10px 14px;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
   border: 1px solid var(--border);
    
}
input:focus { outline: none; border-color: var(--accent); }
.label_contact {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: lowercase;
    margin-bottom: 8px;
}
.contact_first h2 {
    font-size: clamp(32px, 4.5vw, 54px);
    
    color: var(--text);
    
    font-weight: 400;
    padding-bottom: 18px;
    font-family: var(--font-serif);
}
.contact_first p{
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--text);
}
form label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: lowercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.contact_btn {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 16px 34px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: lowercase;
    transition: background 0.25s ease;
    display: block;
    margin: 24px auto 0;
}
.contact_btn:hover { background: var(--accent); }

.contact_first em {
     font-style: italic;
    color: var(--accent);
}
footer {
    width: 100%;
    background-color: var(--bg-dark);
     padding: 60px 40px 40px;
    box-sizing: border-box; 
}
.footer_inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.footer_nav {
     display: flex;
     gap : 24px ;
    
}
.footer_nav a {
       color: var(--text-muted-light);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: lowercase;
     transition: color 0.2s ease;
}
.footer_nav a:hover {
    color: var(--accent);
} 

.socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.socials a{
    color: var(--text-muted-light);
    font-size: 20px;
    transition: color 0.2s ease;
}
.socials a:hover {
    color: var(--accent);
}
.footer_copy {
    font-size: 14px;
    color: var(--text-muted-light);
    letter-spacing: 1.5px;
    margin-top: 8px;
}

html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 80px;   /* = nav height + a little */
}



















/* ============ MOBILE — max-width 768px ============ */
@media (max-width:768px){
    nav {padding: 16px 24px;}

      .nav_links a:not(.nav_cta){
        display: none;
      }  
      .nav_links {
        gap: 0;
      }

     .hero {
        background-position: 70% center;
        min-height: 100svh;
     }
       .hero_content {
        padding: 120px 24px 60px;
       }
       .hero h1 {
        font-size: clamp(40px, 11vw, 64px);
        max-width: 100%;
       }
       .hero_content > p:not(.label_hero){
        font-size: 15px;
        max-width: 100%;
       }
       .hero::after{
        height: 100px;
       }
       .about {
        margin-top: -60px;
       }
       .about_inner {
        flex-direction: column;
        gap: 48px;
        padding: 80px 24px;
        align-items: flex-start;
       }
       .about_img {
        width: 1000%;
        max-width: 300px;
        align-self: center;
       }
       .about_img img{
        height: 380px;
       }
       .about_content h2 {
        font-size: clamp(32px, 9vw, 44px);
       }
       .work {
        padding: 80px 24px;

       }
        .work_grid {
        grid-template-columns: 1fr;   /* single column */
        gap: 20px;
        margin-top: 40px;
    }

    /* if the last card spans 2 columns on desktop, reset it */
    .work_card:last-child {
        grid-column: auto;
    }

    .work_card img {
        height: 240px;
    }

    .work_inner h2 {
        font-size: clamp(32px, 9vw, 44px);
    }
    .contact{
        padding: 80px 24px;

    }
    .contact_first h2 {
        font-size: clamp(30px, 9vw, 44px);
    }
     form div {
        margin-bottom: 14px;
    }

    /* ---------- FOOTER ---------- */
    footer {
        padding: 48px 24px 32px;
    }

    .footer_nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    }