body {
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
span,
a,
div {
    font-family: "komet", sans-serif;
}
.menu {
    padding: 10px;
}

@media only screen and (min-width: 601px) {
    .menu-project {
        padding: 10px;
        margin: 25px 0px 0px;
    }
}

@media only screen and (max-width: 600px) {
    .menu-project {
        padding: 10px;
        margin: 5px 0px 0px;
    }
}

p {
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@media only screen and (min-width: 601px) {
    .section_content {
        width: 80%;
        display: inline-block;
    }
}

@media only screen and (max-width: 600px) {
    .section_content {
        width: 100%;
        display: inline-block;
    }
}
.project-introduction {
    padding: 40px 40px 0px 40px;
}

@media only screen and (max-width: 600px) {
    .project-intro-text {
        line-height: 2;
        font-size: 14px;
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 20px 0px;
    }
}

@media only screen and (min-width: 601px) {
    .project-intro-text {
        line-height: 2;
        font-size: 15px;
        padding: 0px 50px 0px 0px;
        margin: 0px 0px 25px 0px;
    }
}
@media only screen and (min-width: 601px) {
    .menu-item {
        color: #555;
        text-decoration: none;
        display: block;
        width: 100%;
        cursor: pointer;
        font-family: "komet", sans-serif;
        font-weight: 400;
        font-style: normal;
        margin: 20px 0px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: 0.3s;
    }
}

.menu-item:hover,
.project-modal__close:hover {
    font-weight: 600;
}

@media only screen and (max-width: 600px) {
    .menu-item {
        color: #555;
        text-decoration: none;
        cursor: pointer;
        font-family: "komet", sans-serif;
        font-weight: 400;
        font-style: normal;
        margin: 7px 10px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: inline-block;
        transition: 0.3s;
    }
}

.menu-item:hover {
    color: #000;
}
.active {
    font-weight: bold;
}
@media only screen and (max-width: 600px) {
    .card {
        position: relative;
        display: inline-block;
        text-align: center;
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        width: 100%;
        aspect-ratio: 10/14;
        margin: 0px 0px -5px 0px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1499px) {
    .card {
        position: relative;
        display: inline-block;
        text-align: center;
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        width: 33.3%;
        aspect-ratio: 10/14;
        margin: 0px 0px -5px 0px;
    }
}

@media screen and (min-width: 1500px) {
    .card {
        position: relative;
        display: inline-block;
        text-align: center;
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        width: 25%;
        aspect-ratio: 10/14;
        margin: 0px 0px -5px 0px;
    }
}
.card.show {
    opacity: 1;
    transform: scale(1);
}

.card img {
    display: block;
    width: 100%;
    aspect-ratio: 10/14;
    object-fit: cover;
}
.overlay {
position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 30px 30px;
    text-align: left;
    gap: 20px;   
}


.card:hover .overlay {
    opacity: 1;
}

@media only screen and (max-width: 600px) {
    .section_menu {
        width: 100%;
        display: inline-block;
        margin: 0px !important;
        float: left;
        padding: 0px 10px;
        box-sizing: border-box;
    }
}

@media only screen and (min-width: 601px) {
    .section_menu {
        width: 20%;
        display: inline-block;
        margin: 0px !important;
        float: left;
        padding: 0px 30px;
        box-sizing: border-box;
        position: sticky;
        top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .section_portfolio {
        width: 100%;
        display: inline-flex;
        margin: 0px !important;
    }
}

@media only screen and (min-width: 601px) {
    .section_portfolio {
        width: 80%;
        display: inline-flex;
        margin: 0px !important;
    }
}

.section_portfolio-block {
    width: 100%;
}

@media only screen and (min-width: 601px) {
    .logo {
        width: 130px;
        margin: 25px 0px 0px;
    }
}

@media only screen and (max-width: 600px) {
    .logo {
        width: 90px;
        margin: 15px 0px 0px 15px;
        display: block;
    }
}

.overlay_project-name {
    font-size: 28px;
    margin: 0px 0px 5px 0px;
}

.overlay_project-category {
    font-size: 16px;
    font-style: italic;
    margin: 0px;
}

.overlay_project-link {
    padding: 11px 25px;
    border: solid 1.5px;
    border-radius: 100px;
    color: white;
    background-color: #fcc016;
    border-color: #fcc016;
    text-decoration: none;
    cursor: pointer;
    font-family: "komet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-align: center;
}

.overlay_project-link:hover {
    background-color: #c99a17;
    border-color: #c99a17;
    color: white;
}
.active-link {
    font-weight: bold;
}

@media only screen and (min-width: 601px) {
    .content-title {
        font-size: 60px;
        margin: 0px;
        letter-spacing: -3px;
    }
}

@media only screen and (max-width: 600px) {
    .content-title {
        font-size: 45px;
        line-height: 1;
        margin: 0px;
        letter-spacing: -3px;
    }
}

@media only screen and (min-width: 601px) {
    .content-project {
        font-weight: 400;
        font-size: 28px;
        font-family: "komet", sans-serif;
        font-style: italic;
        margin: 0px 15px 0px 0px;
        display: inline-block;
    }
}

@media only screen and (max-width: 600px) {
    .content-project {
        font-weight: 400;
        font-size: 20px;
        font-family: "komet", sans-serif;
        font-style: italic;
        margin: 0px 15px 10px 0px;
        display: inline-block;
        width: 100%;
    }
}

@media only screen and (min-width: 601px) {
    .content-sub {
        display: flex;
        gap: 7px;
    }
}

@media only screen and (max-width: 600px) {
    .content-sub {
        display: block;
        gap: 7px;
    }
}

@media only screen and (min-width: 601px) {
    .portfolio-about {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 20px 20px;
        border-top: solid 0.5px #c8c8c8;
        margin: -4px 20px 0px;
    }
}
@media only screen and (max-width: 600px) {
    .portfolio-about {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px 10px 10px;
        border-top: solid 0.5px #c8c8c8;
        margin: -4px 10px 0px;
        font-size: 13px;
    }
}

.sub-menu-item {
    border: 1px solid black;
    text-decoration: none !important;
    padding: 10px 20px;
    color: #555;
    cursor: pointer;
    font-family: "komet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 100px;
}

.portfolio-about-section {
    display: inline-flex;
    flex-direction: column;
}

.portfolio-about-sub {
    font-weight: 600;
}

.portfolio-about-title {
}

@media only screen and (min-width: 601px) {
    .portfolio-full-img {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .portfolio-full-img {
        width: 100%;
        margin: 0px 0px 0px 0px;
    }
}

@media only screen and (min-width: 601px) {
    .portfolio-two-third-img {
        display: block;
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
    }
}
@media only screen and (min-width: 601px) {
    .portfolio-wireframe {
        box-shadow: 0 5px 10px rgb(184 184 184 / 5%),
            0 15px 40px rgb(168 168 168 / 20%);
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        width: 75%;
        margin: 0px auto 70px;
    }
}

@media only screen and (max-width: 600px) {
    .portfolio-wireframe {
        background-color: #f8f8f8;
        border-radius: 0px;
        overflow: hidden;
        width: 100%;
        margin: 0px auto 30px;
    }
}

@media only screen and (max-width: 600px) {
    .portfolio-two-third-img {
        width: 100%;
        margin: 20px auto 0px;
        display: block;
    }
}

@media only screen and (min-width: 601px) {
    .portfolio-about-wireframe {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px 20px 30px;
        border-top: solid 0.5px #c8c8c8;
        margin: 0px 20px 0px;
    }
}
@media only screen and (max-width: 600px) {
    .portfolio-about-wireframe {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px 10px 15px;
        border-top: solid 0.5px #c8c8c8;
        margin: -4px 10px 0px;
        font-size: 13px;
    }
}
@media only screen and (min-width: 601px) {
    .content-block {
        padding: 40px;
        width: 100%;
    }
}
@media only screen and (max-width: 600px) {
    .content-block {
        padding: 20px;
        width: calc(100% - 40px);
    }
}

@media only screen and (min-width: 601px) {
    .content-type {
        border: 1px solid;
        font-family: "komet", sans-serif;
        font-size: 16px;
        text-align: center;
        display: inline-flex;
        padding: 10px 20px;
        border-radius: 50px;
        margin: 0px 0px 0px 0px;
        line-height: 1;
    }
}

@media only screen and (max-width: 600px) {
    .content-type {
        border: 1px solid;
        font-family: "komet", sans-serif;
        font-size: 12px;
        text-align: center;
        display: inline-flex;
        padding: 8px 17px;
        border-radius: 50px;
        margin: 0px 6px 0px 0px;
        line-height: 1;
    }
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
}

.content_header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    color: white;
    flex-direction: column;
    align-content: flex-start;
    gap: 0px;
}

.content_header-overlay p {
    padding: 20px;
    font-size: 18px;
}

.tag-pill {
    border: solid 1px white;
    border-radius: 100px;
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1;
    margin-top: 10px;
    display: block;
}

.overlay-tags {
    display: inline-flex;
    gap: 4px;
}

/* Greencroft messaging two-column block */
.websites-messaging {
    margin: 40px auto 0;
}

.websites-messaging-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    align-items: start;
    width: calc(100% - 40px);
}

.websites-messaging-grid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #303030;
    transform: translateX(-1px);
    opacity: 0.9;
    pointer-events: none;
}

.divider {
    border: 0.5px solid;
    margin: 50px 0px;
    width: calc(100% - 40px);
}

.websites-messaging h2 {
    font-size: 15px;
    line-height: 1.2;
    margin: 0px 0 15px;
    font-weight: 700;
    font-family: "helvetica-neue-lt-pro", sans-serif;
    letter-spacing: 0;
}

.websites-messaging p {
    font-size: 15px;
    line-height: 2;
    margin: 0;
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.websites-messaging .websites-section {
    margin-bottom: 44px;
}

.websites-messaging ul {
    margin: 0;
    padding-left: 22px;
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.websites-messaging li {
    margin: 0 0 10px;
    line-height: 1.5;
}

.websites-values {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 8px;
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@media (max-width: 980px) {
    .websites-messaging-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    .websites-messaging-grid::after {
        display: none;
    }
    .websites-messaging p,
    .websites-messaging ul {
        max-width: none;
    }
}

#websites-old-logo {
    width: 150px;
    margin: 0px 0px 20px;
}

#darlington-logo {
    width: 60px;
    margin: 0px 0px 20px;
}

@media (min-width: 601px) {
    .portfolio-full {
        background-color: #f8f8f8;
        border-radius: 8px;
        overflow: hidden;
        width: calc(100% - 40px);
        margin: 0px auto 30px;
    }
}
@media (max-width: 600px) {
    .portfolio-full {
        background-color: white;
        border-radius: 0;
        overflow: hidden;
        width: 100%;
        margin: 0px auto 30px;
    }
}

#gb-old-logo {
    width: 150px;
    margin: 0px 0px 20px;
}

#soh-logo {
    width: 200px;
    margin: 0px 0px 20px;
}

@media (min-width: 601px) {
    .contact-text {
        font-size: 17px;
        line-height: 2;
        max-width: 800px;
        margin: auto;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .contact-text {
        font-size: 17px;
        line-height: 2;
        max-width: 800px;
        margin: 100px auto 0px;
        text-align: center;
        padding: 20px;
    }
}


.btn {
display: table;
    padding: 13px 40px;
    background: none;
    margin: 20px auto 50px;
    border: solid 1.5px;
    border-radius: 100px;
    color: white;
    background-color: #fcc016;
    border-color: #fcc016;
    text-decoration: none;
    cursor: pointer;
    font-family: "komet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #c99a17;
    border-color: #c99a17;
    color: white;
}

.logo-footer {
    margin: 0px auto 100px;
    width: 150px;
    display: block;
}

#fcbc-logo {
    width: 70px;
    margin: 0px 0px 20px;
}

.sub-menu-item {
    border: none;
    text-decoration: none !important;
    padding: 14px 30px;
    color: #555;
    cursor: pointer;
    font-family: "komet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 100px;
    background: transparent;
}

/* Device tabs (CSS-only; works inside dynamically injected modals) */
.websites-device-switch {
    position: relative;
}

.websites-device-switch input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.websites-panels .websites-tab-panel {
    display: none !important;
}

/* Show panel based on selected tab */
#websites-tab-desktop:checked ~ .websites-panels #websites-desktop {
    display: block !important;
}
#websites-tab-mobile:checked ~ .websites-panels #websites-mobile {
    display: block !important;
}

