@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');


/* --------------------------------------------------
   RESET
-------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f3ef;
    color: #111;
    font-family: "DM Sans", sans-serif;
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 8vw;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255,255,255,0.12),
            transparent 30%
        ),
        #111;

    color: white;
}


/* subtle background circle */

.hero::after {
    content: "";

    position: absolute;

    width: 45vw;
    height: 45vw;

    max-width: 650px;
    max-height: 650px;

    border-radius: 50%;

    right: -12vw;
    bottom: -18vw;

    border: 1px solid rgba(255,255,255,0.15);
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
}


.eyebrow {
    text-transform: uppercase;

    letter-spacing: 0.22em;

    font-size: 0.75rem;
    font-weight: 600;

    opacity: 0.55;

    margin-bottom: 1.5rem;
}


.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(4rem, 10vw, 9rem);

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -0.05em;
}


.hero h1 span {
    font-style: italic;
    opacity: 0.65;
}


.hero-subtitle {
    margin-top: 2.5rem;

    font-size: clamp(1rem, 1.5vw, 1.25rem);

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

    max-width: 400px;
}


.scroll-indicator {
    position: absolute;

    bottom: 40px;
    left: 8vw;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 0.7rem;

    text-transform: uppercase;
    letter-spacing: 0.15em;

    opacity: 0.5;
}


.scroll-indicator span {
    width: 35px;
    height: 1px;

    background: white;
}


/* --------------------------------------------------
   FAMILY SECTION
-------------------------------------------------- */

.family {
    padding: 10vw 6vw;
    max-width: 1600px;
    margin: auto;
}


.section-intro {
    margin-bottom: 5rem;
}


.section-intro .eyebrow {
    color: #777;
    margin-bottom: 1rem;
}


.section-intro h2 {
    font-family: "Playfair Display", serif;

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

    font-weight: 500;

    letter-spacing: -0.04em;
}


/* --------------------------------------------------
   CARDS
-------------------------------------------------- */

.family-grid {
    display: grid;

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

    gap: 1.5rem;
}


.person-card {
    display: flex;
    flex-direction: column;

    min-height: 650px;

    text-decoration: none;

    overflow: hidden;

    position: relative;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.person-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.15);
}


/* --------------------------------------------------
   CARD COLORS
-------------------------------------------------- */

.dark-card {
    background: #111;
    color: white;
}

.light-card {
    background: #fff;
    color: #111;
}


/* --------------------------------------------------
   CARD IMAGE
-------------------------------------------------- */


.card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        transparent 65%,
        rgba(0,0,0,0.12)
    );

    pointer-events: none;
}


/* Image container */
.card-image {
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Show the COMPLETE image */
.card-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Olivia has a light background */
.column:nth-child(2) .card-image {
    background: #f5f5f5;
}



.person-card:hover .card-image img {
    transform: scale(1.03);
}

/* --------------------------------------------------
   CARD CONTENT
-------------------------------------------------- */

.card-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 2rem;
}


.card-number {
    font-size: 0.7rem;

    letter-spacing: 0.15em;

    opacity: 0.4;

    margin-bottom: 0.5rem;
}


.card-content h3 {
    font-family: "Playfair Display", serif;

    font-size: 3rem;

    font-weight: 500;

    letter-spacing: -0.04em;
}


.description {
    margin-top: auto;

    max-width: 320px;

    font-size: 0.95rem;

    line-height: 1.6;

    opacity: 0.6;
}


.card-link {
    margin-top: 1.8rem;

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    font-weight: 600;
}


.card-link span {
    display: inline-block;

    margin-left: 8px;

    transition: transform 0.3s ease;
}


.person-card:hover .card-link span {
    transform: translateX(6px);
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer {
    background: #111;

    color: white;

    padding: 2rem 6vw;
}


.footer-inner {
    max-width: 1600px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 2rem;
}


.footer p {
    font-size: 0.75rem;

    opacity: 0.4;
}


.footer a {
    color: white;

    text-decoration: none;

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    opacity: 0.6;

    transition: opacity 0.2s ease;
}


.footer a:hover {
    opacity: 1;
}


/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (max-width: 1000px) {

    .family-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: auto;
    }

    .person-card {
        min-height: 600px;
    }

    .card-image {
        height: 420px;
    }
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 600px) {

    .hero {
        padding: 2rem;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 18vw, 6rem);
    }

    .scroll-indicator {
        left: 2rem;
        bottom: 25px;
    }

    .family {
        padding: 5rem 1.25rem;
    }

    .section-intro {
        margin-bottom: 3rem;
    }

    .section-intro h2 {
        font-size: 3.2rem;
    }

    .family-grid {
        gap: 1rem;
    }

    .person-card {
        min-height: 540px;
    }

    .card-image {
        height: 330px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-content h3 {
        font-size: 2.5rem;
    }

    .footer {
        padding: 1.5rem 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
