:root {
    --page: #10110f;
    --page-soft: #171916;
    --ink: #171814;
    --paper: #f0ecdf;
    --paper-deep: #e7e0ce;
    --green: #8dcc89;
    --green-dark: #315c38;
    --muted: #a6aaa2;
    --line: rgba(239, 236, 223, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        var(--page);
    background-size: 48px 48px;
    color: #f3f3ee;
    font-family: 'Montserrat', sans-serif;
}

a {
    color: inherit;
}

img {
    display: block;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.company-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f3f3ee;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.company-mark img {
    width: 30px;
    height: 30px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.site-header nav a:hover {
    color: #f3f3ee;
}

main {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.intro {
    position: relative;
    display: grid;
    min-height: 560px;
    overflow: hidden;
    padding: 92px 0 84px;
    align-content: center;
    border-bottom: 1px solid var(--line);
}

.intro::after {
    position: absolute;
    top: 76px;
    right: 0;
    width: min(360px, 30vw);
    aspect-ratio: 1;
    border: 1px solid rgba(141, 204, 137, 0.12);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 42px rgba(141, 204, 137, 0.025),
        inset 0 0 0 84px rgba(141, 204, 137, 0.018);
    content: '';
    pointer-events: none;
}

.eyebrow,
.section-number {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    gap: 10px;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(141, 204, 137, 0.09);
}

.intro h1 {
    max-width: 820px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(52px, 7.4vw, 96px);
    font-weight: 700;
    line-height: 0.93;
    letter-spacing: -0.055em;
}

.intro-copy {
    max-width: 660px;
    margin-top: 30px;
    color: #b9bdb5;
    font-size: 17px;
    line-height: 1.75;
}

.intro-meta {
    display: flex;
    margin-top: 38px;
    align-items: center;
    gap: 0;
    color: #c8cbc4;
    font-size: 12px;
    font-weight: 600;
}

.intro-meta span {
    display: inline-flex;
    min-height: 28px;
    padding: 0 18px;
    align-items: center;
    border-left: 1px solid var(--line);
}

.intro-meta span:first-child {
    padding-left: 0;
    border-left: 0;
}

.intro-meta strong {
    margin-right: 7px;
    color: var(--green);
}

.open-projects {
    padding: 72px 0 96px;
}

.section-heading {
    display: grid;
    margin-bottom: 36px;
    align-items: end;
    grid-template-columns: 1fr minmax(280px, 440px);
    gap: 48px;
}

.section-heading h1 {
    margin-top: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.section-heading > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.sdk-note {
    display: grid;
    margin-bottom: 34px;
    padding: 20px 22px;
    align-items: center;
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    background: rgba(255, 255, 255, 0.025);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
}

.sdk-note-label {
    margin-bottom: 6px;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sdk-note div > p:last-child {
    max-width: 720px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.sdk-note a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.sdk-note a span:last-child {
    color: var(--green);
    font-size: 16px;
    transition: transform 0.2s;
}

.sdk-note a:hover span:last-child {
    transform: translate(2px, -2px);
}

.board {
    position: relative;
    padding: 54px;
    border: 10px solid #24251f;
    border-radius: 3px;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 65%, rgba(255, 255, 255, 0.026) 0 1px, transparent 1.5px),
        #32332b;
    background-size: 17px 19px, 23px 29px;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.posting {
    position: relative;
    display: flex;
    min-height: 640px;
    padding: 38px 36px 34px;
    flex-direction: column;
    background:
        linear-gradient(90deg, rgba(40, 35, 25, 0.025) 1px, transparent 1px),
        var(--paper);
    background-size: 24px 100%;
    color: var(--ink);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.posting--one {
    transform: rotate(-0.28deg);
}

.posting--two {
    transform: rotate(0.32deg);
}

.posting--three {
    width: calc(50% - 17px);
    justify-self: center;
    grid-column: 1 / -1;
    transform: rotate(-0.16deg);
}

.posting:hover {
    z-index: 2;
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
}

.pin {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 13px;
    height: 13px;
    transform: translateX(-50%);
    border: 2px solid #4c7d4f;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.24);
}

.posting-header {
    display: flex;
    margin-top: 9px;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.posting-ref,
.status,
.posting-facts dt,
.posting-requirements h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.posting-ref {
    color: #737267;
}

.status {
    padding: 6px 8px 5px;
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
    white-space: nowrap;
}

.posting h2 {
    margin-top: 30px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.posting-summary {
    margin-top: 18px;
    color: #4d4d45;
    font-size: 14px;
    line-height: 1.72;
}

.posting-facts {
    display: grid;
    margin-top: 28px;
    border-top: 1px solid rgba(23, 24, 20, 0.18);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.posting-facts div {
    padding: 16px 14px 15px 0;
    border-bottom: 1px solid rgba(23, 24, 20, 0.16);
}

.posting-facts div:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid rgba(23, 24, 20, 0.16);
}

.posting-facts div:last-child {
    grid-column: 1 / -1;
}

.posting-facts dt,
.posting-requirements h4 {
    color: #737267;
}

.posting-facts dd {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.posting-requirements {
    margin-top: 24px;
}

.posting-requirements ul {
    display: grid;
    margin-top: 12px;
    gap: 10px;
    list-style: none;
}

.posting-requirements li {
    position: relative;
    padding-left: 20px;
    color: #42433c;
    font-size: 13px;
    line-height: 1.55;
}

.posting-requirements li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 9px;
    height: 1px;
    background: var(--green-dark);
    content: '';
}

.apply-link {
    display: flex;
    margin-top: auto;
    padding: 15px 17px;
    align-items: center;
    justify-content: space-between;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.apply-link span:last-child {
    color: var(--green);
    font-size: 18px;
    transition: transform 0.2s;
}

.apply-link:hover span:last-child {
    transform: translate(2px, -2px);
}

.board-note {
    display: grid;
    margin: 34px auto 0;
    padding: 17px 19px;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-left: 4px solid var(--green);
    background: #e0dccf;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.6;
    transform: rotate(-0.15deg);
}

.board-note span {
    color: #53544c;
}

.process {
    display: grid;
    border-top: 1px solid var(--line);
    grid-template-columns: minmax(260px, 0.8fr) 1.4fr;
    gap: 84px;
}

.process-intro {
    position: sticky;
    top: 28px;
    align-self: start;
}

.process-intro > p:last-child {
    max-width: 390px;
    margin-top: 22px;
}

.process-steps {
    list-style: none;
}

.process-steps li {
    display: grid;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 58px 1fr;
    gap: 20px;
}

.process-steps li:first-child {
    border-top-color: rgba(141, 204, 137, 0.6);
}

.process-steps > li > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.process-steps h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
}

.process-steps p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.site-footer {
    display: flex;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 42px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}

.company-mark--footer img {
    width: 24px;
    height: 24px;
    opacity: 0.65;
}

.company-mark--footer span,
.site-footer p {
    color: #72776f;
    font-size: 11px;
}

@media (max-width: 900px) {
    .intro {
        min-height: 500px;
    }

    .intro::after {
        opacity: 0.55;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .board {
        padding: 38px;
    }

    .board-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .posting {
        min-height: 0;
    }

    .posting--three {
        width: auto;
        grid-column: auto;
    }

    .apply-link {
        margin-top: 28px;
    }

    .process-intro {
        position: static;
    }
}

@media (max-width: 620px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 28px, 1180px);
    }

    .intro {
        min-height: 0;
        padding: 76px 0 64px;
    }

    .intro::after {
        top: 84px;
        right: 0;
        width: 240px;
    }

    .intro h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .intro-copy {
        margin-top: 24px;
        font-size: 14px;
    }

    .intro-meta {
        flex-wrap: wrap;
        gap: 9px;
    }

    .intro-meta span {
        min-height: auto;
        padding: 0 10px;
        font-size: 10px;
    }

    .open-projects {
        padding: 54px 0 68px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .sdk-note {
        margin-bottom: 26px;
        padding: 18px;
        align-items: start;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sdk-note a {
        white-space: normal;
    }

    .board {
        margin-inline: -7px;
        padding: 22px 15px 24px;
        border-width: 7px;
    }

    .posting {
        padding: 32px 22px 24px;
        transform: none;
    }

    .posting-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .posting h2 {
        font-size: 34px;
    }

    .posting-facts {
        grid-template-columns: 1fr;
    }

    .posting-facts div,
    .posting-facts div:nth-child(even) {
        padding: 14px 0;
        border-left: 0;
    }

    .posting-facts div:last-child {
        grid-column: auto;
    }

    .board-note {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .process-steps li {
        grid-template-columns: 42px 1fr;
        gap: 10px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