/* Active tab styling */
#websites-tab-desktop:checked
    ~ .websites-device-tabs
    label[for="websites-tab-desktop"],
#websites-tab-mobile:checked
    ~ .websites-device-tabs
    label[for="websites-tab-mobile"] {
    background: #111;
    color: #fff;
    margin: 0px -3px 0px 0px;
}

@media (min-width: 601px) {
    /* Placeholder blocks for screenshots (swap these for images later) */
    .websites-placeholders {
        max-width: 1200px;
        margin: 0 auto 60px;
        padding: 0 10px;
        font-family: "komet", sans-serif;
    }
}

@media (max-width: 600px) {
    .websites-placeholders {
        max-width: 1200px;
        margin: 0 auto 30px;
        padding: 0px;
        font-family: "komet", sans-serif;
    }
}

.websites-placeholder {
    border: 1px dashed #999;
    background: #f7f7f7;
    border-radius: 14px;
    padding: 46px 20px;
    margin: 0 0 14px;
    text-align: center;
    color: #666;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 12px;
}

.sub-menu-project {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0px 0px -80px;
}

/* Active anchor state in the project menu */
.menu-item.active-link {
    font-weight: 700;
}

/* Greencroft messaging two-column block (so it works when loaded in the modal) */
.websites-messaging {
    max-width: 1400px;
    margin: 70px auto 0;
    padding: 0 10px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.websites-messaging-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    align-items: start;
}

