@font-face
{
    font-family: "regular";
    src: url("../font/Poppins-Regular.ttf");
}

@font-face
{
    font-family: "semibold";
    src: url("../font/Poppins-SemiBold.ttf");
}

@font-face
{
    font-family: "bold";
    src: url("../font/Poppins-Bold.ttf");
}

@font-face
{
    font-family: "extrabold";
    src: url("../font/Poppins-ExtraBold.ttf");
}

@font-face
{
    font-family: "light";
    src: url("../font/Poppins-Light.ttf");
}

:root
{
    /* Layout */
    --radius: 8px;
    --max: 1200px;

    /* Text */
    --color-text: #606060;
    --color-text-light: #555555;
    --color-text-muted: #666666;
    --color-text-note: #808080;
    --color-text-inverse: #ffffff;
    --color-text-inverse-muted: rgba(255, 255, 255, 0.75);

    /* Backgrounds */
    --color-bg-page: #e8e8f0;
    --color-bg-card: #ffffff;
    --color-bg-card-personal: #f8f8ff;
    --color-bg-subcard: #eef0f6;
    --color-bg-banner: #eef0f6;
    --color-bg-gallery-card: #e8f2fa;

    /* Brand */
    --color-accent: #00b4ff;
    --color-accent-hover: #009fe3;
    --color-accent-personal: #c4299d;
    --color-independent: #009fe3;

    /* Navigation controls */
    --color-nav-button: rgba(0, 0, 0, 0.5);
    --color-nav-button-hover: #000000;

    /* Progress bar */
    --color-progress-track: rgba(0, 0, 0, 0.12);
    --color-progress-fill: rgba(0, 64, 128, 0.25);

    /* Scrollbar */

    /* Borders, overlays, and shadows */
    --color-header-bg: rgba(255, 255, 255, 0.92);
    --color-header-border: rgba(0, 0, 0, 0.05);
    --color-label-bg: rgba(8, 24, 32, 0.5);
    --shadow-card: 0 12px 20px rgba(0, 0, 0, 0.1);

    /* Print */
    --color-print-text: #222222;
    --color-print-label: #555555;
    --color-print-card: #f4f4f4;

    /* Image viewer */
    --color-viewer-overlay: rgba(0, 0, 0, 0.62);
    --color-viewer-surface: rgba(255, 255, 255, 0.06);
    --color-viewer-border: rgba(255, 255, 255, 0.12);
    --color-viewer-slide: rgba(0, 0, 0, 0.25);
    --color-viewer-control-border: rgba(255, 255, 255, 0.18);
    --color-viewer-control: rgba(0, 0, 0, 0.45);
    --color-viewer-control-hover: rgba(0, 0, 0, 0.6);
    --color-viewer-focus: rgba(255, 255, 255, 0.8);
    --color-viewer-dot: rgba(255, 255, 255, 0.35);
    --shadow-viewer: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html
{
    height: 100%;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

body
{
    margin: 0;
    color: var(--color-text);
    font-family: "regular";
    font-size: 11pt;
    letter-spacing: 0.4px;
    background-color: var(--color-bg-page);
}


h1
{
    font-family: "extrabold";
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 16px 0;
    color: #444;
}

h2
{
    font-family: "semibold";
    font-size: 18px;
    margin: 0 0 4px 0;
    color: #555;}

h3
{
    font-family: "semibold";
    font-size: 15px;
    color: #666;
    margin: 0 0 6px 0;
}

h4
{
    font-family: "semibold";
    font-size: 13px;
    color: #777;
    margin: 0 0 0 0;
}


p
{
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}


.small {
    font-size: 10px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.medium {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text-light);
}


.wrap
{
    max-width: var(--max);
    margin: 0 auto;
    padding: 40px 20px;
}

.semibold
{
    font-family: "semibold";
}

.bold
{
    font-family: "bold";
}

.regular
{
    font-family: "regular";
    font-size: 14pt;
}

.light
{
    font-family: "light";
}

.subline
{
    font-family: "semibold";
    color: rgba(255, 255, 255, 0.67);
    font-size: 13px;
}


.text-center
{
    text-align: center;
}

.portfolio-section-links
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 0 0 0 40px;

    font-family: "semibold";
    font-size: 14px;
}

.portfolio-section-links a
{
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;

    transition: color 0.2s ease, border-color 0.2s ease;
}

.portfolio-section-links a:hover,
.portfolio-section-links a:focus-visible
{
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}


.link-button
{
    display: flex;
    width: fit-content;
    margin: 0 auto;

    width: 256px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: var(--color-accent);
    color: var(--color-text-inverse);
    border-radius: 999px;

    font-family: "semibold";
    font-size: 15px;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.link-button:hover
{
    background: var(--color-accent-hover);
}






.download-buttons
{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 10px 0 12px 0;
}

.download-button
{
    width: 292px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: var(--color-accent);
    color: var(--color-text-inverse);
    border-radius: 6px;

    font-family: "semibold";
    font-size: 15px;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.download-button:hover
{
    background: var(--color-accent-hover);
}

.download-button:active
{
    transform: translateY(0);
}

.download-icon
{
    width: 26px;
    height: 26px;
    display: block;
}


a.external-link {
    color: var(--color-accent);
    text-decoration: underline;
}

a.external-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}


.two-column {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.two-column .column {
    flex: 1;
    min-width: 0;

    display: flex;
}

.two-column .subcard
{
    margin-top: 0;
    flex: 1;
}

.footer
{
    max-width: var(--max);
    margin: 40px auto 0 auto;
    padding: 0 20px 40px 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer a
{
    color: color-mix(in srgb, var(--color-text) 65%, transparent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover
{
    color: var(--color-text);
}


.screenshot-grid
{
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);
}

.screenshot-card
{
    grid-column: span 6;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
}

.screenshot-card.small
{
    grid-column: span 4;
}


.screenshot-button
{
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.screenshot-button img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-card-label
{
    position: absolute;
    inset: auto 14px 14px 14px;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--color-text-inverse-muted);
    background: var(--color-label-bg);
    width: fit-content;
}



.highlight
{
    font-weight: bold;
}

.name
{
    font-style: italic;
}

.name bold
{
    font-weight: bold;
}

.note
{
    font-size: 11px;
    color: var(--color-text-note);
    line-height: 1.3;
}


.video-frame
{
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 8px;
}

.video-frame video
{
    display: block;
    width: 100%;
    border-radius: var(--radius);
}


/* ---------- top navigation ---------- */

.topbar
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-header-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-header-border);
    z-index: 2000;
}

.topbar-inner
{
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo
{
    font-family: "semibold";
    font-size: 16px;
}

.logo img
{
    height: 24px;
    display: block;
}

.nav a
{
    margin-left: 26px;
    font-family: "semibold";
    font-size: 13px;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.7;
}

.nav a:hover
{
    opacity: 1;
}

/* space so header doesn't overlap page */

.wrap
{
    padding-top: 76px;
}

/* smooth scrolling */

html
{
    scroll-behavior: smooth;
}


.funding-list
{
    margin: 10px 0 20px 0;
    padding-left: 24px;
    list-style-position: inside;
}

.funding-list li
{
    margin-bottom: 12px;
    line-height: 1.5;
}


#elevatorPitch p
{
    margin-bottom: 0;
}
