* {
     margin: 0;
     padding: 0;
}


body {
    background: #F5F5F5;
}
.main-wrapper {
    max-width: 1200px;
    margin: 0 120px;
}

@media (max-width: 600px) {
    .main-wrapper {
        max-width: 100%;
        margin: 0 32px;
    }
}

.hint {
    font-family: "IBM Plex Serif";
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.5px;
}

.red {
    color: #7E0303;


}


a {
    color: #000;

/* hint */
font-family: "IBM Plex Serif";
font-size: 16px;
font-style: italic;
font-weight: 300;
line-height: normal;
letter-spacing: 0.5px;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}

a:hover {
    color: #7E0303;
}

.body-hero {
    font-family: Inter;
font-size: 24px;
font-style: normal;
font-weight: 300;
line-height: 97%; /* 23.28px */
}


.main-hero {
    color: #000;

/* hero */
font-family: "Playfair Display";
font-size: 96px;
font-style: normal;
font-weight: 800;
line-height: 97%; /* 93.12px */
letter-spacing: -0.96px;
}

.border {
            border-bottom: 1px solid rgba(0, 0, 0, 0.20);

}

.border-top {
    border-top: 1px solid rgba(0, 0, 0, 0.20);
}

h2 {
    color: #000;
text-align: center;

/* h2 */
font-family: "Cormorant Garamond";
font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-top: 12px; 
margin-bottom: 16px;
}

p {
    color: #000;

/* body */
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 97%; /* 15.52px */
margin-top: 0px;
width: 80%;
}

/* sections */

.p-130 {
    padding: 130px 0;
}

.navbar {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    height: 51px;
    align-items: center;

}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-items {
    display: flex;
    justify-content: end;
    gap: 24px;
}
/* only the mobile nav was generated with ai */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 30px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #7c7c7c;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: flex-start;
    justify-content: stretch;
    z-index: 2000;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-panel {
    background: #fff;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    padding: 16px 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 51px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.mobile-menu-title {
    font-family: "IBM Plex Serif", serif;
    font-style: italic;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: normal;
    color: #000;
}

.nav-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #777;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.mobile-menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    font-family: "IBM Plex Serif", serif;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: normal;
    color: #000;
}

.mobile-menu-links a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-items {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: space-between;
        padding-bottom: 24px;

}

.hero #first-row {
    display: flex;
    justify-content: end;
}

.hero #second-row {
    display: flex;
    flex-direction: row;
}

.hero #first-col {display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
flex: 1 0 0;}

.hero #second-col {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: end;
    gap: 10px;
}

.hero #box1 {
    width: 250px;
    height: 100px;
    background-color: #D9D9D9;
}

.hero #box2 {
    width: 130px;
    height: 250px;
    background-color: #D9D9D9;
}

.project-hero {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    justify-content: center;
    padding: 80px 0 60px 0;
}

.project-hero-content {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.project-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 650px;
    color: #000;
}

.project-hero-title {
    max-width: 606px;
}

.project-hero-link {
    color: #000;
    font-family: "Inter";
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 97%;
    text-decoration: underline;
}

.project-hero-logo-wrapper {
    display: flex;
    flex: 1 0 0;
    justify-content: flex-end;
    align-items: flex-end;
    min-width: 260px;
}

.project-hero-logo {
    width: 250px;
    height: 72px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (max-width: 900px) {
    .project-hero {
        padding: 48px 0 40px 0;
    }

    .project-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-hero-logo-wrapper {
        justify-content: flex-start;
    }
}

.quote {
    height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quote #row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;

}

@media (max-width: 600px) {
    .about {
        display: flex;
        flex-direction: column;
        gap: 64px;
    }
}

.about #col1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 0px;
}

.about #col2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

/* Codex generated: About section styling */
.about-text-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    padding-right: 24px;
    position: relative;
}

.about-body-wrapper {
    position: relative;
    width: 100%;
}

.about-body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 97%;
    color: #000;
    width: 100%;
    max-height: 204px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.about-text-section.expanded .about-body {
    max-height: 2000px;
}

.about-body p {
    margin: 0 0 10px 0;
    width: 100%;
}

.about-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.about-text-section.expanded .about-gradient-overlay {
    opacity: 0;
}

.about-show-more {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 265px;
    z-index: 1;
    transition: opacity 0.3s ease-out;
}

.about-text-section.expanded .about-show-more {
    opacity: 0;
    pointer-events: none;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    padding-top: 48px;
}

.about-main-image {
    width: 100%;
    max-width: 400px;
    background-color: #d9d9d9;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    flex: 1;
    margin: 0 auto;
}