.websites-messaging-grid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #222;
    transform: translateX(-1px);
    opacity: 0.9;
    pointer-events: none;
}

.websites-messaging h2 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 700;
}

.websites-messaging p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 62ch;
}

.websites-messaging .websites-section {
    margin-bottom: 44px;
}

.websites-messaging ul {
    margin: 0;
    padding-left: 22px;
    font-size: 18px;
    line-height: 1.8;
    max-width: 72ch;
}

.websites-messaging li {
    margin: 0 0 10px;
}

.websites-values {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 8px;
}

@media (max-width: 980px) {
    .websites-messaging-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    .websites-messaging-grid::after {
        display: none;
    }
    .websites-messaging p,
    .websites-messaging ul {
        max-width: none;
    }
}

@media (min-width: 601px) {
    .websites-device-tabs {
        position: sticky;
        top: 40px; /* sits below the fixed top menu */
        z-index: 999;
    }
}

@media (max-width: 600px) {
    .websites-device-tabs {
        position: sticky;
        z-index: 999;
        top: calc(100vh - 110px);
    }
}

/* Apple-like segmented control for the Desktop/Mobile tabs (local to this page) */
.websites-device-tabs .tabs {
    position: relative;
    display: inline-flex;
    gap: 0;
    width: fit-content;
    background: rgb(255 255 255);
    border-radius: 999px;
    padding: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
        rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.websites-device-tabs .tabs::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 2px);
    border-radius: 999px;
    background: #111;
    transform: translateX(0);
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: transform;
}

