/* Homepage studio concept */
.home-studio-hero {
    position: relative;
    min-height: clamp(740px, 94vh, 860px);
    display: grid;
    align-items: center;
    padding: clamp(120px, 10vw, 180px) 0 clamp(96px, 10vw, 140px);
    overflow: hidden;
    background: var(--ink);
    color: #ffffff;
}

.home-studio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-blueprint-background);
    clip-path: none;
    pointer-events: none;
}

.home-studio-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero-track {
    position: relative;
    z-index: 1;
    display: grid;
    transform: translateY(clamp(-34px, -3vw, -20px));
}

.home-hero-slide {
    position: relative;
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(22px);
    transition:
        opacity .42s ease,
        transform .42s ease,
        visibility 0s linear .42s;
}

.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.home-hero-slide[hidden] {
    display: none;
}

.home-studio-hero-grid {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(420px, .72fr) minmax(540px, 1fr);
    gap: clamp(36px, 4vw, 64px);
    align-items: center;
}

.home-studio-copy {
    max-width: 560px;
}

.home-studio-copy .home-slide-title {
    margin: 0;
    color: #ffffff;
    font: 400 clamp(38px, 4.4vw, 56px) / 1.12 "Lora", "Georgia", serif;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-studio-copy p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.48;
}

.home-studio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-engineering-board {
    position: relative;
    display: block;
    width: 100%;
    max-width: 860px;
    justify-self: end;
    padding: 14px;
}

.home-engineering-board::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .13);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)),
        rgba(255, 255, 255, .028);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
}

.home-board-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #0b0b0d;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .32);
}

.home-board-main img {
    display: block;
    width: 100%;
    height: clamp(330px, 32vw, 430px);
    object-fit: cover;
}

.home-board-main figcaption {
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px 18px 18px;
    background: #ffffff;
}

.home-board-main span {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-board-main strong {
    color: #000000;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.22;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-board-mobile-action {
    display: none;
}

.home-hero-controls {
    position: absolute;
    left: 50%;
    bottom: clamp(64px, 8vw, 96px);
    z-index: 3;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.home-hero-arrow {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-color: rgb(255 255 255 / 15%);
    border-radius: 50%;
    background: rgba(20, 16, 24, .72);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(3px);
}

.home-hero-arrow:hover {
    border-color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .18);
}

.home-hero-dots {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border: 1px solid rgb(255 255 255 / 15%);
    background: rgba(20, 16, 24, .72);
    backdrop-filter: blur(3px);
}

.home-hero-dots button {
    width: 34px;
    height: 4px;
    min-height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .36);
}

.home-hero-dots button.is-active {
    background: #ffffff;
}

.home-studio-flow {
    position: relative;
    z-index: 1;
    margin-top: 0;
    background:
        var(--blueprint-light),
        linear-gradient(180deg, #ffffff 0, #fbfcfd 58%, #f5f6f8 100%);
}

.home-studio-summary {
    padding: 80px 0px 80px 0px;
    background: transparent;
}

.home-studio-summary-grid,
.home-control-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 78px);
    align-items: center;
}

.home-studio-summary p,
.home-control-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.home-studio-directions {
    position: relative;
    z-index: 1;
    padding: 0px 0px 100px 0px;
    background: transparent;
}

.home-studio-directions::after {
    content: none;
}

.home-studio-directions-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(203, 213, 225, .72);
    border: 1px solid rgba(203, 213, 225, .72);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.home-studio-directions article {
    padding: clamp(24px, 3.2vw, 38px);
    background: rgba(255, 255, 255, .92);
}

.home-studio-directions span {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font: 400 52px / 1 "Lora", "Georgia", serif;
}

