/* Selected homepage hero. Original homepage styles remain in screen.css. */
.home-enquiry-text { max-width: 660px; margin: 30px auto; font-size: 18px; line-height: 1.8; }
#services { scroll-margin-top: calc(var(--site-header-height) + 24px); }
.studio-hero.wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 64px;
    width: calc(100% - 96px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 70px 0 64px;
    color: #182237;
    font-size: 17px;
    line-height: 1.75;
}
.studio-hero .studio-hero-copy { min-width: 0; padding: 12px 0; }
.studio-hero .eyebrow { margin: 0 0 22px; color: #c92b40; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
.studio-hero h1 { margin: 0 0 30px; font-family: 'Manrope','Noto Sans',Arial,sans-serif; font-size: clamp(56px,5.6vw,84.8px); font-weight: 800; line-height: 1.07; letter-spacing: -.045em; overflow-wrap: break-word; }
.studio-hero .hero-title-line { display: block; width: max-content; white-space: nowrap; }
.studio-hero .hero-title-accent { color: #c92b40; }
.studio-hero .studio-lead { max-width: 48ch; margin: 0 0 32px; color: #526077; font-size: 18px; line-height: 1.85; }
.studio-hero .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.studio-hero .global-button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; margin: 0; padding: 16px 24px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: 0; text-align: center; color: #fff; background: #c92b40; transition: background .2s; }
.studio-hero .global-button:hover { color: #fff; background: #ab2135; }
.studio-hero .global-button span { font-size: 20px; }
.studio-hero .text-link { display: inline-flex; align-items: center; gap: 14px; color: #182237; font-size: 15px; font-weight: 600; line-height: 1.5; }
.studio-hero .text-link span { font-size: 20px; }
.studio-hero .text-link:hover { color: #c92b40; }
.studio-hero .hero-note { margin: 22px 0 0; color: #647086; font-size: 14px; }
.studio-hero .studio-hero-visual { position: relative; min-width: 0; padding: 0 0 46px 28px; }
.studio-hero .hero-team-image { box-sizing: border-box; display: block; width: 100%; height: auto; min-height: 440px; aspect-ratio: 1.06; object-fit: cover; object-position: 51% center; border-radius: 30px; }
.studio-hero .hero-image-caption { position: absolute; top: 22px; right: 22px; display: flex; flex-direction: column; padding: 12px 17px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: #fff; background: rgba(19,30,49,.88); font-size: 14px; font-weight: 500; line-height: 1.6; }
.studio-hero .hero-feature { box-sizing: border-box; position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 13px; width: 77%; padding: 27px; border: 8px solid #fff; border-radius: 26px; color: #fff; background: linear-gradient(45deg, var(--gradient-red-start), var(--gradient-red-end)); }
.studio-hero .hero-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.studio-hero .hero-feature-top span { font-size: 24px; }
.studio-hero .hero-feature strong { display: block; font-family: 'Manrope','Noto Sans',Arial,sans-serif; font-size: 30.4px; line-height: 1.17; letter-spacing: -.04em; }
.studio-hero .hero-feature > span:last-child { font-size: 14px; line-height: 1.5; }
.studio-hero .hero-feature:hover { color: #fff; }
.studio-hero a:focus-visible { outline: 3px solid #182237; outline-offset: 5px; }

@media (max-width: 1199px) {
    .studio-hero.wrap { width: calc(100% - 64px); gap: 38px; }
    .studio-hero .button-row { flex-direction: column; align-items: flex-start; }
    .studio-hero .hero-team-image { min-height: 420px; }
    .studio-hero .hero-feature { width: 87%; padding: 24px; }
    .studio-hero .hero-feature strong { font-size: 27.2px; }
}
@media (max-width: 1023px) {
    .studio-hero.wrap { grid-template-columns: 1fr 1fr; gap: 30px; padding: 48px 0; }
    .studio-hero h1 { font-size: clamp(48px,6.3vw,64px); }
    .studio-hero .studio-lead { font-size: 17px; line-height: 1.8; }
    .studio-hero .hero-team-image { min-height: 440px; }
    .studio-hero .hero-feature { width: calc(100% - 6px); padding: 22px; }
    .studio-hero .hero-feature strong { font-size: 25.6px; }
    .studio-hero .hero-feature > span:last-child { display: none; }
    .studio-hero .hero-image-caption { top: 16px; right: 16px; }
}
@media (max-width: 767px) {
    .studio-hero.wrap { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); gap: 36px; padding: 40px 0; }
    .studio-hero .studio-hero-copy { padding: 0; }
    .studio-hero h1 { font-size: clamp(48px,9.7vw,76.8px); line-height: 1.08; }
    .studio-hero .button-row { flex-direction: row; align-items: center; }
    .studio-hero .studio-hero-visual { box-sizing: border-box; width: 100%; max-width: 580px; padding: 0 0 40px 20px; }
    .studio-hero .hero-team-image { min-height: 350px; max-height: 480px; aspect-ratio: 1.2; }
    .studio-hero .hero-feature { max-width: 360px; width: 82%; }
    .studio-hero .hero-feature strong { font-size: 28.8px; }
}
@media (max-width: 539px) {
    .studio-hero .eyebrow { margin-bottom: 18px; }
    .studio-hero h1 { font-size: clamp(44px,11vw,60px); margin-bottom: 24px; }
    .studio-hero .button-row { flex-direction: column; align-items: flex-start; gap: 22px; }
    .studio-hero .global-button { width: 100%; }
    .studio-hero .hero-note { max-width: 30ch; }
    .studio-hero .hero-team-image { min-height: 340px; border-radius: 24px; }
    .studio-hero .hero-feature { width: 94%; padding: 22px; }
    .studio-hero .hero-feature strong { font-size: 27.2px; }
}
@media (prefers-reduced-motion: reduce) {
    .studio-hero .global-button { transition: none; }
}

/* Desktop hero keeps its natural maximum size and shares the cards' width. */
/* Keep reload initialization and fitting measurements from moving the scroll anchor. */
html.is-reloading-home,
html.is-fitting-home-hero { overflow-anchor: none; scroll-behavior: auto; }
.home-first-screen { display: contents; }
@media (min-width: 1024px) {
    .home-first-screen {
        --hero-content-width: min(1200px,calc(100vw - 170px));
        --hero-max-unit: max(.35px,calc(var(--hero-content-width) / 1320));
    }
    .home-first-screen > .section-header { position: relative; z-index: 5; width: inherit; }
    .home-first-screen > .section-header.wrap { width: calc(100% - 170px); }
    .home-first-screen .studio-hero.wrap {
        --hero-unit: min(var(--hero-max-unit),max(.35px,var(--hero-fit-unit,var(--hero-max-unit))));
        box-sizing: border-box;
        width: calc(100% - 170px);
        max-width: 1200px;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0 auto;
        padding: calc(70 * var(--hero-unit)) 0 calc(64 * var(--hero-unit));
        gap: max(24px,calc(64 * var(--hero-unit)));
        font-size: max(16px,calc(17 * var(--hero-unit)));
    }
    .home-first-screen .studio-hero-copy { padding: calc(12 * var(--hero-unit)) 0; }
    .home-first-screen .eyebrow { margin-bottom: calc(22 * var(--hero-unit)); font-size: max(14px,calc(14 * var(--hero-unit))); }
    .home-first-screen .studio-hero h1 { margin-bottom: calc(30 * var(--hero-unit)); font-size: max(36px,calc(84.8 * var(--hero-unit))); }
    .home-first-screen .studio-lead { margin-bottom: calc(32 * var(--hero-unit)); font-size: max(16px,calc(18 * var(--hero-unit))); }
    .home-first-screen .button-row { flex-direction: row; align-items: center; gap: max(12px,calc(22 * var(--hero-unit))); }
    .home-first-screen .global-button {
        min-height: max(44px,calc(54 * var(--hero-unit)));
        padding: max(10px,calc(16 * var(--hero-unit))) max(12px,calc(24 * var(--hero-unit)));
        gap: max(8px,calc(20 * var(--hero-unit)));
        border-radius: max(8px,calc(12 * var(--hero-unit)));
        font-size: max(14px,calc(15 * var(--hero-unit)));
    }
    .home-first-screen .global-button span,
    .home-first-screen .text-link span { font-size: max(16px,calc(20 * var(--hero-unit))); }
    .home-first-screen .text-link { gap: max(8px,calc(14 * var(--hero-unit))); font-size: max(14px,calc(15 * var(--hero-unit))); }
    .home-first-screen .hero-note { margin-top: calc(22 * var(--hero-unit)); font-size: max(12px,calc(14 * var(--hero-unit))); }
    .home-first-screen .studio-hero-visual {
        box-sizing: border-box;
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 0 0 calc(46 * var(--hero-unit)) calc(28 * var(--hero-unit));
    }
    .home-first-screen .hero-team-image { height: auto; min-height: 0; max-height: none; aspect-ratio: 1.06; border-radius: max(16px,calc(30 * var(--hero-unit))); }
    .home-first-screen .hero-image-caption {
        top: max(12px,calc(22 * var(--hero-unit)));
        right: max(12px,calc(22 * var(--hero-unit)));
        padding: max(8px,calc(12 * var(--hero-unit))) max(10px,calc(17 * var(--hero-unit)));
        border-radius: max(8px,calc(10 * var(--hero-unit)));
        font-size: max(12px,calc(14 * var(--hero-unit)));
    }
    .home-first-screen .hero-feature {
        width: 77%;
        max-width: none;
        padding: max(16px,calc(27 * var(--hero-unit)));
        gap: max(8px,calc(13 * var(--hero-unit)));
        border-width: max(4px,calc(8 * var(--hero-unit)));
        border-radius: max(16px,calc(26 * var(--hero-unit)));
    }
    .home-first-screen .hero-feature-top { gap: max(8px,calc(12 * var(--hero-unit))); font-size: max(12px,calc(14 * var(--hero-unit))); }
    .home-first-screen .hero-feature-top span { font-size: max(16px,calc(24 * var(--hero-unit))); }
    .home-first-screen .hero-feature strong { font-size: max(20px,calc(30.4 * var(--hero-unit))); }
    .home-first-screen .hero-feature > span:last-child { font-size: max(12px,calc(14 * var(--hero-unit))); }

    /* Enable only when the natural banner does not fit below the fixed header. */
    .home-first-screen .studio-hero.is-compact {
        grid-template-columns: 1.2fr 1fr;
        padding: max(12px,calc(18 * var(--hero-unit))) 0;
    }
    .home-first-screen .is-compact .studio-hero-copy { padding: 0; }
    .home-first-screen .is-compact .eyebrow,
    .home-first-screen .studio-hero.is-compact h1 { margin-bottom: max(8px,calc(12 * var(--hero-unit))); }
    .home-first-screen .is-compact .studio-lead { max-width: none; margin-bottom: max(8px,calc(12 * var(--hero-unit))); line-height: 1.5; }
    .home-first-screen .is-compact .button-row { gap: 12px; }
    .home-first-screen .is-compact .global-button { padding: 10px 12px; gap: 8px; }
    .home-first-screen .is-compact .text-link { gap: 8px; }
    .home-first-screen .is-compact .hero-note { margin-top: max(8px,calc(12 * var(--hero-unit))); line-height: 1.5; }
    .home-first-screen .is-compact .hero-team-image { max-height: calc(554 * var(--hero-unit)); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .home-first-screen .studio-hero { animation: slideTop .7s cubic-bezier(.25,.46,.45,.94) both; }
}