.about-main-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.about-thumbnail {
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

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

.about-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.about-thumbnail:hover::before {
    opacity: 1;
}

.about-thumbnail-active {
    position: relative;
}

.about-thumbnail-active::before {
    opacity: 1;
}


.design {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.design p {
    min-height: 86px;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 460px;
    width: 100%;
    background-color: grey;
}

.image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
}

.card-image {
    height: 190px;
    max-width:100%;
}

.scrollcontent {
    display: grid;
    width: 100%;
    grid-template-columns: 24% 24% 24% 24%;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .scrollcontent {
        display: grid;
    width: 100%;
    grid-template-columns: 50% 50%;
    gap: 16px;
    flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .scrollcontent {
        display: grid;
    width: 100%;
    grid-template-columns: 100%;
    gap: 16px;
    flex-wrap: wrap;
    }
}

/* I had AI tell me how to align the links at the bottom*/
.card-content a {
  margin-top: auto;      /* sends the link to the bottom */ /* keep it left aligned */
}


.card-content {
    display: flex;
padding: 12px 12px 24px 12px;
flex-direction: column;
align-items: start;
justify-content: start;
gap: 10px;
height: 100%;
margin-top: auto;
background: #E5E5E5;

}

.card-title {
color: #1A1A1A;
font-family: "Cormorant Garamond";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: 97%; /* 27.16px */
min-height: 54px;
}

.biz-section {
    display: grid;
    grid-template-columns: 50% 50%;
}

@media (max-width: 1100px) {
    .biz-section {
        display: grid;
        grid-template-columns: 100%;
        gap: 64px;
    }
}

.biz {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#biz1 {
    align-items: start;
}

#biz2 {
    align-items: end;
    text-align: end;
}

.biz-contact {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.university {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.university-title {
    text-align: left;
    margin: 0;
}

.university-body,
.university-note p {
    width: 100%;
    max-width: 705px;
}

.university-contact {
    margin: 0;
}

.university-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 18px;
    width: 100%;
    max-width: 760px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.stat-heading {
    font-family: "Cormorant Garamond";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.stat-label {
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 97%;
}

.university-note {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 900px) {
    .university-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .university-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    width: 100%;
    background: #1A1A1A;
    color: #000000;
    margin-top: 40px;
}


.footer-shadow {
    height: 100px;
    background: #f5f5f5;
    /*AI helped with shadows and some footer styling */ 
    box-shadow: inset 0 -37px 24px -17px rgba(0, 0, 0, 0.41);
}

.footer-content {
    max-width: 1200px;

    margin: 0 120px;
    padding: 48px 0 72px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-col {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-heading {
    font-family: "IBM Plex Serif";
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "IBM Plex Serif";
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-text p {
    margin: 0;
    width: 100%;
    font-family: "IBM Plex Serif";
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .footer-content {
        padding: 48px 32px 72px 32px;
        grid-template-columns: 1fr;
    }
}

.project-gallery {
    padding: 32px 0 48px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-grid {
    display: grid;
    gap: 10px;
}

.gallery-grid-top {
    grid-template-columns: 2fr 1.2fr;
}

.gallery-grid-bottom {
    grid-template-columns: 1.05fr 1fr 1fr;
}

.gallery-item {
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-large,
.gallery-item-medium {
    min-height: 340px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .gallery-grid-top,
    .gallery-grid-bottom {
        grid-template-columns: 1fr;
    }
}

.case-study {
    padding: 80px 0 100px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-columns {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.case-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-heading {
    margin: 0;
    font-family: "Cormorant Garamond";
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.case-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-content p {
    width: 65%;
    line-height: 1.2;
}

.case-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-subheading {
    margin: 0;
    font-family: "Cormorant Garamond";
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.case-ordered {
    padding-left: 22px;
    margin: 0;
    line-height: 1.4;
}

.case-image {
    width: 100%;
    max-width: 560px;
    background: #e5e5e5;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-image-grid {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 720px;
    grid-template-columns: 1fr 1fr 1fr;
}

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

.case-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 900px) {
    .case-columns {
        flex-direction: column;
    }

    .case-sidebar {
        width: 100%;
    }
}

.contact-hero {
    justify-content: flex-end;
    padding-top: 48px;
}

.contact-hero #second-row {
    align-items: flex-end;
    gap: 10px;
}

.newsletter-copy {
    max-width: 500px;
    width: 100%;
}

.newsletter-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 12px;
}

.newsletter-input {
    flex: 1;
    height: 45px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.4);
    padding: 0 12px;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 300;
}

.subscribe-btn {
    width: 118px;
    height: 45px;
    background: #000;
    color: #fff;
    border: none;
    font-family: "IBM Plex Serif";
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    padding: 40px 0;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 0 0;
}

.contact-subtitle {
    font-family: "Cormorant Garamond";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
    text-align: start;
}

.contact-body {
    max-width: 506px;
    width: 100%;
}

.contact-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
    height: 52px;
    padding: 10px 0;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 0 0;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 12px;
}

.contact-card a {
    text-decoration: underline;
}

.contact-label {
    font-family: "Cormorant Garamond";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.contact-card.no-border {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 900px) {
    .contact-info {
        flex-direction: column;
        gap: 24px;
    }

    .contact-hero {
        height: auto;
        padding-bottom: 40px;
    }

    .contact-hero #second-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-row {
        width: 100%;
    }

    .newsletter-input,
    .subscribe-btn {
        width: 100%;
    }
}