.home-studio-directions h3 {
    margin: 0 0 14px;
    color: #000000;
    font-size: 28px;
    line-height: 1.18;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-studio-directions p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.home-studio-purple {
    margin-top: -1px;
    padding: 65px 0px 90px 0px;
}

.home-purple-panel.home-studio-purple {
    margin-bottom: 0;
}

.home-purple-panel.home-studio-purple::before {
    background:
        var(--blueprint-dark),
        linear-gradient(135deg, #342333 0, #241f2b 54%, #171922 100%);
    clip-path: none;
}

.home-purple-panel.home-studio-purple::after {
    content: none;
}

.home-purple-quote {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    max-width: 1200px;
}

.home-purple-quote .quote-portrait {
    width: 220px;
    height: 220px;
    border: 2px solid rgba(255, 255, 255, .56);
    border-radius: 50%;
    object-fit: cover;
}

.home-purple-quote-copy {
    max-width: 900px;
}

.home-purple-quote blockquote {
    margin: 0px 0px -15px 0px;
    color: #ffffff;
    font: 400 clamp(30px, 3vw, 41px) / 1.24 "Lora", "Georgia", serif;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-purple-quote p {
    margin: 28px 0 0;
}

.home-purple-quote strong,
.home-purple-quote span {
    display: block;
}

.home-purple-quote span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
}

.home-news-section {
    position: relative;
    z-index: 1;
    margin-top: -1px;
	padding: 80px 0px 100px 0px;
    background:
        var(--blueprint-light),
        linear-gradient(180deg, #f5f6f8 0, #ffffff 48%, #f8fafc 100%);
}

.home-news-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0;
    background: none;
    pointer-events: none;
}

main:has(.home-studio-hero) {
    padding-bottom: 0;
}

main:has(.home-studio-hero) + .footer {
    margin-top: -1px;
    padding-top: clamp(64px, 6vw, 96px);
    background: #201d2a;
}

main:has(.home-studio-hero) + .footer::before {
    background:
        var(--blueprint-dark),
        linear-gradient(135deg, var(--plum) 0, #241f2b 50%, var(--ink) 100%);
    clip-path: none;
}

main:has(.home-studio-hero) + .footer::after {
    content: none;
}

.home-news-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.home-news-head p {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
}

.home-news-title-link {
    color: inherit;
}

.home-news-title-link:hover,
.home-news-card h3 a:hover {
    color: var(--accent);
}

.home-news-card h3 a {
    color: inherit;
}

.news-grid .article-card-image {
    aspect-ratio: 9 / 16;
    background: #0b0b0d;
}

.news-grid .article-card-image img,
.news-grid .article-card-image video {
    object-fit: contain;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.home-news-card,
.home-news-empty {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(32, 29, 42, .12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78)),
        rgba(255, 255, 255, .86);
    box-shadow: 0 24px 44px rgba(15, 23, 42, .08);
}

.home-news-card::before,
.home-news-empty::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(32, 29, 42, .06);
    pointer-events: none;
}

.home-news-card > *,
.home-news-empty > * {
    position: relative;
    z-index: 1;
}

.home-news-card img,
.home-news-card video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    margin-bottom: 18px;
    object-fit: contain;
    border: 1px solid rgba(32, 29, 42, .12);
    background: #0b0b0d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.home-news-card time {
    color: var(--accent);
    font-weight: 800;
}

.home-news-card h3 {
    margin: 10px 0 10px;
    color: #000000;
    font-size: 24px;
    line-height: 1.26;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

.home-news-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}

.home-news-card a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1050px) {
    .home-studio-hero-grid,
    .home-studio-summary-grid {
        grid-template-columns: 1fr;
    }

    .home-engineering-board {
        max-width: none;
        justify-self: stretch;
    }

    .home-board-main img {
        height: auto;
        aspect-ratio: 1.32;
    }

    .home-studio-copy {
        max-width: 700px;
    }
}

