/* ==========================================================================
   The Brill Collective — Streamlined Landing Page
   Colours matched to Score App (thebrillcollectivecommspulse.scoreapp.com)
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Score App palette */
    --navy: #121A21;
    --navy-light: #16222C;
    --sage: #8DA390;
    --sage-hover: #7a8e7d;
    --cream: #F9F7F5;

    /* Brand accents (kept) */
    --warm-linen: #ECE8E2;
    --soft-taupe: #C7BAB0;
    --white: #FFFFFF;
    --black: #000000;

    /* Fonts */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--cream);
    background: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 700; }


/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn svg { transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--sage {
    background: var(--sage);
    color: var(--white);
}
.btn--sage:hover {
    background: var(--sage-hover);
    box-shadow: 0 8px 40px rgba(141,163,144,0.25);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
}
.btn--white:hover {
    background: var(--cream);
    box-shadow: 0 8px 40px rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
    background: var(--cream);
    padding: 80px 48px 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero__heading {
    max-width: 720px;
    margin: 0 auto 20px;
}

.hero__title {
    font-family: var(--font-body);
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--black);
    margin-bottom: 16px;
}

.hero__title strong {
    color: var(--sage);
}

.hero__desc {
    font-size: 17px;
    color: rgba(0,0,0,0.5);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Hero Collage ---------- */
@keyframes hero-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.hero__collage {
    position: relative;
    margin-top: 20px;
    height: 520px;
    overflow: visible;
}

.hero__collage-inner {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
}

.collage-img {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    object-fit: cover;
    animation: hero-float 6s ease-in-out infinite;
}

/* Center — Amy (largest, highest z-index) */
.collage-img--center {
    width: 260px;
    height: 360px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    border-radius: 20px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.18);
    animation-delay: 0s;
}

/* Top-Left */
.collage-img--tl {
    width: 220px;
    height: 160px;
    left: 18%;
    top: 5%;
    z-index: 15;
    animation-delay: -1.2s;
    transform: rotate(-3deg);
}

/* Top-Right */
.collage-img--tr {
    width: 210px;
    height: 155px;
    right: 18%;
    top: 0%;
    z-index: 15;
    animation-delay: -2.5s;
    transform: rotate(2deg);
}

/* Far-Left */
.collage-img--fl {
    width: 200px;
    height: 260px;
    left: 0;
    top: 30%;
    z-index: 10;
    animation-delay: -4s;
    transform: rotate(-2deg);
}

/* Bottom-Left */
.collage-img--bl {
    width: 210px;
    height: 155px;
    left: 16%;
    bottom: -5%;
    z-index: 15;
    animation-delay: -5.2s;
    transform: rotate(1deg);
}

/* Bottom-Right */
.collage-img--br {
    width: 200px;
    height: 150px;
    right: 16%;
    bottom: -8%;
    z-index: 15;
    animation-delay: -3.5s;
    transform: rotate(-1.5deg);
}

/* Far-Right */
.collage-img--fr {
    width: 210px;
    height: 270px;
    right: 0;
    top: 25%;
    z-index: 10;
    animation-delay: -4.8s;
    transform: rotate(2.5deg);
}

.hero__cta {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 32px;
}

.hero__cta-note {
    font-size: 12px;
    color: rgba(0,0,0,0.3);
    letter-spacing: 0.04em;
}


/* ---------- Trust (Logo Carousel) ---------- */
.trust {
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 40px 0;
    overflow: hidden;
    background: var(--white);
}

.trust__label {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.35);
    margin-bottom: 28px;
}

.trust__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.trust__logos {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.trust__logo {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.5;
    transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}

.trust__logo--lg { height: 52px; }
.trust__logo--sm { height: 35px; }

.trust__logo:hover {
    opacity: 0.8;
    filter: grayscale(0);
}

/* ---------- Founder ---------- */
.founder {
    background: var(--white);
    padding: 100px 48px;
}

.founder__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.founder__heading {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 32px;
    line-height: 1.1;
}

.founder__text p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(0,0,0,0.65);
    margin-bottom: 16px;
}

.founder__text p:last-child { margin-bottom: 0; }

.founder__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- Services ---------- */
.services {
    background: var(--navy-light);
    padding: 100px 48px;
    position: relative;
}

.services__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services__title {
    font-family: var(--font-body);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--cream);
    margin-bottom: 48px;
    line-height: 1.15;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.service {
    padding: 28px 24px;
    background: var(--navy-light);
    transition: background 0.3s var(--ease-out);
}

.service:hover {
    background: rgba(141,163,144,0.08);
}

.service__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
}

.service__desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(249,247,245,0.35);
}

/* ---------- Case Studies ---------- */
.cases {
    background: var(--white);
    padding: 100px 48px;
}

.cases__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cases__title {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 48px;
    line-height: 1.1;
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.08);
}

.cases__card {
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.cases__card-image {
    background: var(--black);
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cases__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases__card-body {
    padding: 28px 24px 32px;
    border-top: 3px solid var(--black);
}

.cases__card-name {
    font-family: var(--font-body);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.15;
}

.cases__card-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0,0,0,0.6);
    margin-bottom: 12px;
}

