/* ============================================================
   HER ACL JOURNEY — Main Stylesheet
   Breakpoints:
     Mobile  : < 768px
     Tablet+ : >= 768px  (default / base layout)
   ============================================================ */

/* ---- Local Fonts ---- */
@font-face {
    font-family: 'ArminSoft';
    src: url('../fonts/ArminSoft-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ArminSoft';
    src: url('../fonts/ArminSoft-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'ArminSoft';
    src: url('../fonts/ArminSoft-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ArminSoft';
    src: url('../fonts/ArminSoft-Normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ArminSoft';
    src: url('../fonts/ArminSoft-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SukimaStencil';
    src: url('../fonts/SukimaStencil.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SukimaStencil';
    src: url('../fonts/SukimaStencil-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LeagueSpartan';
    src: url('../fonts/LeagueSpartan-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LeagueSpartan';
    src: url('../fonts/LeagueSpartan-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LeagueSpartan';
    src: url('../fonts/LeagueSpartan-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LeagueSpartan';
    src: url('../fonts/LeagueSpartan-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---- Custom Properties ---- */
:root {
    /* Brand palette */
    --clr-orange:      #FF4500;
    --clr-orange-dark: #CC3600;
    --clr-tangerine:   #FF7347;
    --clr-chocolate:   #56352D;
    --clr-mocca:       #A47864;
    --clr-green:       #BCCAB3;
    --clr-neutral-green: #F1F1E7;
    --clr-muted-green: #D5DAD0;
    --clr-black:       #1A1A1A;
    --clr-dark:        #222222;
    --clr-mid:         #56352D;
    --clr-light-grey:  #F1F1E7;
    --clr-white:       #FFFFFF;

    /* Typography */
    --font-heading:    'ArminSoft', 'Georgia', serif;
    --font-body:       'LeagueSpartan', 'Arial', sans-serif;
    --font-nav:        'LeagueSpartan', 'Arial', sans-serif;

    --container-max:   1200px;
    --section-pad-v:   64px;
    --header-h:        76px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--clr-dark);
    background: var(--clr-white);
    font-size: 16px;
    line-height: 1.65;
    max-width: 1600px;
    margin-inline: auto;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

ul { list-style: none; }

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
a:hover { opacity: 0.8; }

/* ---- Anchor scroll offset (accounts for sticky header) ---- */
section[id], footer[id] {
    scroll-margin-top: var(--header-h);
}

/* ---- Layout helpers ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
}

.section-pad { padding-block: var(--section-pad-v); }

/* ---- Typography ---- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

p {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }

.heading-orange { color: var(--clr-orange); }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    margin-top: 16px;
}

.btn-primary {
    background: var(--clr-orange);
    color: var(--clr-white);
}
.btn-primary:hover {
    background: var(--clr-orange-dark);
    opacity: 1;
}

.btn--sm { padding: 10px 20px; font-size: 0.75rem; }

/* ---- Image helpers ---- */
.pvv-card-image img,
.pathway-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--clr-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding-bottom: 10px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 32px;
}

/* Logo */
.site-logo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-logo { display: inline-flex; align-items: center; }
.logo-img  { height: 60px; width: auto; display: block; }
.logo-img--footer { height: 45px; }

/* Strapline */
.site-strapline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    /* text-transform: uppercase; */
    color: var(--clr-orange);
    margin: -2px 0 0 0;
    line-height: 1;
    width: 100%;
    text-align: center;
}
.strapline-acl {
    font-family: 'SukimaStencil', var(--font-heading);
    color: var(--clr-chocolate);
    font-size: 1.0rem;
    font-weight: 700;
}
.strapline-bang {
    color: var(--clr-chocolate);
    font-weight: 600;
    display: inline-block;
}

/* Desktop nav — hidden, hamburger used on all breakpoints */
.nav-desktop {
    display: none;
}
.nav-desktop ul {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.nav-desktop a {
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-chocolate);
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-orange);
    transition: width 0.2s ease;
}
.nav-desktop a:hover::after { width: 100%; opacity: 1; }

/* Hamburger button — always visible */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--clr-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile nav menu */
.nav-menu {
    display: none;
    background: var(--clr-white);
    border-top: 1px solid #EEEEEE;
    padding: 16px 0;
}

/* On tablet + desktop, constrain menu to right-aligned dropdown under the hamburger */
@media (min-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 350px;
        border-top: none;
        border: 1px solid #EEEEEE;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        z-index: 200;
        padding: 8px 0;
    }
    .nav-menu a {
        text-align: right;
        padding: 10px 24px;
    }
}

/* On desktop with capped container, offset matches container padding */
@media (min-width: 1200px) {
    .nav-menu {
        right: calc((100% - var(--container-max)) / 2 + 24px);
    }
}
.nav-menu--open { display: block; }

.nav-menu ul {
    display: flex;
    flex-direction: column;
}
.nav-menu a {
    display: block;
    padding: 12px 24px;
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-chocolate);
    border-bottom: 1px solid #F0F0F0;
    text-align: right;
}
.nav-menu a:hover { background: var(--clr-light-grey); opacity: 1; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
}

/* Background image fills the section */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    display: block;
}

/* Dark gradient overlay for contrast */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.0) 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 40px 24px;
    max-width: var(--container-max);
    margin-inline: auto;
}

/* Desktop: semi-transparent white text box, right-aligned */
.hero-text-box {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.65);
    padding: 36px 44px;
    max-width: 460px;
    border-radius: 4px;
    backdrop-filter: blur(3px);
}

.hero-text-box h1 {
    color: var(--clr-chocolate);
    margin-bottom: 8px;
    font-size: clamp(2rem, 3.5vw, 3rem);
}


/* ============================================================
   OUR STORY — text box overlaid on full-bleed image
   ============================================================ */
.our-story {
    position: relative;
    overflow: hidden;
}

.our-story-image-wrap {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.our-story-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.our-story-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 480px;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 60px 24px;
}

.our-story-box {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px 48px;
    max-width: 480px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}
.our-story-box h2 { margin-bottom: 16px; }
.our-story-box p  { color: var(--clr-chocolate); font-weight: 500; font-size: 1.05rem; }


/* ============================================================
   EXPERT INSIGHTS — text overlaid on full-bleed image
   ============================================================ */
.expert-insights {
    position: relative;
    overflow: hidden;
}

.expert-insights-inner {
    position: relative;
    min-height: 500px;
}

.expert-insights-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 0;
}

/* Dark tint over photo so white text reads cleanly */
.expert-insights-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 500px;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 60px 24px;
    /* overlay gradient from left — lighter on right matches wireframe */
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}

.expert-insights-text {
    max-width: 480px;
}

.expert-insights-text h2 {
    color: var(--clr-white);
    margin-bottom: 12px;
}

.expert-insights-text .subheading {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.expert-insights-text .btn-primary {
    background: var(--clr-orange);
    color: var(--clr-white);
}


/* ============================================================
   PURPOSE / VISION / VALUES
   ============================================================ */
.pvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.pvv-card { display: flex; flex-direction: column; }

.pvv-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pvv-card h3 { margin-bottom: 12px; color: var(--clr-mocca); }
.pvv-card p  { color: var(--clr-chocolate); font-size: 0.92rem; flex-grow: 1; font-weight: 500; }

.values-list {
    list-style: disc;
    padding-left: 18px;
    color: var(--clr-chocolate);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.values-list li { margin-bottom: 6px; }


/* ============================================================
   ACL JOURNEY PATHWAY
   ============================================================ */
.pathway {
    background: var(--clr-neutral-green);
}

.pathway-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.pathway-image {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.pathway-text h2 { margin-bottom: 16px; color: var(--clr-chocolate); }
.pathway-text p  { color: var(--clr-chocolate); font-weight: 500; }


/* ============================================================
   YOUR RECOVERY AWAITS
   ============================================================ */
.recovery-awaits-banner {
    background: var(--clr-orange);
    padding: 40px 24px;
    text-align: center;
}
.recovery-awaits-banner h2 {
    color: var(--clr-white);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-family: var(--font-heading);
    font-weight: 900;
}

.recovery-awaits-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.recovery-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}
.recovery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.recovery-thumb:hover img { transform: scale(1.05); }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--clr-orange);
    color: rgba(255,255,255,0.85);
}

.footer-inner {
    padding-block: 40px 0;
}

/* Nav wrap: logo as header, 3 columns nav, socials centered below */
.footer-nav-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

/* Logo spans full width as a header row - no border below */
.footer-logo-col {
    grid-column: 1 / -1;
    padding-bottom: 12px;
}
.footer-logo-col a {
    display: inline-block;
}

/* Socials row - centered below nav on desktop */
.footer-social-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 32px;
}
.footer-social-wrap .social-icon {
    margin: 0;
}

