* {
font-family: 'ABeeZee', sans-serif; 
}

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

body {
    font-family: 'ABeeZee', sans-serif;
    background-color: #fefbf1;
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

 /* unvisited link */
a:link {
    color: #222021;
    text-decoration: none;
}

  /* visited link */
a:visited {
    color: #222021;
}

  /* mouse over link */
a:hover {
    color: #e0218a;
}

  /* selected link */
a:active {
    color: #222021;
}


/* ============================================
   HEADER
   ============================================ */

.header {
    display: flex;
    align-items: center;
    height: 6rem;
    padding: 0 2rem;
    gap: 2rem;
}

.header_logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: 2rem;
    flex-shrink: 0; /* important */
}

.header_logo,
.header_pills {
  display: flex;
  align-items: center;
  gap: 15px; 
}

.header_logo p {
    font-size: 24px;
    font-weight: bold;
    color: #222021;
    width: auto; /* remove your fixed width */
}

.logo {
    width: 55px;
    height: 30px;
    padding-left: 1.5rem;
}

.header_nav {
    display: flex;
    flex-flow: row;
    margin-left: 14rem;
    margin-right: 0;
    flex: 1;
    

    a:link {
        color: #222021;
        text-decoration: none;
    }

    a:visited {
        color: #222021;
        text-decoration: none;
    }

    a:hover {
        color: #e0218a;
        text-decoration: none;
    }

    a:active {
        color: #222021;
        text-decoration: none;
    }
}

.header_nav_list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_nav_list li {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #222021;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: .5rem;
    padding-top: 0;
    padding-right: 0;
}

#li-contact {
    border: 2px solid #e0218a;
    border-radius: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 1rem;
    padding-right: 1rem;
}

#li-pills {
    display: flex;
    gap: .6rem;
    border: none;
    padding: 0;
    margin-left: 2rem;
}

.header_pills {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}

.pill {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 20px;
    border: 1.5px solid #bbb;
    color: #888;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pill:hover {
    border-color: #e0218a;
    color: #e0218a;
}

.pill--active {
    background-color: #e0218a;
    border-color: #e0218a;
    color: #fff;
}

.pill--active:hover {
    color: #fff;
}

/* ============================================
   HAMBURGER
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
    margin-right: 1.5rem;
    margin-top: 1.5rem;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #222021;
    border-radius: 2px;
}

#li-home ul.dropdown {
    width: 20%;
    background: #e0218a;
    position: absolute;
    z-index: 2000;
    display: none;
}

#li-home ul.dropdown li {
    display: block;
    position: relative;
}

#li-home ul.dropdown a:hover { background: #e0218a; }

#li-home:hover ul.dropdown { display: block; }

#li-home ul.dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
}

#li-contact {
    border: 2px solid #e0218a;
    border-radius: 5px;
    padding: 2px 1rem;
}

/* ============================================
   CASE STUDY
   ============================================ */

.case-study-section {
    padding: 3rem 8rem 6rem;
    background-color: #fefbf1;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.page-heading-meta {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e0218a;
    margin-bottom: 0.6rem;
}

.page-heading h1 {
    font-family: 'Caprasimo', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #222021;
    margin-bottom: 0.8rem;
}

.page-heading-grab {
    font-size: 1rem;
    color: #444;
    line-height: 1.65;
    font-style: italic;
    max-width: 600px;
}

.gd-controls {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.gd-controls a {
    font-family: 'Caprasimo', serif;
    font-size: 1.8rem;
    color: #e0218a;
    line-height: 1;
}

.gd-controls a:hover { color: #222021; }

/* Cover */
.case-cover {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
    background-color: #FCF4E8;
}

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

/* Info Grid */
.case-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background-color: #FCF4E8;
    border-radius: 12px;
}

.case-info-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e0218a;
    margin-bottom: 0.5rem;
}

.case-info-text {
    font-size: 0.95rem;
    color: #222021;
    line-height: 1.7;
}

