
/* =========================================
   FLOATING BONES
   Visual identity — version 1
   ========================================= */
   /* 2. TYPOGRAPHY */

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

/* 1. CHANGE YOUR COLOURS HERE */

:root {
    --accent: #261767;
    --accent-soft: #e9e5f2;

    --background: #f7f6f2;
    --surface: #ffffff;

    --text: #292733;
    --muted: #777580;

    --hero-background: transparent;
    --hero-text: var(--text);

    --max-width: 1080px;
}




* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}


/* 3. MAIN LAYOUT */

header,
main,
footer {
    width: min(100% - 64px, var(--max-width));
    margin-left: auto;
    margin-right: auto;
}

header {
    padding: 110px 0 90px;
    background: var(--hero-background);
    color: var(--hero-text);
}

main {
    padding-bottom: 90px;
}

section {
    max-width: 720px;
    padding: 42px 0;
    border-top: 1px solid rgba(38, 23, 103, 0.14);
}


/* 4. HEADINGS */

h1,
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.15;
}

header h1 {
    color: var(--accent);
    font-size: clamp(42px, 6vw, 62px);
    margin: 0 0 18px;
    letter-spacing: -1px;
}

header h2 {
    font-size: clamp(27px, 4vw, 38px);
    margin: 0 0 24px;
}

section h2 {
    color: var(--accent);
    font-size: 30px;
    margin: 0 0 15px;
}

p {
    margin-top: 0;
}


/* 5. INTRODUCTION */

header p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--muted);
}


/* 6. SECTIONS */

section p {
    max-width: 680px;
    color: var(--muted);
}


/* 7. FOOTER */

footer {
    border-top: 1px solid rgba(38, 23, 103, 0.18);
    padding: 30px 0 50px;
    color: var(--muted);
    font-size: 13px;
}

footer nav {
    margin-top: 12px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.65;
}


/* 8. MOBILE */

@media (max-width: 600px) {

    header,
    main,
    footer {
        width: min(100% - 40px, var(--max-width));
    }

    header {
        padding: 75px 0 65px;
    }

    section {
        padding: 32px 0;
    }

    header p {
        font-size: 15px;
    }
}

.intro-video {
    max-width: 900px;
    margin: 70px auto 90px;
    padding: 0 24px;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}