/* ==========================================================================
   Home page
   ========================================================================== */

/* ---------- Hero ---------- */

.hero {
    /* colours used by the quote card (service.css) */
    --navy: #111;
    --gold-bright: var(--gold);
    --muted: #5a6475;
    --border: #dde2e9;
    --grey: #eef1f5;
    position: relative;
    display: flex;
    background: url("../../images/2026/09/WhatsApp-Image-2026-09-22-at-12.43.58-AM.jpeg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* copy on the left, quote card on the right */
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    width: min(1320px, 100% - 48px);
    margin: 0 auto;
    padding: 72px 0 80px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.08;
}

.hero-text {
    max-width: 600px;
    color: #e4e4e4;
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.65;
}

.hero .svc-quote {
    color: var(--muted);
    font-family: var(--font-text);
}

.hero .svc-quote-title {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0;
}

/* trust signals under the hero buttons */
.hero-trust {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 28px;
    margin-top: 6px;
    color: #fff;
    font-family: var(--font-text);
    font-size: 14px;
    line-height: 1.4;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust .icon {
    width: 15px;
    height: 15px;
    fill: var(--gold);
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 60px 0;
    }

    .hero-copy {
        align-items: center;
        text-align: center;
    }

    .hero .buttons {
        justify-content: center;
    }

    .hero .svc-quote {
        width: 100%;
        max-width: 620px;
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .hero-inner {
        width: calc(100% - 40px);
        gap: 32px;
        padding: 40px 0 48px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-text {
        font-size: 15.5px;
    }

    .hero-trust {
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
        font-size: 13px;
        text-align: left;
    }

    .hero .svc-quote-title {
        font-size: 22px;
    }
}

/* ---------- Clients ---------- */

.clients .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.logo-carousel {
    width: 100%;
}

.logo-carousel .swiper-wrapper {
    align-items: center;
}

.logo-carousel .swiper-slide {
    text-align: center;
}

/* ---------- Image + text sections ---------- */

.team .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-eyebrow {
    padding: 10px;
}

.team-split {
    align-items: center;
    gap: 80px;
    padding: 0;
}

.team-split .split-media {
    align-self: stretch;
    min-height: 600px;
}

/* wide rows: commercial production + studio */
.wide-split {
    justify-content: flex-start;
    gap: 80px;
    width: calc((100% - 20px) * 0.97);
    margin: 0 auto;
    padding: 10px 0;
}

.commercial .wide-split {
    justify-content: flex-end;
}

.commercial .split-media {
    min-height: 600px;
}

.studio .split-media {
    min-height: 654px;
}

.permits-split .split-media {
    min-height: 439px;
}

@media (max-width: 767px) {
    .permits-split .split-media {
        min-height: 268px;
    }

    .studio .buttons,
    .permits .buttons {
        padding: 2px;
    }

    .team-split {
        gap: 20px;
    }

    .team-split .split-media {
        min-height: 250px;
    }

    .wide-split {
        gap: 20px;
        width: calc(100% - 20px);
    }

    .wide-split .split-media {
        min-height: 250px;
    }

    .commercial .split-media {
        background-position: bottom center;
    }

    .wide-split .split-body {
        padding: 2px;
    }

    .wide-split .btn {
        padding: 10px 12px;
    }

    .permits-split {
        flex-wrap: wrap-reverse;
    }
}

/* ---------- Services list ---------- */

.services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services .title {
    max-width: 52%;
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: calc((100% - 20px) * 0.97);
    margin-top: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #1b1b1b;
    transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-4px);
}

.service-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card figure {
    overflow: hidden;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
}

.service-card h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-text);
    font-size: 15px;
    transition: color 0.2s, padding 0.2s;
}

.service-links li:last-child a {
    border-bottom: 0;
}

.service-links .icon {
    width: 12px;
    height: 12px;
    fill: var(--gold);
    opacity: 0;
    transition: opacity 0.2s;
}

.service-links a:hover {
    padding-left: 4px;
    color: var(--gold);
}

.service-links a:hover .icon {
    opacity: 1;
}

@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services .title {
        max-width: 100%;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        margin-top: 24px;
    }

    .service-links .icon {
        opacity: 1;
    }

    .service-card img {
        aspect-ratio: 16 / 7;
    }

    .service-card-body {
        gap: 8px;
        padding: 16px 18px;
    }

    .service-links a {
        padding: 8px 0;
    }
}

/* ---------- Portfolio ---------- */

.portfolio-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: calc((100% - 20px) * 0.97);
    margin: 0 auto;
    padding: 10px 0;
}

.portfolio-title {
    max-width: 52%;
    line-height: 1;
    text-align: center;
}

.portfolio-intro {
    max-width: 56%;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    padding: 20px 0 0;
}

.portfolio-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-grid img:hover {
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.45);
    transform: translateY(-4px);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .portfolio-inner {
        width: 100%;
    }

    .portfolio-title,
    .portfolio-intro {
        max-width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 10px;
    }

    .portfolio-grid img {
        border-radius: 10px;
    }
}

/* ---------- Process ---------- */

.process .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process .title {
    width: 52%;
    text-align: center;
}

/* five step cards in a row, joined by a thin line */
.process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: calc((100% - 20px) * 0.97);
    margin-top: 40px;
}

