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

:root {
    --ink: #001219;
    --teal: #005f73;
    --cyan: #0a9396;
    --pearl: #c7ddb5;
    --wheat: #e9d8a6;
    --gold: #ee9b00;
    --cream: #f7f4eb;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4vw;
    background: var(--pearl);
    border-bottom: 2px solid var(--ink);
    backdrop-filter: blur(10px);
}

.brand {
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header nav a {
    text-decoration: none;
    font-size: .95rem;
}

.nav-cta {
    padding: .55rem .9rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: .4rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}


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

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 5vw;
    align-items: start;
    padding: 3rem 6vw;
    background: var(--cream);
}

.hero-copy {
    align-self: start;
}

.hero h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.08;
    margin-top: .25em;
}

.hero h1 {
    font-size: clamp(2.5rem, 4.1vw, 4.4rem);
    max-width: 15ch;
    margin-top: 0;
}

.hero-text-card {
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.2rem;
    max-width: 620px;
    margin-bottom: 1.5rem;
}

.eyebrow {
    margin: 0;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-image {
    width: 100%;
    max-width: 650px;
    align-self: start;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.button {
    display: inline-block;
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: .85rem 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.button-primary {
    background: var(--gold);
}

.package .button-primary {
    color: var(--ink);
}


/* =========================
   GENERAL IMAGES
   ========================= */

/*
   Default image width: 300px.

   You can override the width for an individual
   image directly in the HTML, for example:

   style="--image-width: 500px;"

   The height is automatically calculated from
   the image's natural aspect ratio.
*/

.image-style {
    width: var(--image-width, 300px);
    max-width: 100%;
    overflow: hidden;
}

.image-style img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 3.5rem 6vw;
    scroll-margin-top: 78px;
}

/* Divider band between every top-level section (2px ink line) */
main > section + section {
    border-top: 2px solid var(--ink);
}

.section-heading {
    max-width: 800px;
    margin: 0 0 2rem;
}

.section-heading h2 {
    font-size: clamp(2.6rem, 4.5vw, 4.8rem);
    margin: 0 0 1rem;
}

.package-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 0 .8rem;
}

.package-subtitle strong {
    font-weight: 700;
}

.section-pearl {
    background: var(--pearl);
    color: var(--ink);
}


/* =========================
   CARD (reusable)
   Shared look for the coaching intro card,
   the about/story card, and each testimonial
   card. Add this class alongside a
   content-specific class whenever a new
   boxed-content block is needed.
   ========================= */

.card {
    padding: 2rem;
    background: var(--cream);
    border: 2px solid var(--ink);
}


/* =========================
   PACKAGE
   ========================= */

.package {
    margin-top: 1.5rem;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    background: var(--teal);
    border: 3px solid var(--ink);
    color: var(--white);
}

.package h3 {
    font-size: 2.3rem;
    margin: .2rem 0 .25rem;
}

.package-action {
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.package-action h3 {
    margin: 0;
}

/* Price card: the amount, in a pill shape matching the
   buttons, sized to its content, sitting inside package-action */
.price-card {
    width: fit-content;
    padding: .55rem 1.5rem;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.price-card p {
    margin: 0;
}

.price-card h3 {
    font-family: "DM Sans", Arial, sans-serif;
    margin: 0;
    line-height: 1;
}


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

.about-copy h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-top: 0;
}

/* Picture floats top-right, text wraps around it */
.about-image {
    float: right;
    margin: 0 0 1.25rem 2rem;
}


/* =========================
   TESTIMONIALS
   ========================= */

.testimonials-section {
    background: var(--pearl);
    color: var(--ink);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.testimonial-card blockquote {
    margin: 0 0 1.5rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--ink);
}

.testimonial-card p {
    margin: 0;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
}


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

.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    background: var(--cream);
    color: var(--ink);
}

.booking h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.booking-copy {
    max-width: 580px;
}

.booking-form {
    display: grid;
    gap: 1.2rem;
    align-content: start;
}

.booking-form label {
    display: grid;
    gap: .4rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    border: 2px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    padding: .9rem 1rem;
    font: inherit;
}

.form-success {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--pearl);
    color: var(--ink);
    border: 2px solid var(--pearl);
    font-weight: 600;
}

.form-success[data-fs-active] {
    display: block;
}


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

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 6vw;
    background: var(--pearl);
    border-top: 2px solid var(--ink);
}

.site-footer p {
    margin: .2rem 0 0;
    font-size: .85rem;
}


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

@media (max-width: 800px) {

    .image-style {
        width: 100%;
        max-width: 100%;
    }
    
    .site-header {
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .site-header nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 6vw 1rem;
        background: var(--cream);
        border-bottom: 2px solid var(--ink);
    }

    .site-header nav.is-open {
        display: flex;
    }

    .site-header nav a {
        padding: .8rem 0;
        border-bottom: 1px solid rgba(0, 18, 25, .2);
    }

    .site-header nav a:last-child {
        border-bottom: 0;
    }

    .nav-cta {
        border: 0;
        border-radius: 0;
        padding: .8rem 0 !important;
    }


    .hero,
    .booking {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 6vw 3rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-image {
        width: 100%;
        height: 280px;
    }

    .card {
        padding: 1.5rem;
    }

    .about-image {
        float: none;
        width: 100%;
        margin: 0 0 1.25rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .package {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .package-action {
        min-width: 0;
    }

    .button.button-primary {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .eyebrow {
        text-align: center;
    }

    .site-footer {
        flex-direction: column;
    }
}
