/* ==========================================================================
   1620 Investments — static site stylesheet
   Hand-built from the Statamic/Tailwind source (resources/css/site.css and
   the Antlers templates) for plain HTML/CSS hosting. Design tokens below
   mirror the @theme values in the original source file.
   ========================================================================== */

/* Serif placeholder: Lora stands in for the licensed "Serrif" font — swap
   the @import and --font-serif below once the licensed woff2 files are available. */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500&display=swap');

/* Metropolis (design's sans) — the source project self-hosts this via the
   @fontsource/metropolis npm package; served here from jsDelivr's CDN mirror
   of that same package so no build step is required. */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/metropolis/400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/metropolis/500.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/metropolis/600.css');

:root {
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Metropolis', ui-sans-serif, system-ui, sans-serif;

    --color-brand: #2a4c5c;
    --color-brand-dark: #1c3540;
    --color-ink: #121212;
    --color-gold: #d2b37c;
    --color-cream: #fdfbf8;
}

/* Breakpoints used throughout (as media queries, since CSS has no variables
   for breakpoints): tablet = min-width 451px, desktop = min-width 769px */

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: #fff;
    font-family: var(--font-sans);
    color: var(--color-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.wrapper {
    max-width: 1180px;
    padding-inline: 20px;
    margin-inline: auto;
}

.eyebrow {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
}

.section-heading {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-brand);
}

@media (min-width: 769px) {
    .section-heading {
        font-size: 50px;
        line-height: 55px;
    }
}

.section-body {
    margin: 24px auto 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 26px;
}

.btn {
    display: inline-flex;
    height: 59px;
    width: 200px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: var(--color-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #fff;
    transition: background-color 0.15s ease;
}

.btn:hover {
    background: var(--color-brand);
}

.btn:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}

/* --- Header ------------------------------------------------------------ */

.site-header {
    position: absolute;
    inset-inline: 0;
    top: 0;
    z-index: 50;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 28px;
}

.site-header__logo {
    position: relative;
    z-index: 50;
    flex-shrink: 0;
}

.site-header__logo img {
    height: 32px;
    width: auto;
}

@media (min-width: 451px) {
    .site-header__logo img {
        height: 40px;
    }
}

.site-header__nav-desktop {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 769px) {
    .site-header__nav-desktop {
        display: flex;
    }
}

.site-header__nav-desktop a,
.site-header__nav-mobile a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #fff;
    transition: color 0.15s ease;
}

.site-header__nav-desktop a:hover,
.site-header__nav-mobile a:hover {
    color: var(--color-gold);
}

.site-header__toggle {
    position: relative;
    z-index: 50;
    margin-right: -8px;
    display: flex;
    height: 44px;
    width: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

@media (min-width: 769px) {
    .site-header__toggle {
        display: none;
    }
}

.site-header__toggle span {
    height: 2px;
    width: 24px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-header__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(28, 53, 64, 0.97);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.site-header__mobile-menu.is-open {
    display: block;
    opacity: 1;
}

@media (min-width: 769px) {
    .site-header__mobile-menu {
        display: none !important;
    }
}

.site-header__nav-mobile {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.site-header__nav-mobile a {
    font-size: 18px;
    letter-spacing: 1.5px;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    min-height: 560px;
    align-items: center;
    overflow: hidden;
    background: var(--color-brand-dark);
}

@media (min-width: 451px) {
    .hero {
        min-height: 640px;
    }
}

@media (min-width: 769px) {
    .hero {
        min-height: 842px;
    }
}

.hero__media {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    mix-blend-mode: multiply;
}

.hero__overlay--top {
    inset: 0;
    background: linear-gradient(to top, rgba(70, 70, 70, 0) 20%, rgba(28, 58, 72, 0.9) 90%);
}

.hero__overlay--side {
    inset: 0;
    background: linear-gradient(to right, rgba(70, 70, 70, 0) 20%, var(--color-brand-dark) 100%);
}

.hero__overlay--bottom {
    inset-inline: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to bottom, rgba(70, 70, 70, 0) 20%, rgba(42, 76, 92, 0.9) 100%);
}

@media (min-width: 451px) {
    .hero__overlay--bottom {
        height: 305px;
    }
}

.hero__content {
    position: relative;
    width: 100%;
    padding-bottom: 64px;
    padding-top: 128px;
    text-align: center;
}

@media (min-width: 451px) {
    .hero__content {
        padding-top: 144px;
    }
}

.hero__heading {
    margin: 16px auto 0;
    max-width: 900px;
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.12;
    color: #fff;
    font-weight: 400;
}

@media (min-width: 451px) {
    .hero__heading {
        font-size: 52px;
    }
}

@media (min-width: 769px) {
    .hero__heading {
        font-size: 65px;
        line-height: 70px;
    }
}

.hero__subheading {
    margin: 24px auto 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

@media (min-width: 451px) {
    .hero__subheading {
        font-size: 22px;
    }
}

@media (min-width: 769px) {
    .hero__subheading {
        font-size: 26px;
        line-height: 38px;
    }
}

/* --- Thesis / About ------------------------------------------------------ */

.thesis {
    scroll-margin-top: 80px;
    background: #fff;
    padding-block: 64px;
}

@media (min-width: 769px) {
    .thesis {
        padding-block: 110px;
    }
}

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

/* --- Approach / Contact --------------------------------------------------- */

.approach {
    scroll-margin-top: 80px;
    background: var(--color-cream);
    padding-bottom: 80px;
    padding-top: 64px;
}

@media (min-width: 769px) {
    .approach {
        padding-bottom: 110px;
        padding-top: 70px;
    }
}

.approach__intro {
    text-align: center;
}

.approach__intro .section-heading {
    margin-top: 8px;
    margin-inline: auto;
}

.approach__body {
    margin-top: 32px;
    max-width: 764px;
}

.approach__contact-wrap {
    max-width: 795px;
}

.approach__divider {
    margin-top: 64px;
    border: 0;
    border-top: 1px solid var(--color-gold);
}

@media (min-width: 769px) {
    .approach__divider {
        margin-top: 90px;
    }
}

.approach__contact {
    scroll-margin-top: 80px;
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

@media (min-width: 451px) {
    .approach__contact {
        flex-direction: row;
    }
}

@media (min-width: 769px) {
    .approach__contact {
        margin-top: 85px;
    }
}

.approach__contact-text {
    text-align: center;
}

@media (min-width: 451px) {
    .approach__contact-text {
        text-align: left;
    }
}

.approach__contact-heading {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.3;
    color: var(--color-brand);
    font-weight: 400;
}

@media (min-width: 769px) {
    .approach__contact-heading {
        font-size: 30px;
    }
}

.approach__contact-body {
    margin-top: 12px;
    max-width: 403px;
    font-size: 16px;
    line-height: 26px;
}

/* --- Footer ---------------------------------------------------------------- */

.site-footer {
    background: var(--color-cream);
}

.site-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(42, 76, 92, 0.15);
    padding-block: 24px;
}

.site-footer__logo {
    height: 28px;
    width: auto;
}

@media (min-width: 451px) {
    .site-footer__logo {
        height: 32px;
    }
}

.site-footer__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 16px;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 8px;
}

.site-footer__nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--color-brand);
    transition: color 0.15s ease;
}

.site-footer__nav a:hover {
    color: var(--color-gold);
}

.site-footer__row--legal {
    align-items: flex-start;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-brand);
}

.site-footer__legal-text {
    margin: 0;
    line-height: 20px;
}