.footer-nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-col {
    padding-top: 0;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Hide the 4th column (social-col) in footer-nav on desktop/tablet - we use .footer-social-wrap instead */
.footer-nav-col.footer-social-col {
    display: none;
}

.footer-nav-col ul li {
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer-nav a {
    display: block;
    font-family: var(--font-nav);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.9);
    padding: 6px 0;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.footer-nav a:hover { color: var(--clr-white); opacity: 1; }

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.75);
    transition: border-color 0.2s, color 0.2s;
    text-align: center;
}
.social-icon svg {
    display: block;
    margin: auto;
}
.social-icon:hover { border-color: var(--clr-white); color: var(--clr-white); opacity: 1; }

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-block: 24px 28px;
    text-align: left;
    margin-top: 48px;
}
.footer-legal .container {
    max-width: none;
    padding-inline: 0;
}
.footer-legal p {
    font-family: var(--font-body);
    font-size: 0.73rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}


/* ============================================================
   RESPONSIVE — MOBILE  (< 768px)
   ============================================================ */
@media (max-width: 1099px) {

    /* Hamburger already shown globally, nothing to override here */

    /* Hero — orange text box on mobile */
    .hero { min-height: 480px; }

    .hero-content {
        min-height: 480px;
        align-items: flex-end;
        padding-bottom: 0;
        padding-inline: 0;
    }

    .hero-text-box {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        background: var(--clr-orange);
        padding: 28px 24px;
        border-radius: 0;
        backdrop-filter: none;
    }
    .hero-text-box h1 { color: var(--clr-white); font-size: 1.6rem; }
    .hero-text-box .btn-primary {
        background: var(--clr-white);
        color: var(--clr-orange);
    }
    .hero-text-box .btn-primary:hover { background: #f0f0f0; }

    /* Expert Insights */
    .expert-insights-text  { padding: 0; }

    /* Purpose / Vision / Values */
    .pvv-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Pathway */
    .pathway-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Recovery gallery — 3 cols on mobile */
    .recovery-awaits-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .recovery-thumb:nth-child(4),
    .recovery-thumb:nth-child(5) {
        display: none;
    }

    /* Our Story */
    .our-story-image-wrap { min-height: 400px; }
    .our-story-overlay    { min-height: 400px; padding: 40px 24px; }
    .our-story-box        { padding: 28px 28px; max-width: 100%; }

    /* Expert Insights */
    .expert-insights-inner  { min-height: 420px; }
    .expert-insights-overlay { min-height: 420px; background: rgba(0,0,0,0.45); padding: 40px 24px; align-items: flex-end; padding-bottom: 36px; }
    .expert-insights-text   { max-width: 100%; }

    /* Footer */
    .footer-inner { padding-block: 32px 0; }
    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 20px 28px;
    }
    .footer-nav-col:nth-child(1),
    .footer-nav-col:nth-child(2),
    .footer-nav-col:nth-child(3) {
        border-top: none;
    }
    .footer-logo-col {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 8px;
    }
    /* Mobile: hide the separate social wrap, show inline social column */
    .footer-social-wrap {
        display: none;
    }
    .footer-nav-col.footer-social-col {
        display: block;
    }
    .footer-logo-col .logo-img--footer {
        height: 48px;
    }
    .footer-nav-col ul {
        gap: 2px;
    }
    /* Social row at bottom on mobile */
    .footer-social-col {
        grid-column: 1 / -1;
        padding-top: 16px;
    }
    .footer-social-col .footer-social {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .footer-legal {
        margin-top: 28px;
        text-align: center;
    }
}


/* ============================================================
   RESPONSIVE — TABLET  (768px – 1099px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1099px) {

    .pvv-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    .pvv-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
    }

    .footer-nav-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-logo-col {
        padding-bottom: 8px;
    }
    .footer-logo-col .logo-img--footer {
        height: 50px;
    }
    /* Tablet: 3 column nav, socials in centered row below */
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .footer-nav-col.footer-social-col {
        display: none;
    }
    .footer-social-wrap {
        display: flex;
        padding-top: 24px;
    }
}


/* ============================================================
   UTILITY — reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    html { scroll-behavior: auto; }
}
