/* 2026 update: process strip on the about page, plus mobile fixes. Loaded after every other stylesheet. */

/* ---------- Process strip (replaces the personal achievements counters) ---------- */
.processSec {
    padding-bottom: 154px;
}
.processList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 32px;
}
.processStep {
    border-top: 2px solid #000;
    padding-top: 28px;
}
.processNum {
    display: block;
    margin-bottom: 20px;
    color: #f23030;
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}
.processStep h3 {
    margin: 0 0 12px;
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}
.processStep p {
    margin: 0;
    color: #7d7d7d;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1199px) {
    .processList {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px 32px;
    }
}
/* ---------- Readability: body copy greys were #999 on white (2.8:1), now 4.9:1 ---------- */
.about_desc p,
.box_details p,
.approachTitle p,
.commitment_text p,
.processStep p {
    color: #6f6f6f;
}

/* ---------- Work page: new project images never scale past their own size ---------- */
.work_img img.work_native {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.work_img img.work_native[src*="starzar"] {
    max-width: 1080px;
}

/* ---------- Service and expertise card titles: longer names fit one line ---------- */
.iconBox h3,
.iconBox02 h3 {
    font-size: 18px;
    letter-spacing: 4px;
    line-height: 1.4;
}
@media (min-width: 768px) {
    /* equal text blocks keep the Learn more buttons on one line */
    .what_we_do .box_details p {
        min-height: 7.2em;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .what_we_do .iconBox h3 {
        min-height: 2.8em;
    }
    .what_we_do .box_details p {
        min-height: 10.5em;
    }
}
.shopSection2 .approachTitle2 {
    margin-bottom: 0;
}


/* ---------- Tablet and phone ---------- */
@media (max-width: 990px) {
    /* menu button: top right, on a white base so it stays visible over photos and text;
       it stays in place as the close button while the menu is open */
    .menu_toggler {
        top: 16px;
        right: 16px;
        left: auto;
        bottom: auto;
        width: 45px;
        height: 44px;
    }
    #menu_toggle {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }
    #menu_toggle::before {
        content: "";
        position: absolute;
        top: -13px;
        right: -10px;
        bottom: -13px;
        left: -10px;
        z-index: -1;
        background: #fff;
        border-radius: 2px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    }
    #menu_toggle span,
    .fixedHeader #menu_toggle span {
        background: #222;
    }

    /* split block: the desktop composition overlaps text below 991px, so stack it */
    .serviceArea > img,
    .serviceArea .rotate_text_02 {
        display: none;
    }
    .serviceArea .serviceHead,
    .serviceArea .serviceDesc {
        position: static;
        width: auto;
        margin: 0;
    }
    .serviceArea .serviceHead {
        padding: 48px 40px;
        background: #2a2a2a;
        font-size: 32px;
        line-height: 1.25;
    }
    .serviceArea .serviceDesc {
        padding: 36px 40px 48px;
        background: #f23030;
        font-size: 18px;
        line-height: 1.6;
    }
}

/* ---------- Tablet only: service cards in 2 columns ---------- */
@media (min-width: 768px) and (max-width: 990px) {
    .what_we_do .col-sm-3 {
        width: 50%;
        margin-bottom: 56px;
    }
    .what_we_do .col-sm-3:nth-child(odd) {
        clear: left;
    }
    .what_we_do .iconBox h3 {
        min-height: 0;
    }
    .what_we_do .box_details p {
        min-height: 5.4em;
    }
}

@media (max-width: 767px) {
    .about_desc p {
        font-size: 16px;
        line-height: 1.75;
    }
    .sy_btn {
        font-size: 12px;
    }
    .iconBox,
    .iconBox_xsClass {
        margin-bottom: 64px;
    }
    .fh_con h1 {
        font-size: 28px;
        line-height: 1.15;
    }
    #testimonial {
        padding-top: 72px;
    }
    /* vertical process labels run into headings on narrow screens */
    .rotate_text,
    .rotate_text_03 {
        display: none;
    }
    .approachTitle h1 br {
        display: none;
    }
    .approachTitle p {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.7;
    }
    .commitment_text h2 {
        font-size: 22px;
        line-height: 1.45;
    }
    .carousel-inner blockquote p {
        font-size: 17px;
        line-height: 1.6;
    }

    .serviceArea .serviceHead {
        padding: 40px 24px;
        font-size: 28px;
    }
    .serviceArea .serviceDesc {
        padding: 32px 24px 40px;
        font-size: 17px;
    }

    .processSec {
        padding-bottom: 80px;
    }
    .processList {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .processStep {
        display: grid;
        grid-template-columns: 64px 1fr;
        column-gap: 16px;
        padding-top: 20px;
    }
    .processNum {
        grid-row: span 2;
        margin: 0;
        font-size: 40px;
    }
}



