﻿/*
 * Founder Yellow - Free resume website template
 * Source: https://templates.inuno.app
 * Copyright (c) 2026 templates.inuno.app
 *
 * Free license note:
 * This free template may be used privately and commercially,
 * but the attribution/backlink to https://templates.inuno.app must remain.
 */

:root {
    --paper: #fff8c9;
    --ink: #10140d;
    --muted: #6d6741;
    --line: rgba(92, 86, 10, 0.18);
    --panel: rgba(255, 255, 235, 0.84);
    --panel-strong: #fffff3;
    --green: #6f9f00;
    --blue: #cab400;
    --rose: #ffb000;
    --sun: #f7ff00;
    --shadow: 0 24px 70px rgba(126, 119, 16, 0.16);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(111, 159, 0, 0.09) 1px, transparent 1px),
        linear-gradient(180deg, rgba(202, 180, 0, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 14% 10%, rgba(247, 255, 0, 0.44), transparent 24rem),
        radial-gradient(circle at 88% 22%, rgba(255, 176, 0, 0.22), transparent 24rem),
        var(--paper);
    background-size: 74px 74px, 74px 74px, auto, auto, auto;
    font-family: var(--font);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.topbar,
.brand,
.topbar nav,
.quick-actions,
.site-footer,
.site-footer nav,
.social-links {
    display: flex;
    align-items: center;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    justify-content: space-between;
    gap: 18px;
    width: min(1360px, calc(100% - 44px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 248, 201, 0.9);
    backdrop-filter: blur(16px);
}

.brand {
    gap: 12px;
    font-weight: 950;
}

.brand span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    background: var(--ink);
    color: var(--sun);
    font-size: 13px;
    font-weight: 950;
}

.topbar nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar nav a,
.hire-link,
.quick-actions a,
.contact-form button {
    min-height: 42px;
    padding: 0 15px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    font-size: 14px;
    font-weight: 850;
}

.topbar nav a.is-active,
.hire-link,
.quick-actions a:first-child,
.contact-form button {
    border-color: transparent;
    background: var(--ink);
    color: #fff;
}

.page {
    width: min(1360px, calc(100% - 44px));
    margin: 24px auto 0;
}

.page.narrow {
    max-width: 1160px;
}

.resume-board {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr 0.75fr;
    gap: 12px;
    align-items: stretch;
}

.profile-card,
.portrait-card,
.metric-card,
.timeline-card,
.skills-card,
.content-sheet,
.contact-panel,
.contact-form {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.profile-card,
.timeline-card,
.skills-card,
.content-sheet,
.contact-panel,
.contact-form {
    padding: clamp(20px, 3vw, 34px);
}

.profile-card {
    grid-column: span 2;
    min-height: 440px;
    display: grid;
    align-content: end;
    background:
        radial-gradient(circle at var(--mx, 20%) var(--my, 20%), rgba(245, 196, 81, 0.28), transparent 15rem),
        var(--panel-strong);
}

.eyebrow,
.section-title span,
.timeline time {
    color: var(--green);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.profile-card h1,
.content-sheet h1,
.contact-panel h1 {
    max-width: 840px;
    margin-bottom: 18px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.96;
}

.profile-card p,
.contact-panel p,
.content-sheet p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.quick-actions {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.portrait-card {
    min-height: 440px;
    display: grid;
    grid-template-rows: 1fr auto;
}

.portrait-card img {
    min-height: 330px;
}

.portrait-card div {
    padding: 18px;
    background: var(--ink);
    color: #fff;
}

.portrait-card strong,
.portrait-card span {
    display: block;
}

.portrait-card span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
}

.metric-card {
    min-height: 180px;
    display: grid;
    align-content: end;
    padding: 18px;
    color: #fff;
    background:
        radial-gradient(circle at var(--mx, 30%) var(--my, 10%), rgba(255, 255, 255, 0.28), transparent 12rem),
        var(--green);
}

.metric-card.blue { background-color: var(--blue); }
.metric-card.rose { background-color: var(--rose); }

.metric-card strong {
    font-size: 54px;
    line-height: 1;
}

.metric-card span {
    max-width: 220px;
    margin-top: 8px;
    font-weight: 780;
}

.timeline-card {
    grid-column: span 2;
}

.section-title {
    margin-bottom: 18px;
}

.section-title h2 {
    margin: 5px 0 0;
    font-size: 32px;
}

.timeline,
.job-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.timeline li,
.job-list article,
details {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
}

.timeline strong,
.job-list h2 {
    display: block;
    margin: 6px 0;
    font-size: 20px;
}

.timeline p,
.job-list p,
details p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

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

.skill-grid span {
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    font-weight: 850;
    text-align: center;
}

.split-sheet,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.split-sheet img {
    min-height: 520px;
    border-radius: 8px;
}

.legal-lines {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-grid {
    align-items: stretch;
}

.contact-panel {
    min-height: 560px;
    display: grid;
    align-content: end;
    background:
        linear-gradient(135deg, rgba(31, 122, 84, 0.9), rgba(37, 91, 212, 0.86)),
        url("../img/cv-desk.webp") center / cover;
    color: #fff;
}

.contact-panel .eyebrow,
.contact-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.mail-card {
    display: inline-grid;
    width: fit-content;
    min-height: 48px;
    margin-top: 18px;
    place-items: center;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
}

details + details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

.site-footer {
    justify-content: space-between;
    gap: 18px;
    width: min(1360px, calc(100% - 44px));
    min-height: 86px;
    margin: 28px auto 0;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
}

.site-footer strong {
    color: var(--ink);
}

.site-footer nav {
    gap: 16px;
    font-weight: 850;
}

.site-footer nav a,
.site-footer p a {
    position: relative;
    transition: color 160ms ease;
}

.site-footer nav a:after,
.site-footer p a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer p a:hover,
.site-footer p a:focus-visible {
    color: var(--green);
}

.site-footer nav a:hover:after,
.site-footer nav a:focus-visible:after,
.site-footer p a:hover:after,
.site-footer p a:focus-visible:after {
    transform: scaleX(1);
}

.social-links {
    gap: 9px;
}

.social-links a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    border-color: transparent;
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 25, 39, 0.18);
}

.social-links a:active {
    transform: translateY(0) scale(0.96);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 980px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .topbar nav {
        justify-content: flex-start;
    }

    .resume-board,
    .split-sheet,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .profile-card,
    .timeline-card {
        grid-column: span 1;
    }

    .profile-card h1,
    .content-sheet h1,
    .contact-panel h1 {
        font-size: clamp(36px, 12vw, 58px);
    }

    .split-sheet img,
    .contact-panel {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .topbar,
    .page,
    .site-footer {
        width: min(100% - 24px, 1360px);
    }

    .topbar nav a,
    .hire-link,
    .quick-actions a {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

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

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