.websites-device-tabs .tabs .sub-menu-item {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 50%;
    min-width: 120px;
    padding: 10px 18px;
    margin: 0;

    /* override your default sub-menu-item styling for this tab group */
    border: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.65);
    text-transform: none;
    letter-spacing: 0.2px;
    cursor: pointer;
    user-select: none;

    transition: color 240ms ease, transform 240ms ease;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 50%;
    min-width: 120px;
    padding: 16px 0px;
    margin: 0;
    border: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.65);
    text-transform: none;
    letter-spacing: 0.2px;
    cursor: pointer;
    user-select: none;
    transition: color 240ms ease, transform 240ms ease;
    cursor: pointer;
    font-family: "komet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media only screen and (min-width: 601px) {
    .portfolio-mob-wireframe {
        box-shadow: 0 5px 10px rgb(184 184 184 / 5%), 0 15px 40px rgb(168 168 168 / 20%);
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        width: 320px;
        margin: 0px auto 70px;
    }
}

@media (min-width: 601px) {
    .portfolio-mob-full {
        background-color: #f8f8f8;
        border-radius: 8px;
        overflow: hidden;
        width: 100%;
        margin: 0px auto 30px;
        display: block;
    }
}

@media only screen and (min-width: 601px) {
.portfolio-medium {
        width: 500px;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    margin: 0px auto 30px;
}
}

@media only screen and (max-width: 600px) {
.portfolio-medium {
        width: calc(100% - 50px);
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    margin: 0px auto 30px;
}
}

@media only screen and (min-width: 601px) {
    .portfolio-about-mob-wireframe {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 15px 20px 15px;
        border-top: solid 0.5px #c8c8c8;
        margin: 0px 10px 0px;
    }
}

.project-page {
    text-align: right;
    line-height: 1;
}

/* Active text colour */
#websites-tab-desktop:checked
    ~ .websites-device-tabs
    label[for="websites-tab-desktop"],
#websites-tab-mobile:checked
    ~ .websites-device-tabs
    label[for="websites-tab-mobile"] {
    color: #fff;
}

/* Move pill to the right for Mobile */
#websites-tab-mobile:checked ~ .websites-device-tabs .tabs::before {
    transform: translateX(100%);
}

.websites-device-tabs .tabs .sub-menu-item:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .websites-device-tabs .tabs::before {
        transition: none;
    }
    .websites-device-tabs .tabs .sub-menu-item {
        transition: none;
    }
}
