/* ==========================================================================
   A CLUB BY ANTHONY LLOBET — HOMEPAGE
   Additive stylesheet. Load AFTER the theme's style.css.
   Enqueue in functions.php with style.css as a dependency.

   Uses the existing theme tokens only:
   --off-white #F0EDE8 | --black #1E1E1E | --asfalt-grey #7D9291
   --care-green #A69D59 | --academy-brown #A9583E
   --kids-yellow #D6AA6B | --skin-yellow #E5C6BD
   Type: 'Acta Light' (display) / 'Simplon Norm' (body + UI) / 'Simplon Mono'
   Container: 1440px. Breakpoints follow the theme: 1500 / 1439 / 1299 /
   1239 / 1100 / 1023 / 991 / 767 / 600 / 424 / 374
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SHARED HELPERS
   -------------------------------------------------------------------------- */

/* Body copy default for new sections */
.ac-copy p {
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 18px;
    line-height: 155%;
    color: var(--black);
    max-width: 62ch;
}
.ac-copy p:not(:last-child) {
    margin-bottom: 20px;
}

/* Filled CTA — used sparingly: hero primary, final CTA, sticky bar.
   Matches .main-image border-radius of 8px. */
.btn-fill {
    display: inline-block;
    background-color: var(--black);
    color: var(--off-white);
    font-family: 'Simplon Norm';
    font-weight: 500;
    font-size: 18px;
    line-height: 90%;
    text-transform: uppercase;
    text-decoration: none;
    padding: 19px 32px 17px;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-fill:hover,
.btn-fill:focus-visible {
    background-color: var(--care-green);
    color: var(--off-white);
    cursor: pointer;
}

/* Underlined text CTA — the quieter secondary action */
.btn-primary.btn-rule {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
	text-decoration: none;
}
.btn-primary.btn-rule:hover {
	color: var(--off-white);
	border-bottom-color: var(--off-white);
}
.pricing-section .btn-primary.btn-rule:hover {
	color: var(--academy-brown);
	border-bottom-color: var(--academy-brown);
}

/* Visible keyboard focus everywhere */
.aclub-home a:focus-visible,
.aclub-home button:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
}

/* Hairline used to divide list rows and section heads */
.ac-rule {
    border: 0;
    border-top: 1px solid rgba(30, 30, 30, 0.18);
    margin: 0;
}

/* --------------------------------------------------------------------------
   IMAGE PLACEHOLDERS
   Temporary. Delete this block once real images are in place.
   -------------------------------------------------------------------------- */
.img-ph {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--ph-ratio, 3 / 4);
    border-radius: 8px;
    overflow: hidden;
}
.img-ph span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    font-family: 'Simplon Mono', monospace;
    font-size: 13px;
    line-height: 170%;
    color: var(--black);
    opacity: 0.75;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   1. HEADER — overlay menu resized for 9 sections
   Overrides the theme's 80px. Every label now fits on one line in the
   2-column grid, so desktop and mobile carry identical sections.
   -------------------------------------------------------------------------- */
.main-menu .primary-menu li a {
    font-size: 52px;
    line-height: 110%;
}
.main-menu .primary-menu {
    row-gap: 14px;
    column-gap: 80px;
}

/* --------------------------------------------------------------------------
   2. HERO — rebuilt title lockup, lead copy, dual CTA, trust strip
   -------------------------------------------------------------------------- */

/* --- Title lockup: "A Club" full width, "by Anthony / Llobet" split ---
   "A Club" is a short word, so unlike the old "International" it will not
   force a wrap on its own. Flex-basis does it explicitly. */
.hero-title h1 {
    justify-content: center;
    align-items: baseline;
}
.hero-title h1 .full-width {
    flex: 0 0 100%;
    width: 100%;
    font-size: 268px;
    letter-spacing: -0.01em;
}
.hero-title h1 .acta-font {
    flex: 0 0 50%;
    font-size: 96px;
    line-height: 110%;
}

