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

:root {
    --bg-color: #f1f3ed;
    --text-color: #17241d;
    --muted-color: #69746b;
    --card-bg: #fbfcf8;
    --accent-color: #f2b84b;
    --paper: #f2f0eb;
    --soft-line: rgba(23, 24, 23, 0.09);
    --line: rgba(23, 24, 23, .18);
    --line-color: #cbd3c8;
    --footer-bg: #17241d;
    --footer-text: #e7ece4;
    --shadow-color: rgba(23, 36, 29, 0.11);
    --pad: clamp(1.25rem, 5vw, 5rem);
}

body.dark-theme {
    --bg-color: #131a15;
    --text-color: #f0f4ed;
    --muted-color: #a7b2a8;
    --card-bg: #202a23;
    --paper: #1b1c1a;
    --soft-line: rgba(23, 24, 23, 0.09);
    --line: rgba(242, 240, 235, 0.2);
    --accent-color: #f2b84b;
    --line-color: #3a493e;
    --footer-bg: #0a100c;
    --footer-text: #e0e8df;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    transition: background .3s ease, color .3s ease;
}

#theme-toggle {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    height: 2.3rem;
    width: 2.3rem;
    z-index: 20;
}

#theme-toggle:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.site-header {
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--soft-line);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 1.5rem var(--pad);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 18;
}

.company-name {
    align-items: center;
    display: inline-flex;
    gap: .65rem;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.brand-mark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    height: 2.5rem;
    object-fit: contain;
    padding: 0 .2rem .2rem 0;
    width: 2.5rem;
}

main {
    overflow: hidden;
}

.career-hero,
.intro-section,
.culture-section,
.expectations-section,
.roles-section {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 7vw;
    padding-right: 7vw;
}

.career-hero {
    min-height: 650px;
    padding-top: 190px;
    padding-bottom: 115px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
    gap: 10vw;
    align-items: end;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.card-number,
.role-type {
    font: 500 11px/1 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.eyebrow {
    color: var(--muted-color);
    margin-bottom: 28px;
}

h1,
h2,
h3,
p {
    line-height: 1.2;
}

h1 {
    max-width: 760px;
    font-size: clamp(3.3rem, 7vw, 6.5rem);
    letter-spacing: -.075em;
    line-height: .96;
    font-weight: 700;
}

.hero-intro {
    max-width: 540px;
    margin-top: 34px;
    color: var(--muted-color);
    font-size: 1.08rem;
    line-height: 1.65;
}

.text-link,
.button-link,
.role-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
}

.text-link {
    margin-top: 38px;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 8px;
}

.text-link i,
.button-link i,
.role-link i {
    font-size: .8em;
}

.hero-statement {
    max-width: 240px;
    padding: 22px 0;
    border-top: 1px solid var(--text-color);
    color: var(--muted-color);
    font-size: .88rem;
    line-height: 1.6;
}

.statement-mark {
    display: block;
    margin-bottom: 24px;
    color: var(--text-color);
    font: 500 14px 'DM Mono', monospace;
}

.intro-section,
.expectations-section {
    padding-top: 110px;
    padding-bottom: 125px;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 10vw;
    border-top: 1px solid var(--line-color);
}

.section-heading {
    max-width: 620px;
}

.section-heading h2,
.join-strip h2 {
    font-size: clamp(2.3rem, 4.2vw, 4.2rem);
    letter-spacing: -.065em;
    line-height: 1;
}

.section-heading>p:last-child {
    margin-top: 24px;
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.7;
}

.intro-copy {
    max-width: 570px;
    padding-top: 44px;
}

.intro-copy p {
    color: var(--muted-color);
    font-size: 1.06rem;
    line-height: 1.75;
}

.intro-copy p+p {
    margin-top: 24px;
}

.culture-section,
.roles-section {
    padding-top: 110px;
    padding-bottom: 125px;
    border-top: 1px solid var(--line-color);
}

.culture-section .section-heading,
.roles-section .section-heading {
    margin-bottom: 54px;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.culture-card {
    min-height: 300px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-color);
    box-shadow: 0 14px 34px var(--shadow-color);
    transition: transform .25s ease, border-color .25s ease;
}

.culture-card:hover,
.role-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-color);
}

.culture-card h3 {
    margin-top: auto;
    font-size: 1.65rem;
    letter-spacing: -.05em;
}

.culture-card p {
    max-width: 430px;
    margin-top: 13px;
    color: var(--muted-color);
    font-size: .9rem;
    line-height: 1.65;
}

.culture-card-dark {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.culture-card-dark p {
    color: #a7b2a8;
}

.culture-card-accent {
    background: var(--accent-color);
    color: #17241d;
    border-color: var(--accent-color);
}

.culture-card-accent p {
    color: #725419;
}

.culture-card-light {
    background: var(--card-bg);
}

.culture-card-outline {
    box-shadow: none;
}

.culture-card .card-number {
    color: var(--muted-color);
}

.culture-card-dark .card-number {
    color: #a7b2a8;
}

.culture-card-accent .card-number {
    color: #725419;
}

.compact-heading {
    align-self: start;
}

.expectations-list {
    display: grid;
    gap: 35px;
}

.expectation-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    border-top: 1px solid var(--text-color);
    padding-top: 18px;
}

.expectation-item>span {
    color: var(--muted-color);
    font: 500 12px 'DM Mono', monospace;
}

.expectation-item h3 {
    margin-top: 42px;
    font-size: 1.2rem;
}

.expectation-item p {
    max-width: 530px;
    margin-top: 14px;
    color: var(--muted-color);
    font-size: .9rem;
    line-height: 1.6;
}

.roles-section {
    padding-bottom: 140px;
}

.role-list {
    border-top: 1px solid var(--line-color);
}

.role-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-color);
    transition: transform .25s ease, border-color .25s ease;
}

.role-type {
    color: var(--muted-color);
}

.role-card h3 {
    margin-top: 12px;
    font-size: 1.55rem;
    letter-spacing: -.04em;
}

.role-card p {
    max-width: 580px;
    margin-top: 10px;
    color: var(--muted-color);
    font-size: .9rem;
    line-height: 1.6;
}

.role-link {
    flex-shrink: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--text-color);
}

.join-strip {
    padding: 92px 7vw;
    background: var(--text-color);
    color: var(--bg-color);
}

.join-strip .eyebrow {
    color: var(--muted-color);
}

.join-content {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.join-strip h2 {
    max-width: 720px;
}

.button-link {
    flex-shrink: 0;
    padding: 15px 20px;
    color: #17241d;
    background: var(--accent-color);
}

@media (max-width: 700px) {
    #theme-toggle {
        top: 18px;
        right: 18px;
    }

    .career-hero,
    .intro-section,
    .culture-section,
    .expectations-section,
    .roles-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .career-hero {
        min-height: 720px;
        padding-top: 155px;
        padding-bottom: 80px;
        display: block;
    }

    .hero-statement {
        margin-top: 80px;
    }

    .intro-section,
    .expectations-section {
        display: block;
        padding-top: 75px;
        padding-bottom: 90px;
    }

    .intro-copy {
        padding-top: 45px;
    }

    .culture-section,
    .roles-section {
        padding-top: 75px;
        padding-bottom: 90px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .culture-card {
        min-height: 270px;
    }

    .expectations-list {
        margin-top: 55px;
    }

    .roles-section .section-heading {
        margin-bottom: 42px;
    }

    .role-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .join-strip {
        padding: 70px 24px;
    }

    .join-content {
        display: block;
    }

    .button-link {
        margin-top: 35px;
    }
}