@import url('https://fonts.googleapis.com/css2?family=Cascadia+Mono:ital,wght@0,200..700;1,200..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    color-scheme: light dark;
    --bg: #10120f;
    --fg: #f1f0e9;
    --muted: #8d9285;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #ff946c;
    --panel: #171a15;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family:
        'Work Sans',
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    border-radius: 3px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px clamp(20px, 4vw, 40px) 72px;
}
.content {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
}
.brand {
    font-family: 'Cascadia Mono', monospace;
    font-size: 20px;
    letter-spacing: -0.055em;
    font-weight: 780;
    font-style: italic;
    width: fit-content;
}
.brand span {
    color: var(--accent);
}
.visual {
    width: 100%;
    height: clamp(140px, 24vw, 200px);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--accent), #F7C0EC, #A7BDEA);
    isolation: isolate;
}
.visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 9%, rgba(255, 255, 255, 0.26), transparent 35%),
        linear-gradient(180deg, transparent 50%, rgba(27, 31, 13, 0.2));
    z-index: -1;
}
.visual-grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("assets/grain.svg");
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.intro {
    margin-top: 32px;
}
.eyebrow {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.015em;
    margin: 0 0 15px;
}
.summary {
    margin-top: 18px;
    font-size: clamp(16px, 1.18vw, 18px);
    line-height: 1.55;
    letter-spacing: -0.025em;
    color: #d8d9d2;
}
.summary p {
    margin: 0 0 15px;
}
.availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 17px 19px;
    margin-top: 32px;
    font-size: 14px;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.dot {
    width: 7px;
    height: 7px;
    background: #9dc78a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(157, 199, 138, 0.1);
    flex: 0 0 auto;
}
.availability a,
.text-link {
    color: var(--accent);
}
.section {
    margin-top: 56px;
}
.section-label {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 12px;
}
.section-intro {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 22px;
    color: #e3e3dc;
}
.skills-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--line);
    text-align: left;
}
.skills-table thead {
    display: none;
}
.skills-table tbody tr {
    border-bottom: 1px solid var(--line);
}
.skills-table td,
.skills-table tbody th {
    padding: 15px 14px 15px 0;
    vertical-align: baseline;
}
.skills-table td:last-child,
.skills-table tbody th:last-child {
    padding-right: 0;
}
.skills-table .number {
    width: 38px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: normal;
}
.skills-table .skill-name {
    width: 32%;
    min-width: 140px;
    font-size: 15px;
    font-weight: 560;
    color: var(--fg);
    text-align: left;
}
.skills-table .skill-desc {
    color: #aeb2a8;
    font-size: 14px;
    line-height: 1.45;
}
.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 21px;
    font-size: 14px;
}
.contact a {
    text-decoration: underline;
    text-decoration-color: #555b50;
    text-underline-offset: 4px;
}
footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 12px;
}
@media (max-width: 600px) {
    .page {
        padding: 24px 18px 48px;
    }
    .visual {
        height: 130px;
        margin-top: 20px;
    }
    .intro {
        margin-top: 24px;
    }
    .availability {
        align-items: flex-start;
        flex-direction: column;
    }
    .section {
        margin-top: 44px;
    }
    footer {
        margin-top: 44px;
    }
}
@media (max-width: 500px) {
    .skills-table thead {
        display: none;
    }
    .skills-table,
    .skills-table tbody,
    .skills-table tr,
    .skills-table td,
    .skills-table tbody th {
        display: block;
    }
    .skills-table tbody tr {
        padding: 14px 0;
    }
    .skills-table td,
    .skills-table tbody th {
        padding: 0;
        border: none;
    }
    .skills-table .number {
        display: inline-block;
        width: auto;
        margin-right: 8px;
    }
    .skills-table .skill-name {
        display: inline;
        width: auto;
    }
    .skills-table .skill-desc {
        display: block;
        margin-top: 6px;
        padding-left: 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