/* Claim sits directly under the lockup, inside the image */
.hero-claim {
    margin: 18px 0 0;
    font-family: 'Simplon Norm';
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: var(--off-white);
    text-align: center;
    text-transform: none;
}

/* --- Lead block under the hero image --- */
.hero-lead {
    padding: 72px 0 0;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    justify-content: space-between;
}
.hero-transition {
    flex: 0 0 38%;
    margin: 0;
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 64px;
    line-height: 100%;
    color: var(--black);
}
.hero-lead-copy {
    flex: 1 1 auto;
    max-width: 640px;
}
.hero-lead-copy p {
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 18px;
    line-height: 155%;
    color: var(--black);
	margin: 0;
}
.hero-lead-copy p:not(:last-of-type) {
    margin-bottom: 20px;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* --- Trust ticker (merged into the hero base) ---
   Slow, pauses on hover, and collapses to a static wrapped row when the
   visitor has asked for reduced motion. */
.trust-marquee {
    margin-top: 72px;
    padding: 20px 0;
    border-top: 1px solid rgba(30, 30, 30, 0.25);
    border-bottom: 1px solid rgba(30, 30, 30, 0.25);
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}
.trust-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    animation: trust-scroll 46s linear infinite;
}
.trust-marquee:hover .trust-track,
.trust-marquee:focus-within .trust-track {
    animation-play-state: paused;
}
.trust-track li {
    margin: 0;
    padding: 0 26px;
    white-space: nowrap;
    font-family: 'Simplon Norm';
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.06em;
    line-height: 130%;
    text-transform: uppercase;
    color: var(--black);
}
.trust-track li.sep {
    padding: 0;
    font-weight: 300;
    opacity: 0.45;
}
@keyframes trust-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   3. SIGNATURE SERVICES — 4-card grid added under the existing intro
   -------------------------------------------------------------------------- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
}
.service-card {
    display: flex;
    flex-direction: column;
}
.service-card-image {
    margin-bottom: 24px;
}
.service-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
	object-fit: cover;
	--ph-ratio: 3 / 4;
}
.service-card h3 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 32px;
    line-height: 110%;
    color: var(--black);
    margin: 0 0 14px;
}
.service-card p {
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    color: var(--black);
    margin: 0 0 20px;
    flex: 1 1 auto;
}
.service-card .btn-primary {
    align-self: flex-start;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   4. WHY A CLUB — prose left, credentials list right
   -------------------------------------------------------------------------- */
.why-section {
    padding: 120px 0 140px;
}
.why-grid {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}
.why-intro {
    flex: 0 0 46%;
}
.why-intro h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 180px;
    line-height: 90%;
    color: var(--black);
    margin: 0 0 40px;
}
.why-list {
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(30, 30, 30, 0.18);
}
.why-list li {
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(30, 30, 30, 0.18);
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--black);
}

/* --------------------------------------------------------------------------
   5. ENGLISH-SPEAKING DNA — the page's one colour accent
   -------------------------------------------------------------------------- */
.english-section {
    background-color: var(--skin-yellow);
    padding: 120px 0 130px;
}
.english-section h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 72px;
    line-height: 100%;
    color: var(--black);
    margin: 0 0 48px;
    max-width: 20ch;
}
.english-grid {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}
.english-copy {
    flex: 1 1 55%;
}
.english-phrases {
    flex: 1 1 45%;
    margin: 0;
    padding: 32px 0 0;
    border-top: 1px solid rgba(30, 30, 30, 0.3);
}
.english-phrases p {
    font-family: 'Acta Light';
    font-weight: 400;
    font-size: 28px;
    line-height: 140%;
    color: var(--black);
    margin: 0 0 20px;
    max-width: none;
}
.english-phrases .english-phrases-note {
    font-family: 'Simplon Norm';
    font-size: 18px;
    line-height: 155%;
    margin: 0;
}
.english-section .btn-primary {
    margin-top: 32px;
}
.english-section .btn-primary.btn-rule:hover {
    color: var(--academy-brown);
    border-bottom-color: var(--academy-brown);
}
.about-content h2 {
    line-height: normal;
    margin-bottom: 30px;
    font-size: 3.5rem;
	font-weight: 300;
}