.cases__card-text:last-child { margin-bottom: 0; }

.cases__card-text strong {
    color: var(--black);
}

/* ---------- Client Testimonials ---------- */
.testimonials {
    background: var(--white);
    padding: 0 48px 100px;
}

.testimonials__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials__title {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 48px;
    line-height: 1.1;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.08);
}

.testimonials__card {
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.testimonials__card-image {
    background: var(--black);
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials__card-body {
    padding: 28px 24px 32px;
    border-top: 3px solid var(--black);
}

.testimonials__card-name {
    font-family: var(--font-body);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.15;
}

.testimonials__card-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    font-weight: 600;
    margin-bottom: 12px;
}

.testimonials__card-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0,0,0,0.6);
}

.testimonials__card-text strong {
    color: var(--black);
}

/* ---------- Georgetown Zoom Parallax ---------- */
.zoom-wrapper {
    position: relative;
}

.zoom-wrapper .testimonials {
    position: sticky;
    top: 0;
    z-index: 1;
}

.testimonials__card--georgetown {
    position: relative;
}

/* The floating clone of the Georgetown image used for the zoom */
.zoom-clone {
    position: fixed;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
    display: none;
}

.zoom-clone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-clone__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    padding: 48px;
    text-align: center;
}

.zoom-clone__quote {
    font-family: var(--font-body);
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.zoom-clone__attr {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

/* Hide the overlay inside the card (only used in the clone) */
.zoom-parallax__overlay {
    display: none;
}

/* ---------- Core Team ---------- */
.team {
    background: var(--cream);
    padding: 100px 48px;
    position: relative;
    z-index: 2;
}

.team__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.team__heading {
    font-family: var(--font-body);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 28px;
    line-height: 1.1;
}

.team__text p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(0,0,0,0.6);
    margin-bottom: 16px;
}

.team__text p:last-child { margin-bottom: 0; }

.team__text strong { color: var(--black); }

.team__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- Comms Pulse CTA ---------- */
.pulse {
    background: var(--navy);
    padding: 80px 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 2;
}

.pulse__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.pulse__title {
    font-family: var(--font-body);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.pulse__text {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(249,247,245,0.4);
    margin-bottom: 32px;
}

.pulse__note {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: rgba(249,247,245,0.2);
}

.btn--navy {
    background: var(--sage);
    color: var(--navy);
}
.btn--navy:hover {
    background: var(--sage-hover);
    box-shadow: 0 8px 40px rgba(141,163,144,0.25);
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    padding: 64px 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 2;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    height: 32px;
    opacity: 0.4;
}

.footer__email {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(249,247,245,0.3);
    transition: color 0.3s;
}

.footer__email:hover { color: var(--sage); }

.footer__tagline {
    font-size: 12px;
    color: rgba(249,247,245,0.15);
    letter-spacing: 0.04em;
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .founder__inner { grid-template-columns: 1fr; gap: 40px; }
    .founder__image { order: -1; }
    .founder__image img { max-height: 500px; object-fit: cover; }
    .cases__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .team__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
    .hero__collage { height: 420px; }
    .collage-img--center { width: 210px; height: 290px; }
    .collage-img--tl { width: 170px; height: 125px; left: 10%; }
    .collage-img--tr { width: 165px; height: 120px; right: 10%; }
    .collage-img--br { width: 160px; height: 120px; right: 8%; }
    .collage-img--fr { width: 170px; height: 220px; }
    .collage-img--bl { width: 170px; height: 125px; left: 8%; }
    .collage-img--fl { width: 165px; height: 210px; }
}

@media (max-width: 768px) {
    .team__inner { grid-template-columns: 1fr; gap: 40px; }

    .hero, .founder, .services, .cases, .testimonials, .team, .pulse, .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero { padding-top: 48px; padding-left: 24px; padding-right: 24px; }

    .hero__collage { height: 360px; }
    .collage-img--center { width: 180px; height: 250px; }
    .collage-img--tl { width: 140px; height: 100px; left: 3%; }
    .collage-img--tr { width: 135px; height: 100px; right: 3%; }
    .collage-img--br { width: 130px; height: 95px; right: 5%; }
    .collage-img--fr { width: 130px; height: 170px; right: -2%; }
    .collage-img--bl { width: 135px; height: 100px; left: 5%; }
    .collage-img--fl { width: 125px; height: 165px; left: -2%; }

    .services__grid { grid-template-columns: 1fr; }

    .trust { padding: 28px 0; }
    .trust__label { margin-bottom: 20px; }
    .trust__logos { gap: 40px; padding: 0 20px; }
    .trust__logo { height: 28px; }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 36px; }

    .hero__collage { height: 300px; }
    .collage-img--center { width: 150px; height: 210px; }
    .collage-img--tl { width: 110px; height: 80px; }
    .collage-img--tr { width: 105px; height: 78px; }
    .collage-img--br { width: 100px; height: 75px; }
    .collage-img--fr { display: none; }
    .collage-img--bl { width: 105px; height: 78px; }
    .collage-img--fl { display: none; }
}