/* Image Sections */
.case-image-section {
    margin-bottom: 4rem;
}

.case-section-title {
    font-family: 'Caprasimo', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #222021;
    margin-bottom: 1.5rem;
}

.case-image-grid {
    display: grid;
    gap: 1rem;
}

.case-image-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.case-image-grid.one-col {
    grid-template-columns: 1fr;
}

.case-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* ============================================
   CONTACT
   ============================================ */

.contact_section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #FCF4E8;
    width: 100%;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 2rem;
}

#plane img {
    width: 100%;
    height: 80%;
    padding-left: 10rem;
    padding-top: 5rem;
    overflow: hidden;
    animation: slideInPlane 1s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

.contact_us {
    width: 90%;
    padding-top: 3rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 6rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-right: 2rem;
    text-align: right;
}

.contact_us h3 {
    font-family: 'Caprasimo', serif;
    font-size: 40px;
    font-weight: 900;
    text-align: right;
    margin-left: 8rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
    color: #e0218a;
}

#you {
    font-size: 40px;
    font-weight: 900;
    text-align: right;
    margin-top: -3rem;
    padding-bottom: 1rem;
    color: #221f21;
}

.contact_us p {
    color: #221f21;
    font-size: large;
    text-align: right;
    padding-bottom: 5px;
}