/* --------------------------------------------------------------------------
   6. POOL HOUSE / SOHO HOUSE — repurposed Academy layout
   -------------------------------------------------------------------------- */
.soho-section {
    padding: 120px 0 100px;
}
.soho-info {
    position: relative;
}
.soho-image img,
.soho-image .img-ph {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
	--ph-ratio: 16 / 9;
	object-fit: cover;
}
.soho-content {
    position: absolute;
    left: 0;
    bottom: -60px;
    z-index: 2;
    width: 46%;
    background-color: var(--off-white);
    padding: 48px 48px 44px;
    border-radius: 8px;
}
.soho-content h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 56px;
    line-height: 100%;
    color: var(--black);
    margin: 0 0 24px;
}
.soho-other-content {
    margin-top: 120px;
    display: flex;
    justify-content: flex-end;
}
.soho-content .ac-copy {
    margin-bottom: 20px;
}
.soho-other-content .ac-copy {
    max-width: 640px;
}
.soho-kicker {
    font-family: 'Acta Light';
    font-weight: 400;
    font-size: 32px;
    line-height: 130%;
    margin: 0 0 24px;
    max-width: none;
}
.soho-content .btn-primary.btn-rule:hover, .antoine-content .btn-primary.btn-rule:hover, .rhythm-content .btn-primary.btn-rule:hover {
    color: var(--asfalt-grey);
    border-bottom-color: var(--asfalt-grey);
}


/* --------------------------------------------------------------------------
   7. PROFESSIONAL COLOUR + PARTNER LOGOS
   -------------------------------------------------------------------------- */
.colour-section {
    padding: 130px 0 60px;
}
.colour-grid {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}
.colour-grid h2 {
    flex: 0 0 44%;
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 96px;
    line-height: 95%;
    color: var(--black);
    margin: 0;
}
.colour-copy {
    flex: 1 1 auto;
}
.partner-slider {
    margin-top: 80px;
}
.partner-slider .partner-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 96px;
    margin: 0 12px;
    padding: 0 16px;
}
/* Bounding boxes so the logo areas are legible before real logos land.
   Remove .is-placeholder from the markup once they are in. */
.partner-slider.is-placeholder .partner-center {
    border: 1px dashed rgba(30, 30, 30, 0.25);
    border-radius: 8px;
}
.partner-slider .partner-center img {
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
}
/* Placeholder token for a partner logo, remove once real logos land */
/*.partner-ph {
    font-family: 'Simplon Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--black);
    opacity: 0.6;
    border: 1px dashed rgba(30, 30, 30, 0.35);
    border-radius: 8px;
    padding: 14px 20px;
    white-space: nowrap;
}*/

/* --------------------------------------------------------------------------
   8. CREATIVE DIRECTION — Antoine. Deliberately quiet.
   -------------------------------------------------------------------------- */
.antoine-section {
    padding: 100px 0 120px;
}
.antoine-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
.antoine-image {
    flex: 0 0 33%;
}
.antoine-image img, .antoine-image .img-ph {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
	--ph-ratio: 3/4;
	object-fit: cover;
}
.antoine-content {
    flex: 1 1 auto;
    padding-top: 8px;
}
.antoine-content h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 56px;
    line-height: 105%;
    color: var(--black);
    margin: 0 0 12px;
    max-width: 18ch;
}
.antoine-role {
    font-family: 'Simplon Norm';
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--black);
    margin: 0 0 32px;
}
.antoine-content .btn-primary {
    margin-top: 12px;
}

/* --------------------------------------------------------------------------
   9. BARCELONA CREATIVE SCENE — merged above the existing press slider
   -------------------------------------------------------------------------- */
.creative-head {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    padding-bottom: 60px;
}
.creative-head h2 {
    flex: 0 0 44%;
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 96px;
    line-height: 95%;
    color: var(--black);
    margin: 0;
}
.creative-copy {
    flex: 1 1 auto;
}
.logo-section.has-creative-head {
    padding-top: 110px;
}

