
/* =========================================================
   ONE BIG BEST FRIEND HOLDINGS INC. LTD.
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --navy: #071d35;
    --blue: #0068b5;
    --light-blue: #eaf3f9;

    --black: #111820;
    --grey: #66717c;

    --light-grey: #f4f6f8;
    --border: #dce2e7;

    --white: #ffffff;

    --max-width: 1320px;

}


/* =========================================================
   RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER

   The important bit:
   Everything on the site uses this container.

   It has both a maximum width AND explicit side padding,
   so content never touches the browser edge.
   ========================================================= */

.container {

    width: 100%;
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;

    padding-left: 50px;
    padding-right: 50px;

}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {

    font-weight: 500;
    line-height: 1.1;

    letter-spacing: -0.04em;

}


h1 {

    font-size: clamp(3.2rem, 6vw, 6.5rem);

}


h2 {

    font-size: clamp(2.7rem, 4.5vw, 5rem);

}


h3 {

    font-size: 1.35rem;

}


.eyebrow {

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 24px;

}


.eyebrow.blue {

    color: var(--blue);

}


/* =========================================================
   HEADER
   ========================================================= */

.header {

    height: 90px;

    background: var(--white);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    position: relative;

    z-index: 20;

}


.nav {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

}


.logo img {

    display: block;

    width: 185px;

    height: auto;

    max-height: 55px;

}


/* NAVIGATION */

.navigation {

    display: flex;

    align-items: center;

    gap: 38px;

    font-size: 0.78rem;

    font-weight: 500;

}


.navigation a {

    transition: color 0.2s ease;

}


.navigation a:hover {

    color: var(--blue);

}


/* MOBILE MENU */

.menu-button {

    display: none;

    border: 0;

    background: none;

    color: var(--navy);

    font-size: 1.5rem;

    cursor: pointer;

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    height: 730px;

    position: relative;

    overflow: hidden;

    color: var(--white);

}


.hero-image {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=85");

    background-size: cover;

    background-position: center;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 24, 43, 0.92) 0%,
            rgba(4, 24, 43, 0.68) 45%,
            rgba(4, 24, 43, 0.12) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.hero-content h1 {

    max-width: 900px;

}


.hero-intro {

    max-width: 580px;

    margin-top: 30px;

    font-size: 1.05rem;

    color: rgba(255,255,255,0.8);

}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    width: max-content;

    min-width: 175px;

    padding: 16px 20px;

    font-size: 0.74rem;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;

}


.button span {

    font-size: 1rem;

}


.button-light {

    margin-top: 38px;

    background: var(--white);

    color: var(--navy);

}


.button-light:hover {

    background: var(--blue);

    color: var(--white);

    transform: translateY(-2px);

}


/* =========================================================
   MISSION / VISION STATEMENTS
   ========================================================= */

.statement {

    padding: 150px 0;

}


.statement-mission {

    background: var(--white);

}


.statement-vision {

    background: var(--light-grey);

}


.statement-grid {

    display: grid;

    grid-template-columns: 0.28fr 1fr;

    gap: 80px;

}


.statement-label {

    padding-top: 10px;

}


.statement-number {

    display: block;

    font-size: 0.7rem;

    font-weight: 700;

    color: var(--grey);

    margin-top: 80px;

}


.statement-content {

    max-width: 950px;

}


.statement-content h2 {

    max-width: 900px;

}


.statement-copy {

    max-width: 650px;

    margin-top: 55px;

    margin-left: auto;

}


.statement-copy p {

    color: var(--grey);

    margin-bottom: 22px;

    font-size: 0.95rem;

}


.statement-copy p:first-child {

    font-size: 1.15rem;

    line-height: 1.65;

    color: var(--black);

}


/* =========================================================
   WIDE IMAGE
   ========================================================= */

.wide-image {

    position: relative;

    height: 580px;

}


.wide-image-photo {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=2200&q=85");

    background-size: cover;

    background-position: center;

}


.wide-image-caption {

    position: relative;

    height: 100%;

    display: flex;

    align-items: flex-end;

    padding-bottom: 35px;

    color: rgba(255,255,255,0.75);

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


/* =========================================================
   ABOUT
   ========================================================= */

.about {

    padding: 150px 0;

}


.section-heading {

    display: grid;

    grid-template-columns: 1fr 0.75fr;

    gap: 100px;

    align-items: end;

    margin-bottom: 90px;

}


.heading-copy {

    max-width: 530px;

}


.heading-copy p {

    color: var(--grey);

    margin-bottom: 20px;

    font-size: 0.9rem;

}


/* ABOUT CARDS */

.about-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

}


.about-card {

    min-height: 300px;

    padding: 38px 35px;

    border-right: 1px solid var(--border);

    display: flex;

    flex-direction: column;

}


.about-card:first-child {

    border-left: 1px solid var(--border);

}


.about-card span {

    font-size: 0.68rem;

    color: var(--blue);

    font-weight: 700;

    margin-bottom: 70px;

}


