
/* ==========================================
   AS PROJECT STUDIO
   GLOBAL DESIGN SYSTEM
   FONT: INTER
========================================== */

/* GOOGLE FONT - MUST BE AT TOP */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ==========================================
   GLOBAL COLOURS AND VARIABLES
========================================== */

:root {

    /* Brand Colours */
    --navy: #101d35;
    --deep: #0b182a;
    --teal: #087f8c;
    --aqua: #10a1a8;

    /* Text Colours */
    --charcoal: #172033;
    --slate: #475569;
    --muted: #475569;

    /* Backgrounds */
    --white: #ffffff;
    --cream: #f5f7fa;
    --line: #e5eaed;

    /* Typography */
    --font-primary: 'Inter', Arial, sans-serif;

    /* Brand */
    --brand-navy: #101d35;
    --brand-teal: #087f8c;
    --brand-charcoal: #172033;
    --brand-slate: #475569;

}


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

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;

    color: var(--charcoal);
    background: var(--white);
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

p {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}


/* ==========================================
   LINKS AND BUTTONS
========================================== */

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: var(--font-primary);
    font-size: inherit;
}

button {
    cursor: pointer;
}


/* ==========================================
   ACCESSIBILITY
========================================== */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 10px;

    background: #ffffff;
    padding: 12px;

    z-index: 10000;
}

.skip-link:focus {
    top: 10px;
}


/* ==========================================
   SHARED CONTAINERS
========================================== */

.section-shell {
    width: min(1440px, calc(100% - 64px));
    margin-inline: auto;
}


/* ==========================================
   EYEBROW TEXT
========================================== */

.eyebrow {
    display: inline-block;

    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


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

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 16px;

    padding: 15px 22px;

    border-radius: 6px;
    text-decoration: none;

    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
}

.button-primary {
    background: var(--teal);
    color: #ffffff;
}

.button-primary:hover {
    background: #066a74;
}

.button-light {
    border: 1px solid #d1dce1;
    background: #ffffff;
    color: var(--navy);
}


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

@media (max-width: 640px) {

    .section-shell {
        width: calc(100% - 32px);
    }

    body {
        font-size: 16px;
    }
}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

}
