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

:root {
    --bg: #0c0c0c;
    --surface: #141414;
    --border: #222;
    --muted: #555;
    --body: #b8b8b8;
    --hi: #e2e2e2;
    --accent: #6b8f71;
    --mono: 'IBM Plex Mono', monospace;
    --sans: 'IBM Plex Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--body);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    padding: 0 1.25rem;
}

.wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 0 6rem;
}

h1,
h2,
h3 {
    font-family: var(--mono);
    font-weight: 400;
    color: var(--hi);
}

h1 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

h3 {
    font-size: 0.92rem;
    color: var(--hi);
}

p {
    color: var(--body);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    font-family: var(--mono);
    font-size: 0.82rem;
    background: var(--surface);
    padding: 0.1em 0.35em;
    border-radius: 3px;
    color: var(--hi);
}

section {
    border-top: 1px solid var(--border);
    padding-top: 2.4rem;
    margin-top: 2.4rem;
}

.header-name {
    margin-bottom: 0.3rem;
}

.header-role {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--muted);
}

.header-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.header-links a {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--muted);
    padding: 0.15em 0.5em;
    margin: -0.15em -0.5em;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.header-links a:hover {
    color: var(--accent);
    background: var(--surface);
    text-decoration: none;
}

.now-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
}

.now-dot {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.project {
    margin-bottom: 2rem;
}

.project-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.project-links {
    display: flex;
    gap: 0.8rem;
}

.project-links a {
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--muted);
    padding: 0.15em 0.5em;
    margin: -0.15em -0.5em;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.project-links a:hover {
    color: var(--accent);
    background: var(--surface);
    text-decoration: none;
}

.project p {
    font-size: 0.88rem;
    color: var(--body);
    margin-bottom: 0.55rem;
}

.tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.1em 0.5em;
    border-radius: 3px;
}

.exp-item {
    margin-bottom: 1.6rem;
}

.exp-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}

.exp-role {
    color: var(--hi);
    font-weight: 500;
    font-size: 0.92rem;
}

.exp-company {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
}

.exp-period {
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--muted);
}

.exp-item p {
    font-size: 0.88rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

.resp {
    list-style: none;
}

.resp li {
    font-size: 0.85rem;
    color: var(--body);
    padding: 0.15rem 0 0.15rem 1rem;
    position: relative;
}

.resp li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.edu-item {
    margin-bottom: 1.6rem;
}

.edu-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.edu-degree {
    color: var(--hi);
    font-weight: 500;
    font-size: 0.92rem;
}

.edu-period {
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--muted);
}

.edu-item p {
    font-size: 0.85rem;
}

.cert {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.cert:last-child {
    border-bottom: none;
}

.cert-name {
    color: var(--hi);
    font-weight: 500;
}

.cert-org {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    padding: 0.15em 0.5em;
    margin: -0.15em -0.5em;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.cert-org:hover {
    color: var(--accent);
    background: var(--surface);
    text-decoration: none;
}

.hobby {
    margin-bottom: 1.4rem;
}

.hobby h3 {
    margin-bottom: 0.35rem;
}

.hobby p {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.hobby-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hobby-links a {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--muted);
    padding: 0.15em 0.5em;
    margin: -0.15em -0.5em;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.hobby-links a:hover {
    color: var(--accent);
    background: var(--surface);
    text-decoration: none;
}

.badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    background: rgba(107, 143, 113, 0.12);
    color: var(--accent);
    border: 1px solid rgba(107, 143, 113, 0.3);
    padding: 0.05em 0.5em;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.footer {
    margin-top: 3rem;
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--muted);
}

.header-name {
    font-size: 32px;
}

.name-detail {
    font-size: 0.5em;
    font-weight: normal;
    margin-left: 0px;
}