.mail {
    font-size: large;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

a.mail:link {
    color: #221f21;
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer_nav {
    background-color: #FCF4E8;
    width: 100%;
    height: 20vh;
    margin-top: 0;
    align-items: center;
}

.footer_grid {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.footer_icons {
    flex-basis: 40%;
    width: 30px;
    height: 30px;
    padding: 0;
    padding-left: 3rem;
    gap: 2.5rem;
    margin-left: 40%;
    margin-right: 0;
    margin-top: 0;
    align-items: center;
}

.footer_icons img {
    width: 50px;
    height: 50px;
    padding-right: 0;
}

.footer_icons img:hover {
    background-color: #e0218a;
    opacity: 0.6;
    border: 3px solid #e0218a;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInPlane {
    from { opacity: 0; transform: translateX(-100%); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================
   TABLET: 701px–1024px
   ============================================ */

@media screen and (min-width: 701px) and (max-width: 1024px) {
    .header_logo { margin-left: 2rem; }
    .header_nav_list { margin-left: 4rem; gap: 1rem; }

    .case-study-section { padding: 3rem 4rem 5rem; }

    .case-info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   MOBILE: 481px–700px
   ============================================ */

@media screen and (min-width: 481px) and (max-width: 700px) {
    .header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        height: 5rem;
        padding: 0 1rem;
    }

    .header_logo { margin-left: 0; padding-top: 0; flex-shrink: 0; }
    .logo { width: 50px; height: 30px; padding-left: 1rem; }
    .header_logo p { font-size: 14px; width: auto; }

    .hamburger { display: flex; margin-top: 0; }

    .header_nav {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        background: #fefbf1;
        padding: 1.5rem 2rem 2rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
        z-index: 99;
        margin-left: 0;
    }

    .header_nav.open { display: flex; }

    .header_nav_list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: auto;
        margin-left: 0;
        gap: 1.25rem;
    }

    .header_nav_list li { font-size: 1rem; margin-top: 0; width: 100%; }

    #li-home ul.dropdown {
        position: static;
        width: 100%;
        display: none;
        margin-top: .5rem;
        border-radius: 8px;
    }

    #li-home.open ul.dropdown { display: block; }
    #li-contact { display: inline-block; padding: 6px 14px; }

    .case-study-section { padding: 2.5rem 1.5rem 4rem; }

    .page-heading { flex-direction: column; gap: 1.5rem; }
    .page-heading h1 { font-size: 1.8rem; }

    .case-info-grid { grid-template-columns: 1fr; }

    .case-image-grid.two-col { grid-template-columns: 1fr; }

    .contact_section { grid-template-columns: 1fr; text-align: center; }
    #plane img { width: 70%; height: auto; padding-left: 0; padding-top: 2rem; }
    .contact_us { width: 100%; margin-right: 0; padding-right: 1.5rem; padding-left: 1.5rem; text-align: center; }
    .contact_us h3 { text-align: center; margin-left: 0; }
    #you { text-align: center; }
    .contact_us p { font-size: 15px; text-align: center; }

    .footer_nav { height: auto; padding: 1.5rem 0 2rem; }
    .footer_grid { justify-content: center; margin-left: 0; }
    .footer_icons { display: flex; gap: 1.5rem; margin-left: 0; padding-left: 0; width: auto; }
    .footer_icons img { width: 36px; height: 36px; }
}

/* ============================================
   SMALL MOBILE: 280px–480px
   ============================================ */

@media screen and (min-width: 280px) and (max-width: 480px) {
    body { max-width: 100vw; overflow-x: hidden; }

    .header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        height: 5rem;
        padding: 0 1rem;
    }

    .header_logo { margin-left: 0; padding-top: 0; flex-shrink: 0; }
    .header_logo img { width: 25px; height: 20px; padding-left: 0; }
    .header_logo p { font-size: 14px; width: auto; padding-left: .5rem; }

    .hamburger { display: flex; margin-top: 0; margin-left: auto; }

    .header_nav {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        background: #fefbf1;
        padding: 1.5rem 2rem 2rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
        z-index: 99;
        margin-left: 0;
    }

    .header_nav.open { display: flex; }

    .header_nav_list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: auto;
        margin-left: 0;
        gap: 1.25rem;
        flex-wrap: nowrap;
    }

    .header_nav_list li { font-size: 1rem; margin-top: 0; margin-left: 0; width: 100%; }

    #li-home ul.dropdown {
        position: static;
        width: 100%;
        display: none;
        margin-top: .5rem;
        border-radius: 8px;
    }

    #li-home.open ul.dropdown { display: block; }
    #li-contact { display: inline-block; padding: 6px 14px; width: auto; }

    .case-study-section { padding: 2rem 1rem 4rem; }

    .page-heading { flex-direction: column; gap: 1.2rem; }
    .page-heading h1 { font-size: 1.5rem; }
    .page-heading-grab { font-size: 0.9rem; }

    .case-info-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .case-image-grid.two-col { 
        grid-template-columns: 1fr; 
    }

    .contact_section { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }

    #plane img { 
        width: 75%; 
        height: auto; 
        padding-left: 0; 
        padding-top: 2rem; 
    }

    .contact_us { 
        width: 100%; 
        margin-right: 0; 
        padding-right: 1.5rem; 
        padding-left: 1.5rem; 
        padding-bottom: 1.5rem; 
        text-align: center; 
    }

    .contact_us h3 { 
        font-size: 2.2rem; 
        text-align: center; 
        margin-left: 0; 
        padding-bottom: 1rem; 
    }

    #you { 
        font-size: 2.2rem; 
        text-align: center; 
        margin-top: -1.5rem; 
        padding-bottom: .75rem; 
    }

    .contact_us p { 
        font-size: 14px; 
        text-align: center; 
        padding-bottom: 4px; 
    }

    a.mail:link { 
        font-size: 14px; 
        font-weight: 900; 
        color: #221f21; 
        text-decoration: underline;
    }

    .footer_nav { 
        height: auto; 
        padding: 1.5rem 0 2rem; 
    }

    .footer_grid { 
        display: flex; 
        justify-content: center; 
        margin-left: 0; 
        padding: 0; 
        width: 100%; 
    }

    .footer_icons { 
        display: flex; 
        gap: 1.5rem; 
        margin-left: 0; 
        padding-left: 0; 
        width: auto; 
        height: auto; 
    }

    .footer_icons img { 
        width: 32px; 
        height: 32px; 
        padding: 0; 
        margin: 0; 
    }
}