/* ---------- Index: project titles always visible, no hover motion ---------- */
.singleFolio img,
.singleFolio:hover img {
    transform: none;
    transition: none;
}
.folio_hover,
.singleFolio:hover .folio_hover {
    opacity: 1;
    visibility: visible;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.82) 100%);
    transition: none;
}
.folio_hover h1,
.folio_hover p.catsa,
.singleFolio:hover .folio_hover h1,
.singleFolio:hover .folio_hover p.catsa {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}
.folio_hover span {
    display: none;
}
.folio_hover .fh_con {
    top: auto;
    bottom: 40px;
    padding: 0 48px;
}
.folio_hover h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.1;
}
.folio_hover h1 a:hover,
.folio_hover h1 a:focus {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* ---------- Work page: every title, description and link visible, no hover states ---------- */
.work2026 .singleWork {
    display: flex;
    align-items: center;
    margin: 0;
}
.work2026 .singleWork.flip {
    flex-direction: row-reverse;
}
.work2026 .work_media,
.work2026 .work_all_details {
    float: none;
}
.work2026 .work_img img {
    width: 100%;
    height: auto;
}
.work2026 .work_all_details,
.work2026 .work_all_details.noPadding {
    height: auto;
    padding: 56px 0 !important;
}
.work2026 .work_details {
    padding: 0 56px 0 64px;
    transition: none;
}
.work2026 .workD_Top,
.work2026 .work_all_details:hover .workD_Top {
    margin: 0 0 20px;
    padding-top: 0;
    transition: none;
}
.work2026 .workD_Top h3 {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: 4px;
    line-height: 1.6;
}
.work2026 .workD_Top h1 {
    margin: 0 0 14px;
}
.work2026 .workD_Top h1,
.work2026 .workD_Top h1 a {
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
}
.work2026 .workD_Top h1 a:hover,
.work2026 .workD_Top h1 a:focus {
    color: #f23030;
}
.work2026 .workD_Top h4 {
    margin: 0;
    font-size: 13px;
    letter-spacing: 3px;
    line-height: 1.6;
}
.work2026 .workD_bott,
.work2026 .work_all_details:hover .workD_bott {
    max-width: 34em;
    margin: 0 0 20px;
    color: #555;
    font-size: 17px;
    line-height: 1.75;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}
.work2026 .work_details a.vDetail,
.work2026 .work_all_details:hover .work_details a.vDetail {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 44px;
    overflow: visible;
    color: #f23030;
    font-size: 13px;
    letter-spacing: 2px;
    transform: none;
    transition: color 150ms ease;
}
.work2026 .work_details a.vDetail span,
.work2026 .work_all_details:hover .work_details a.vDetail span {
    margin-left: 0;
    transition: none;
}
.work2026 .work_details a.vDetail i {
    top: 0;
    height: auto;
    margin-left: 14px;
    font-size: 28px;
    line-height: 1;
}
.work2026 .work_details a.vDetail:hover,
.work2026 .work_details a.vDetail:focus {
    color: #000;
}
@media (min-width: 992px) and (max-width: 1299px) {
    .work2026 .work_details {
        padding: 0 32px 0 40px;
    }
    .work2026 .workD_Top h1,
    .work2026 .workD_Top h1 a {
        font-size: 36px;
    }
    .work2026 .workD_bott {
        font-size: 16px;
    }
}
@media (max-width: 991px) {
    .work2026 .singleWork,
    .work2026 .singleWork.flip {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 72px;
    }
    .work2026 .work_media,
    .work2026 .work_all_details {
        width: 100%;
    }
    .work2026 .work_all_details,
    .work2026 .work_all_details.noPadding {
        padding: 32px 0 0 !important;
    }
    .work2026 .work_details {
        padding: 0 48px;
    }
    .shopSection2 {
        padding-top: 96px;
    }
}
@media (max-width: 767px) {
    .work2026 .singleWork,
    .work2026 .singleWork.flip {
        margin-bottom: 56px;
    }
    .work2026 .work_all_details,
    .work2026 .work_all_details.noPadding {
        padding: 24px 0 0 !important;
    }
    .work2026 .work_details {
        padding: 0 20px;
    }
    .work2026 .workD_Top h1,
    .work2026 .workD_Top h1 a {
        font-size: 32px;
    }
    .work2026 .workD_Top h3,
    .work2026 .workD_Top h4 {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .work2026 .workD_bott {
        font-size: 16px;
        line-height: 1.7;
    }
    .folio_hover .fh_con {
        bottom: 24px;
        padding: 0 24px;
    }
    .folio_hover h1 {
        font-size: 28px;
    }
    .folio_hover p.catsa {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

/* ---------- Work page: website previews scroll through the full home page ---------- */
.site_frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 3;
    background: #f2f2f2;
}
.work2026 .site_frame img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transform: translateY(0);
    transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
    .work2026 .site_frame:hover img {
        transform: translateY(calc(var(--dist, 0px) * -1));
        transition: transform var(--dur, 8s) linear;
    }
}
.work2026 .site_preview.is-scrolling .site_frame img {
    transform: translateY(calc(var(--dist, 0px) * -1));
    transition: transform var(--dur, 8s) linear;
}
@media (prefers-reduced-motion: reduce) {
    .site_frame {
        overflow-y: auto;
    }
    .work2026 .site_frame img,
    .work2026 .site_frame:hover img,
    .work2026 .site_preview.is-scrolling .site_frame img {
        transform: none;
        transition: none;
    }
}

/* ---------- Menu overlay: the page behind the open menu is dimmed and blurred ---------- */
.menu_open .menu_overlay {
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ---------- Desktop menu panel ---------- */
@media (min-width: 991px) {
    /* tighter panel, so less of the page is covered */
    .menu_open .navWrap {
        width: 300px;
    }

    /* the vertical "Portfolio" mark is cropped away while the menu is open;
       the menu has its own portfolio link */
    .navLogo a {
        display: inline-block;
        max-height: 195px;
        overflow: hidden;
        vertical-align: top;
        transition: max-height 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    .menu_open .navLogo a {
        max-height: 31px;
    }

    /* close button sits top right of the open panel */
    .menu_open .menu_toggler {
        top: 0;
        bottom: auto;
        left: 228px;
        width: 72px;
        height: 72px;
        border: none;
        background: transparent;
        animation: menuCloseIn 300ms ease 450ms both;
    }
    .menu_open #menu_toggle {
        top: 0;
    }
}
@keyframes menuCloseIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .menu_open .menu_toggler { animation: none; }
    .navLogo a { transition: none; }
}

/* ---------- Work page: films under a project image (click to play, no autoplay) ---------- */
.work2026 .work_films {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.work2026 .work_films figure {
    margin: 0;
}
.work2026 .work_films video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #111;
}
.work2026 .work_films figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}
@media (max-width: 480px) {
    .work2026 .work_films {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .work2026 .work_films figcaption {
        padding: 0 48px;
    }
}
@media (max-width: 767px) {
    .work2026 .work_films figcaption {
        padding: 0 20px;
    }
}

/* ---------- About: space between intro paragraphs ---------- */
.commitment_text p + p {
    margin-top: 24px;
}

/* Contact: email link in place of the old PHP form */
.contactEmail { padding-top: 0; }
.contactEmail p { margin: 0 0 26px; font-size: 16px; line-height: 1.6; }
.contactEmail .email_address { margin: 22px 0 0; }
.contactEmail .email_address a { color: #f23030; font-weight: 500; word-break: break-all; }
.contactEmail .email_address a:hover, .contactEmail .email_address a:focus { text-decoration: underline; }
.contactForm button:focus-visible { outline: 2px solid #f23030; outline-offset: 3px; }