.process-list::before {
    content: "";
    position: absolute;
    top: 46px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: rgba(212, 175, 55, 0.35);
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #1b1b1b;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: #1b1b1b;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.process-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.process-text {
    margin-top: 8px;
    color: #a3a3a3;
    font-family: var(--font-text);
    font-size: 14.5px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-list::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .process .title {
        width: 100%;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
        padding: 18px;
    }

    .process-number {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ---------- FAQ (calmer than the shared gold bars) ---------- */

.faq-soft .faq-list summary {
    padding: 18px 20px;
    border: 0;
    border-radius: 12px;
    background: #1b1b1b;
    color: #fff;
    transition: background 0.2s;
}

.faq-soft .faq-list summary:hover,
.faq-soft .faq-list details[open] summary {
    background: #262626;
}

.faq-soft .faq-list details[open] summary {
    border-radius: 12px 12px 0 0;
}

.faq-soft .faq-list h3 {
    color: #fff;
    font-size: 18px;
}

.faq-soft .faq-icon .icon {
    fill: var(--gold);
}

.faq-soft .faq-answer {
    padding: 4px 20px 20px;
    border-radius: 0 0 12px 12px;
    background: #262626;
    color: #d4d4d4;
}

.faq-soft .faq-list {
    width: 100%;
    max-width: 900px;
    margin: 10px auto 0;
}

/* ---------- Map ---------- */

.map .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.map-intro {
    align-self: center;
    max-width: 728px;
}

.map iframe {
    display: block;
    width: 100%;
    height: 450px;
    margin-bottom: 7px;
}

/* ---------- Studio / production tabs (markup + base styles from service.css) ----------
   Desktop: the tab buttons run across the top and each panel puts its (mostly portrait)
   photo in a tall column beside the text. Phones keep the service-page accordion. */

.home-tabs .eyebrow {
    margin-bottom: 12px;
}

.home-tabs-title {
    max-width: 900px;
}

.home-tabs .svc-tabs {
    margin-top: 36px;
}

/* the panel headings keep the H2s the content sections had */
.home-tabs .svc-panel h2 {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.home-tabs .svc-panel-text {
    margin: 16px 0 26px;
}

.home-tabs .svc-panel-text p:last-child {
    margin-bottom: 0;
}

/* where the subject of each photo sits */
.home-tabs .svc-panel:nth-child(1) img { object-position: center 30%; }
.home-tabs .svc-panel:nth-child(2) img { object-position: center 45%; }
.home-tabs .svc-panel:nth-child(3) img { object-position: 70% 55%; }
.home-tabs .svc-panel:nth-child(4) img { object-position: center center; }
.home-tabs .svc-panel:nth-child(5) img { object-position: center 40%; }

@media (min-width: 768px) {
    .home-tabs .svc-tabs {
        display: block;
    }

    .home-tabs .svc-tab-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 22px;
    }

    .home-tabs .svc-tab {
        flex: 1 1 0;
        justify-content: center;
        width: auto;
        min-width: 180px;
        padding: 16px 18px;
        font-size: 16px;
        text-align: center;
    }

    /* photo is a fixed-size card inside the panel, so long text never stretches it */
    .home-tabs .svc-panel.is-active {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        align-items: start;
        gap: 8px;
        padding: 24px;
        box-shadow: 0 18px 40px -28px rgba(15, 15, 17, 0.45);
    }

    .home-tabs .svc-panel img {
        height: 400px;
        border-radius: 14px;
    }

    .home-tabs .svc-panel-body {
        padding: 16px 24px 12px 32px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .home-tabs .svc-tab {
        flex: 1 1 calc(50% - 10px);
    }

    .home-tabs .svc-panel.is-active {
        grid-template-columns: 1fr;
    }

    .home-tabs .svc-panel img {
        height: 300px;
    }

    .home-tabs .svc-panel-body {
        padding: 24px 8px 8px;
    }
}

.svc-panel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.svc-panel-buttons .svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-tabs .svc-btn-outline {
    border-color: var(--navy);
    color: var(--navy);
}

.home-tabs .svc-btn-outline svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.home-tabs .svc-btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

@media (max-width: 767px) {
    .home-tabs .svc-panel h2 {
        font-size: 20px;
    }

    .home-tabs .svc-panel img {
        height: 230px;
    }

    .svc-panel-buttons .svc-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}


/* ---------- Founder quote: dark card with a compact portrait ---------- */

.founder-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 24px;
    background: radial-gradient(120% 140% at 100% 0%, rgba(212, 175, 55, 0.18), transparent 55%), var(--black);
    box-shadow: var(--shadow);
}

.founder-photo {
    position: relative;
}

/* gold frame offset behind the portrait */
.founder-photo::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    border-radius: 18px;
}

.founder-photo img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    object-position: center 20%;
}

.founder-body .eyebrow {
    margin-bottom: 18px;
}

.founder-mark {
    display: block;
    width: 40px;
    height: 30px;
    margin-bottom: 18px;
    fill: var(--gold);
}

.founder-quote p {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(24px, 1.2rem + 1vw, 32px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.founder-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-text);
}

.founder-name strong {
    color: var(--gold);
    font-size: 17px;
    font-weight: 600;
}

.founder-name span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .founder-card {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .founder-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px 28px;
        text-align: center;
    }

    .founder-photo {
        width: 190px;
        margin: 0 auto;
    }

    .founder-photo::before {
        inset: 10px -10px -10px 10px;
    }

    .founder-mark {
        margin: 0 auto 14px;
    }

    .founder-quote p {
        font-size: 22px;
    }
}