.about-card h3 {

    margin-bottom: 15px;

}


.about-card p {

    color: var(--grey);

    font-size: 0.85rem;

}


/* =========================================================
   NUMBERS
   ========================================================= */

.numbers {

    background: var(--blue);

    color: var(--white);

    padding: 70px 0;

}


.numbers-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

}


.numbers-grid > div {

    display: flex;

    flex-direction: column;

    padding: 10px 35px;

    border-right: 1px solid rgba(255,255,255,0.25);

}


.numbers-grid > div:first-child {

    padding-left: 0;

}


.numbers-grid > div:last-child {

    border-right: none;

}


.numbers strong {

    font-size: 2.8rem;

    font-weight: 400;

    letter-spacing: -0.05em;

}


.numbers span {

    font-size: 0.68rem;

    opacity: 0.75;

}


/* =========================================================
   TEXT LINKS
   ========================================================= */

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    margin-top: 20px;

    color: var(--blue);

    font-size: 0.75rem;

    font-weight: 600;

    border-bottom: 1px solid var(--blue);

    padding-bottom: 5px;

}


.text-link span {

    font-size: 1rem;

}


/* =========================================================
   INSIGHTS
   ========================================================= */

.insights {

    padding: 150px 0;

}


.section-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 70px;

}


.section-top .text-link {

    margin-bottom: 8px;

}


.insight-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}


.insight {

    border-top: 1px solid var(--border);

}


.insight-image {

    height: 250px;

    margin-bottom: 28px;

    background-size: cover;

    background-position: center;

}


.image-one {

    background-image:
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80");

}


.image-two {

    background-image:
        url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1200&q=80");

}


.image-three {

    background-image:
        url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1200&q=80");

}


.insight-content > span {

    color: var(--grey);

    font-size: 0.62rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


.insight-content h3 {

    margin: 15px 0 24px;

    font-size: 1.2rem;

    line-height: 1.35;

}


.insight-content a {

    color: var(--blue);

    font-size: 0.72rem;

    font-weight: 600;

}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {

    height: 600px;

    position: relative;

    overflow: hidden;

    color: var(--white);

}


.contact-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=85");

    background-size: cover;

    background-position: center;

}


.contact-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 27, 51, 0.95),
            rgba(3, 27, 51, 0.65)
        );

}


.contact-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.contact-content h2 {

    max-width: 900px;

}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    background: #061626;

    color: var(--white);

    padding: 80px 0 30px;

}


.footer-top {

    display: flex;

    justify-content: space-between;

    gap: 100px;

    padding-bottom: 75px;

}


.footer-logo img {

    display: block;

    width: 185px;

    height: auto;

    filter: brightness(0) invert(1);

}


.footer-brand p {

    margin-top: 35px;

    color: rgba(255,255,255,0.4);

    font-size: 0.72rem;

}


.footer-links {

    display: grid;

    grid-template-columns: repeat(3, 150px);

    gap: 50px;

}


.footer-links > div {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links strong {

    font-size: 0.7rem;

    margin-bottom: 12px;

}


.footer-links a {

    color: rgba(255,255,255,0.45);

    font-size: 0.68rem;

}


.footer-links a:hover {

    color: var(--white);

}


/* FOOTER BOTTOM */

.footer-bottom {

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.1);

    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,0.3);

    font-size: 0.62rem;

}


.footer-bottom div {

    display: flex;

    gap: 25px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .container {

        padding-left: 35px;
        padding-right: 35px;

    }


    .navigation {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .hero {

        height: 650px;

    }


    .statement-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .statement-number {

        margin-top: 0;

    }


    .statement-copy {

        margin-left: 0;

        margin-top: 40px;

    }


    .section-heading {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .about-grid {

        grid-template-columns: 1fr;

    }


    .about-card {

        border-left: 1px solid var(--border);

        border-bottom: 1px solid var(--border);

    }


    .numbers-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 30px;

    }


    .numbers-grid > div {

        border-right: none;

        padding: 10px 0;

    }


    .insight-grid {

        grid-template-columns: 1fr;

        gap: 65px;

    }


    .footer-top {

        flex-direction: column;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {

        padding-left: 24px;
        padding-right: 24px;

    }


    .header {

        height: 75px;

    }


    .logo img {

        width: 150px;

    }


    .hero {

        height: 620px;

    }


    .hero-content h1 {

        font-size: 3.2rem;

    }


    .hero-intro {

        font-size: 0.95rem;

    }


    .statement,
    .about,
    .insights {

        padding-top: 90px;
        padding-bottom: 90px;

    }


    .statement-content h2 {

        font-size: 2.7rem;

    }


    .wide-image {

        height: 430px;

    }


    .section-top {

        display: block;

    }


    .section-top .text-link {

        margin-top: 30px;

    }


    .numbers-grid {

        grid-template-columns: 1fr 1fr;

    }


    .footer {

        padding-top: 60px;

    }


    .footer-links {

        grid-template-columns: 1fr 1fr;

        gap: 35px;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 20px;

    }

}