/* ================================================================
   STUDIO G — About Page
   PSD: 1920 × 1080 px

   Content calculated to fit within 67.222vh (~726px at 1080p).
   No scrolling needed. Everything fits continuously:
   Who → How → Why → Clients marquee → contact (no separator, no gap).
   ================================================================ */

/* ── Photo ────────────────────────────────────────── */
.about-photo {
    position: fixed;
    left:   11.875%;
    top:    16.389%;
    width:  24.792%;
    height: 67.222vh;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    animation: fadeIn 1s ease both;
}

/* ── Text column ──────────────────────────────────── */
.about-text-wrap {
    position: fixed;
    left:     38.229%;
    top:      16.389%;
    width:    49.844%;
    height:   67.222vh;
    display:  flex;
    flex-direction: column;
    gap:      clamp(10px, 1.5vh, 18px);
    /* Scroll when content is taller than the column.
       Horizontal overflow is hidden (prevents marquee leak). */
    overflow: hidden;
    /* overflow: hidden — content calculated to fit at 67.222vh */
    z-index: 0;
    animation: fadeIn 1s ease 0.2s both;
}

/* ── Text blocks ──────────────────────────────────── */
.about-block { flex-shrink: 0; }

.block-label {
    display: block;
    font-family: 'Myriad Pro', 'Jost', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 0.885vw, 17px);
    letter-spacing: 0.2em;
    color: #ffffff;
    margin-bottom: 0.5em;
}

.about-block p {
    font-family: 'Myriad Pro', 'Jost', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200;
    font-size: clamp(13px, 0.781vw, 15px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Spacing between consecutive paragraphs within one block */
.about-block p + p {
    margin-top: 0.65em;
}

/* ── Clients section ──────────────────────────────── */
.clients-section {
    flex-grow:   1;      /* absorb all leftover column height */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.clients-marquee {
    flex-grow:   1;      /* fill height left after "Clients" label */
    display:     flex;
    align-items: center; /* vertically centre logo track in available space */
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right, transparent 0%, #000 6%, #000 94%, transparent 100%
    );
    mask-image: linear-gradient(
        to right, transparent 0%, #000 6%, #000 94%, transparent 100%
    );
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(36px, 4vw, 64px);
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-logo {
    height: clamp(48px, 7.0vh, 80px);
    width: auto;
    flex-shrink: 0;
    mix-blend-mode: screen;
    opacity: 0.68;
    transition: opacity 0.2s ease;
}
.marquee-logo:hover { opacity: 1; }

/* ── Contact footer ───────────────────────────────────
   No margin-top:auto — flows directly after the marquee
   with the standard column gap. No separator line.
   Items stacked vertically, left-aligned.              */
.about-footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(6px, 0.8vh, 11px);
    /* Bottom padding so the last item (social icons) has
       breathing room before the column clips */
    padding-bottom: clamp(10px, 1.5vh, 20px);
}

.about-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}
.about-contact-details a {
    font-family: 'Myriad Pro', 'Jost', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200;
    font-size: clamp(11px, 0.781vw, 15px);
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.22s ease;
}
.about-contact-details a:hover { color: #ffffff; }

.booking-btn {
    background:  transparent;
    border:      none;
    padding:     0;
    outline:     none;
    cursor:      pointer;
    font-family: 'Myriad Pro', 'Jost', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200;
    font-size:   clamp(10px, 1.042vw, 20px);
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.6em;
    transition: color 0.22s ease-out, transform 0.22s ease-out;
}
.booking-arrow {
    width:  clamp(12px, 1.1vw, 20px);
    height: auto;
    flex-shrink: 0;
    transition: transform 0.22s ease-out;
}
.booking-btn:hover                { color: #ffffff; transform: scale(1.05); }
.booking-btn:hover .booking-arrow { transform: translateX(4px); }
.booking-btn:active               { transform: scale(0.98); }

.social-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.4vw, 24px);
}
.social-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.22s ease-out, transform 0.22s ease-out;
}
.social-link svg {
    width:  clamp(20px, 1.6vw, 28px);
    height: clamp(20px, 1.6vw, 28px);
    display: block;
}
.social-link:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* ── Animations ───────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    html, body {
        height: auto !important;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior-y: auto;
    }

    /* Inset all content into the safe zone (matches the menu frame) */
    body { padding: 8vh 10vw 8vh; }

    .about-photo, .about-text-wrap {
        position: static;
        left: auto; top: auto;
        width: auto; height: auto;
    }
    .about-photo {
        display: block;
        width: 100%; max-width: none;
        height: auto; margin: 0 0 1.4rem;
        object-position: center;
    }
    .about-text-wrap {
        gap: 1.4rem;
        overflow: visible;
    }
    .clients-marquee {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    }
    .marquee-logo    { height: clamp(40px, 6vh, 64px); }
    .block-label     { font-size: clamp(14px, 3.5vw, 20px); }
    .about-block p   { font-size: clamp(13px, 3.4vw, 16px); }
    .about-contact-details a { font-size: clamp(13px, 3.4vw, 16px); }
    .booking-btn     { font-size: clamp(13px, 3.6vw, 18px); }
    .social-link svg { width: 24px; height: 24px; }

    /* Opaque frame bars: content tucks behind the menu at top/bottom */
    body::before, body::after {
        content: "";
        position: fixed;
        left: 0; right: 0;
        background: var(--bg);
        z-index: 5;
        pointer-events: none;
    }
    body::before { top: 0;    height: 7vh; }
    body::after  { bottom: 0; height: 7.5vh; }
}