/* --------------------------------------------------------------------------
   10. INSTAGRAM — CTA added under the existing feed
   -------------------------------------------------------------------------- */
.insta-intro {
    max-width: 62ch;
    margin: 0 0 40px;
}
.insta-intro p {
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 18px;
    line-height: 155%;
    color: var(--black);
    margin: 0 0 16px;
}
.insta-cta {
    margin-top: 40px;
}

/* --------------------------------------------------------------------------
   11. FINAL CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
    padding: 140px 0 160px;
    text-align: center;
}
.final-cta-section h2 {
    font-family: 'Acta Light';
    font-weight: 300;
    font-size: 140px;
    line-height: 92%;
    color: var(--black);
    margin: 0 auto 28px;
    max-width: 14ch;
}
.final-cta-section p {
    font-family: 'Simplon Norm';
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: var(--black);
    margin: 0 auto 44px;
    max-width: 48ch;
}

/* --------------------------------------------------------------------------
   12. STICKY MOBILE BAR — global, mobile only
   -------------------------------------------------------------------------- */
.sticky-bar {
    display: none;
}
.sticky-bar-item {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    color: var(--off-white);
    text-decoration: none;
    font-family: 'Simplon Norm';
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-right: 1px solid rgba(240, 237, 232, 0.2);
}
.sticky-bar-item:last-child {
    border-right: 0;
}
.sticky-bar-item svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: var(--off-white);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media only screen and (max-width: 1500px) {
    .hero-title h1 .full-width { font-size: 228px; }
    .hero-title h1 .acta-font { font-size: 84px; }
    .why-intro h2 { font-size: 150px; }
    .final-cta-section h2 { font-size: 120px; }
}

@media only screen and (max-width: 1439px) {
    .hero-title h1 .full-width { font-size: 196px; }
    .hero-title h1 .acta-font { font-size: 72px; }
    .hero-claim { font-size: 21px; }
    .hero-transition { font-size: 56px; }
    .why-intro h2 { font-size: 128px; }
    .colour-grid h2,
    .creative-head h2 { font-size: 80px; }
    .english-section h2 { font-size: 64px; }
    .main-menu .primary-menu li a { font-size: 46px; }
}

@media only screen and (max-width: 1239px) {
    .service-cards { gap: 24px; }
    .why-grid,
    .english-grid,
    .colour-grid,
    .creative-head,
    .hero-lead { gap: 60px; }
    .soho-content { width: 54%; padding: 40px; }
    .soho-content h2 { font-size: 46px; }
}

@media only screen and (max-width: 1023px) {
    /* Cards go two-up */
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
        margin-top: 56px;
    }
    /* Two-column blocks stack */
    .hero-lead,
    .why-grid,
    .english-grid,
    .colour-grid,
    .creative-head,
    .antoine-grid {
        flex-direction: column;
        gap: 40px;
    }
    .hero-transition,
    .why-intro,
    .colour-grid h2,
    .creative-head h2,
    .antoine-image {
        flex: 0 0 auto;
        width: 100%;
    }
    .antoine-image { max-width: 420px; }
    .hero-title h1 .full-width { font-size: 150px; }
    .hero-title h1 .acta-font { font-size: 56px; }
    .hero-claim { font-size: 18px; margin-top: 14px; }
    .hero-transition { font-size: 48px; }
    .why-section { padding: 90px 0 100px; }
    .why-intro h2 { font-size: 104px; margin-bottom: 28px; }
    .english-section { padding: 90px 0 100px; }
    .english-section h2 { font-size: 52px; margin-bottom: 36px; }
    .english-phrases p { font-size: 24px; }
    .colour-section { padding: 100px 0 50px; }
    .colour-grid h2,
    .creative-head h2 { font-size: 64px; }
    .antoine-section { padding: 80px 0 100px; }
    .antoine-content h2 { font-size: 44px; }
    .logo-section.has-creative-head { padding-top: 90px; }
    .creative-head { padding-bottom: 40px; }
    .final-cta-section { padding: 100px 0 120px; }
    .final-cta-section h2 { font-size: 84px; }

    /* Soho: content box drops below the image instead of overlapping */
    .soho-section { padding: 90px 0 90px; }
    .soho-content {
        position: static;
        width: 100%;
        padding: 36px 0 0;
        background: none;
    }
    .soho-content h2 { font-size: 42px; }
    .soho-other-content { margin-top: 48px; justify-content: flex-start; }
    .soho-kicker { font-size: 26px; }
}



