/* Modern homepage (resources/views/website/index.blade.php).
   Builds on our-work.css, service.css and blog.css; everything here is scoped under .hm-page. */

/* ---------- Hero: full-bleed showreel ---------- */
.hm-hero {
    position: relative;
    min-height: min(100vh, 900px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--ow-nav-h) + 60px) 0 72px;
    overflow: hidden;
    background: #000 var(--hm-still, none) center / cover no-repeat;
}
.hm-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0;
    transition: opacity .8s ease;
}
.hm-hero-video.is-playing { opacity: 1; }
.hm-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .15) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 45%);
}
.hm-hero-inner { position: relative; z-index: 1; }
/* Mouse users see just the showreel; the copy fades in while the mouse moves over the hero
   (.is-active, toggled in index.blade.php) and fades out after a few idle seconds.
   Keyboard focus also shows it. Touch devices can't hover, so they always get the text. */
@media (hover: hover) and (pointer: fine) {
    .hm-hero-shade,
    .hm-hero-inner {
        opacity: 0;
        transition: opacity .5s ease, transform .5s ease;
    }
    .hm-hero-inner { transform: translateY(16px); }
    .hm-hero.is-active .hm-hero-shade,
    .hm-hero.is-active .hm-hero-inner,
    .hm-hero:has(:focus-visible) .hm-hero-shade,
    .hm-hero:has(:focus-visible) .hm-hero-inner {
        opacity: 1;
        transform: none;
    }
}
.hm-title {
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.01em;
    margin: 0 0 20px;
    max-width: 900px;
}
.hm-lead {
    max-width: 560px;
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 30px;
}
.hm-quick {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 680px;
}
.hm-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}
.hm-quick-link:hover { color: #fff; border-color: var(--ow-pink); background: rgba(246, 0, 108, .12); }
.hm-quick-link > i:first-child {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ow-grad);
    color: #fff;
}
.hm-quick-link span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.hm-quick-link strong { color: #fff; }
.hm-quick-link small { color: var(--ow-muted); font-size: .82rem; }
.hm-quick-link > i:last-child { color: var(--ow-pink); transition: transform .25s ease; }
.hm-quick-link:hover > i:last-child { transform: translateX(4px); }
.hm-scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 1;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    animation: hmBob 2s ease-in-out infinite;
}
.hm-scroll:hover { color: #fff; border-color: var(--ow-pink); }
@keyframes hmBob { 50% { transform: translateY(6px); } }

/* ---------- Stats & logos ---------- */
.hm-trust { padding: 56px 0 64px; border-bottom: 1px solid var(--ow-line); }
.hm-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 992px) { .hm-stats { grid-template-columns: repeat(4, 1fr); } }
.hm-stats li {
    padding: 24px 20px;
    border-radius: var(--ow-radius);
    border: 1px solid var(--ow-line);
    background: var(--ow-card);
    text-align: center;
}
.hm-stats strong {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    background: var(--ow-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hm-stats strong .counter { -webkit-text-fill-color: transparent; }
.hm-stats li > span { color: var(--ow-muted); font-size: .92rem; }
.hm-trust-label {
    text-align: center;
    color: var(--ow-muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hm-marquee {
    overflow: hidden;
    margin-bottom: 28px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hm-marquee-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    animation: hmMarquee 70s linear infinite;
}
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 150px;
    height: 76px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #fff;
    opacity: .88;
    transition: opacity .3s ease, transform .3s ease;
}
.hm-logo:hover { opacity: 1; transform: translateY(-2px); }
.hm-logo img { display: block; max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
@keyframes hmMarquee { to { transform: translateX(-50%); } }

/* ---------- Work ---------- */
.hm-more-work { margin-top: 28px; }
.hm-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.hm-formats .ow-chip { text-decoration: none; }
.hm-reels { margin-top: 0; }

/* ---------- Services ---------- */
.hm-services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .hm-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hm-services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .hm-services { grid-template-columns: repeat(4, 1fr); } }
.hm-services > * { min-width: 0; }
.hm-service {
    display: flex;
    flex-direction: column;
    border-radius: var(--ow-radius);
    border: 1px solid var(--ow-line);
    background: var(--ow-card);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hm-service:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(246, 0, 108, .45);
    box-shadow: 0 18px 40px -18px rgba(246, 0, 108, .45);
}
.hm-service-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(246, 0, 108, .25), rgba(20, 20, 20, 1) 70%);
}
.hm-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hm-service:hover .hm-service-media img { transform: scale(1.05); }
.hm-service-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 20px; }
.hm-service-body strong { color: #fff; font-size: 1.05rem; line-height: 1.35; }
.hm-service-body small {
    color: var(--ow-muted);
    font-size: .86rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-service-cta { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9rem; color: #fff; }
.hm-service-cta i { color: var(--ow-pink); margin-left: 6px; transition: transform .25s ease; }
.hm-service:hover .hm-service-cta i { transform: translateX(4px); }

/* ---------- Statement ---------- */
.hm-statement { margin: 0 auto 56px; max-width: 980px; text-align: center; }
.hm-statement blockquote {
    margin: 0;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

/* ---------- Behind the scenes ---------- */
.hm-bts { display: grid; gap: 20px; grid-template-columns: 1fr; }

@media (min-width: 768px) { .hm-bts { grid-template-columns: repeat(3, 1fr); } }
.hm-bts-video {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--ow-radius);
    border: 1px solid var(--ow-line);
    background: #0b0b0b;
}
@media (max-width: 1300px) {.hm-hero-video {    object-fit: cover;}}
@media (max-width: 767.98px) {
    .hm-bts {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }
    .hm-bts-video { scroll-snap-align: start; }
}

@media (max-width: 767.98px) {
    .hm-hero { min-height: 92vh; padding-bottom: 64px; }
    .hm-lead { font-size: 1rem; }
    .hm-logo { width: 120px; height: 62px; padding: 10px 14px; }
    .hm-logo img { max-height: 42px; }
    .hm-marquee-track { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .hm-scroll { animation: none; }
}



.home-extratxt{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 39px;
}

.home-quote{
    font-size: 27px;
    font-weight: 200;
    padding: 15px;
    line-height: 35px;
    display: block;
}