@media (max-width: 760px) {
    .home-studio-hero {
        min-height: auto;
        padding-top: 124px;
        padding-bottom: 168px;
    }

    .home-hero-track {
        transform: none;
    }

    .home-studio-copy .home-slide-title {
        font-size: clamp(31px, 9vw, 38px);
        line-height: 1.14;
    }

    .home-board-main[data-mobile-slide-link] {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, .12);
    }

    .home-studio-actions {
        display: flex;
        margin-top: 24px;
    }

    .home-studio-actions .button {
        width: 100%;
    }

    .home-engineering-board {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .home-board-mobile-action {
        display: none;
    }

    .home-hero-controls {
        bottom: 54px;
        justify-content: center;
        padding-left: 0;
        transform: translateX(-50%);
    }

    .home-studio-directions-grid,
    .home-purple-quote,
    .home-news-head,
    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-studio-directions {
        padding: 8px 0 48px;
    }

    .home-studio-directions article {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
        padding: 20px;
    }

    .home-studio-directions span {
        grid-row: 1 / span 2;
        margin: 2px 0 0;
        font-size: 34px;
    }

    .home-studio-directions h3 {
        margin-bottom: 6px;
        font-size: 23px;
    }

    .home-studio-directions p {
        font-size: 16px;
        line-height: 1.45;
    }

    .home-purple-quote {
        gap: 18px;
        text-align: center;
    }

    .home-purple-quote .quote-portrait {
        width: 136px;
        height: 136px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .home-studio-copy p,
    .home-studio-summary p,
    .home-news-head p {
        font-size: 17px;
    }

    .cookie-banner {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
    }

    .cookie-banner__inner {
        display: grid;
        gap: 14px;
        padding: 15px;
    }

    .cookie-banner p {
        max-width: none;
        font-size: 14px;
    }

    .cookie-banner__accept {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .home-studio-directions {
        padding-top: 0;
        padding-bottom: 34px;
    }

    .home-studio-purple {
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .home-news-section {
        padding-top: 18px;
        padding-bottom: 28px;
    }
}

@media (max-width: 949px) {
    .about-intro-grid, .about-story-grid, .about-safety-grid, .about-cta { grid-template-columns: 1fr; }
    .about-facts, .about-process-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .about-hero h1 { font-size: 42px; }
    .about-world-first, .about-story-section, .about-safety-section, .about-cta-section { padding-top: 52px; padding-bottom: 52px; }
    .about-intro-grid { gap: 24px; }
    .about-intro-grid > img { max-height: 280px; }
    .about-facts { grid-template-columns: 1fr 1fr; margin-top: 34px; }
    .about-facts div { padding: 22px 14px 8px 0; }
    .about-process-grid { grid-template-columns: 1fr; }
    .about-process-grid article { border-bottom: 1px solid rgba(255,255,255,.14); }
    .about-safety-grid ul { grid-template-columns: 1fr; }
    .about-certificate { max-width: 280px; margin: auto; }

    .contact-checklist {
        grid-template-columns: 1fr;
    }
}

/* Keep the blueprint layer aligned across adjoining page sections. */
body,
.hero::before,
.site-hero::before,
.home-studio-hero::before,
.home-purple-panel::before,
.home-purple-panel.home-studio-purple::before,
.about-world-section,
.about-intro-section,
.about-process-section,
.about-story-section,
.about-light-flow,
.cm-reviews-band::before,
.article-journal-hero,
.article-detail-hero,
.article-index-section,
.article-reading-section,
.article-related-section,
.article-consultation-section,
.terms-hero,
.terms-process-section,
.custom-price-section,
.custom-portfolio-cta,
.home-studio-flow,
.home-news-section,
.footer::before,
main:has(.home-studio-hero) + .footer::before {
    background-attachment:
        scroll,
        scroll,
        scroll,
        scroll,
        scroll,
        scroll;
    background-position:
        center var(--blueprint-page-y, 0px),
        0 0,
        0 0,
        0 0,
        0 0,
        0 0;
    background-size:
        1680px 1040px,
        auto,
        auto,
        auto,
        auto,
        auto;
}

.maintenance-hero {
    padding-bottom: 96px;
}