@media only screen and (max-width: 767px) {
    .main-menu .primary-menu {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
    .main-menu .primary-menu li a { font-size: 32px; }

    /* The theme hangs .hero-title below the image here (bottom: -10%).
       That suited the old single-line H1. Our lockup is three lines plus the
       claim, so at -10% it lands on top of .about-title. Anchor it inside the
       image instead — deterministic, and it cannot grow into the next section. */
    .hero-title {
        top: auto;
        bottom: 28px;
        left: 0;
        right: 0;
        transform: none;
        padding: 0 16px;
    }
    .hero-title h1 .full-width { font-size: 72px; }
    .hero-title h1 .acta-font { font-size: 26px; }
    .hero-claim { font-size: 14px; margin-top: 8px; }
    .hero-lead { padding-top: 48px; gap: 28px; }
    .hero-transition { font-size: 36px; }
    .hero-cta { gap: 20px; margin-top: 26px; }
    .btn-fill { font-size: 16px; padding: 17px 26px 15px; }

    .trust-marquee { margin-top: 48px; padding: 16px 0; }
    .trust-track li { font-size: 13px; padding: 0 18px; }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 44px;
        margin-top: 44px;
    }
    .service-card h3 { font-size: 28px; }

    .why-section { padding: 70px 0 76px; }
    .why-intro h2 { font-size: 68px; }
    .why-list li { font-size: 16px; padding: 14px 0; }

    .english-section { padding: 70px 0 76px; }
    .english-section h2 { font-size: 38px; margin-bottom: 26px; }
    .english-phrases { padding-top: 26px; }
    .english-phrases p { font-size: 21px; }

    .soho-section { padding: 70px 0 70px; }
    .soho-content h2 { font-size: 34px; }
    .soho-kicker { font-size: 22px; }

    .colour-section { padding: 76px 0 40px; }
    .colour-grid h2,
    .creative-head h2 { font-size: 44px; }
    .partner-slider { margin-top: 48px; }

    .antoine-section { padding: 60px 0 76px; }
    .antoine-content h2 { font-size: 34px; }
    .antoine-role { margin-bottom: 22px; }

    .logo-section.has-creative-head { padding-top: 70px; }

    .final-cta-section { padding: 80px 0 90px; }
    .final-cta-section h2 { font-size: 52px; }
    .final-cta-section p { font-size: 17px; margin-bottom: 32px; }

    .ac-copy p,
    .hero-lead-copy p,
    .insta-intro p { font-size: 16px; }

    /* Sticky bar switches on */
    .sticky-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        background-color: var(--black);
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
    .sticky-bar.is-hidden {
        transform: translateY(100%);
    }
    body.has-sticky-bar {
        padding-bottom: 66px;
    }
}



@media only screen and (max-width: 424px) {
    .hero-title { bottom: 20px; }
    .hero-title h1 .full-width { font-size: 58px; }
    .hero-title h1 .acta-font { font-size: 21px; }
    .hero-claim { font-size: 12px; margin-top: 6px; }
    .why-intro h2 { font-size: 56px; }
    .final-cta-section h2 { font-size: 44px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
    .sticky-bar,
    .btn-fill {
        transition: none;
    }
    .trust-marquee {
        overflow: visible;
        flex-wrap: wrap;
    }
    .trust-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    .trust-track + .trust-track {
        display: none;
    }
}
