@font-face {
    font-family: Pretendard;
    src: url("../exercises/fonts/PretendardVariable.woff2") format("woff2");
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #141414;
    --secondary-ink: #525252;
    --line: #d4d4d2;
    --surface: #f0f0ee;
    --page-gutter: clamp(1rem, 4.2vw, 4.5rem);
    font-family: Pretendard, system-ui, -apple-system, "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: #fff;
    color-scheme: light;
}

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

body { margin: 0; }

h1, h2, p { margin: 0; }

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

a { color: inherit; }

a:focus-visible {
    outline: 2px solid #294fb3;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 2;
    top: .5rem;
    left: .5rem;
    padding: .65rem .9rem;
    transform: translateY(calc(-100% - 1rem));
    background: var(--ink);
    color: #fff;
}

.skip-link:focus { transform: none; }

.page-width {
    width: min(100% - 2 * var(--page-gutter), 74rem);
    margin-inline: auto;
}

.masthead { border-bottom: 1px solid var(--line); }

.masthead-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 4.125rem;
    gap: 1rem;
}

.brand,
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    text-decoration: none;
}

.brand {
    gap: .625rem;
    font-size: 1.06rem;
    font-weight: 820;
    letter-spacing: -.045em;
}

.brand img { flex: 0 0 auto; }

.nav-link {
    font-size: .94rem;
    font-weight: 650;
}

.brand:hover, .nav-link:hover {
    text-decoration: underline;
    text-underline-offset: .27em;
}

.hero {
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: stretch;
    padding-block: clamp(2.4rem, 5.8vw, 5.25rem);
    border-bottom: 1px solid var(--ink);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.profession {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -.025em;
}

.hero h1 {
    margin-top: .6rem;
    font-size: clamp(3.45rem, 8.8vw, 7.6rem);
    font-weight: 860;
    letter-spacing: -.075em;
    line-height: .98;
}

.hero-description, .atlas-copy p {
    max-width: 28rem;
    color: var(--secondary-ink);
    font-size: clamp(1rem, 1.5vw, 1.23rem);
    line-height: 1.65;
    letter-spacing: -.025em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hero-description { margin-top: clamp(1.15rem, 3vw, 1.9rem); }

.action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3.125rem;
    padding: .55rem 1.05rem;
    border: 1px solid var(--ink);
    font-size: .93rem;
    font-weight: 690;
    text-decoration: none;
}

.action-primary {
    margin-top: clamp(1.2rem, 3vw, 1.8rem);
    background: var(--ink);
    color: #fff;
}

.action-primary:hover { background: #383838; }

.hero-mark {
    display: grid;
    place-items: center;
    min-height: clamp(10.75rem, 33vw, 22rem);
    padding: 1.3rem;
    background: var(--surface);
}

.hero-mark img {
    width: clamp(7.25rem, 16.5vw, 12rem);
    height: auto;
    mix-blend-mode: multiply;
}

.atlas {
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: clamp(1.85rem, 4.6vw, 4rem);
}

.atlas h2 {
    font-size: clamp(1.65rem, 3.9vw, 3.05rem);
    font-weight: 790;
    letter-spacing: -.065em;
    line-height: 1.1;
    word-break: keep-all;
}

.atlas-copy p { margin-top: .85rem; }

.action-secondary { margin-top: 1.22rem; }

.action-secondary:hover { background: var(--surface); }

.atlas-image {
    width: 100%;
    height: auto;
    background: #e8e8e6;
}

@media (min-width: 45rem) {
    .hero, .atlas { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

@media (max-width: 44.999rem) {
    .masthead-inner { min-height: 3.75rem; }
    .hero { gap: 1.35rem; }
}
