body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: white;
    color: #999;
}

footer p {
    color: #aaa;
}

/* =========================================================
   Hero / video player
   ========================================================= */
.hh-hero {
    position: relative;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
    background-color: black;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hh-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hh-media .yt-frame-wrap,
.hh-media .yt-frame-wrap > div,
.hh-media iframe,
.hh-media .html-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hh-media .html-video {
    background: black;
    object-fit: contain;
}

/* scale youtube iframe to cover the header (hide YT chrome bleed) */
.hh-media iframe {
    width: 130%;
    height: 130%;
    left: -15%;
    top: -15%;
    pointer-events: none;
}

.hh-logo {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease, visibility 0s linear 900ms;
    pointer-events: none;
}

.hh-logo.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 900ms ease, visibility 0s;
}

.hh-logo a {
    display: inline-block;
    max-width: 80%;
    text-align: center;
}

.hh-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.hh-controls-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 350ms ease, transform 350ms ease;
    pointer-events: none;
}

.hh-controls-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hh-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.hh-controls .btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hh-controls .btn:hover {
    background: #fff;
}

.hh-now-playing {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.hh-np-artist {
    font-weight: 600;
}

.hh-np-title {
    font-style: italic;
    color: #ddd;
}

/* =========================================================
   Projects grid
   ========================================================= */
.project {
    text-align: left;
    padding-bottom: 1.5em;
}

.project > h4 {
    padding-top: 3px;
    font-size: 1.1em;
    color: #666;
}

.project h5 {
    font-size: 1.0em;
}

.project p {
    font-size: 0.8em;
}

.hh-project-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.25rem;
    margin: 0;
}

.hh-project-thumb img {
    display: block;
    width: 100%;
    transition: transform 600ms ease;
}

.hh-project-thumb:hover img {
    transform: scale(1.04);
}

.hh-project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 250ms ease;
}

.hh-project-thumb:hover .hh-project-overlay {
    opacity: 1;
}

.hh-project-overlay .btn-thumbnail {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hh-project-source-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* =========================================================
   Typography
   ========================================================= */
.title {
    padding-bottom: 1.5em;
}

.title h3 {
    text-align: left;
}

.about {
    padding-bottom: 1.5em;
}

.bio {
    padding-bottom: 1.5em;
    color: #666;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
    font-size: 0.9em;
}

footer a {
    color: white;
}

footer a:hover {
    color: #eee;
}

footer .float-right + .float-right {
    margin-right: 1rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 576px) {
    .hh-hero {
        height: 56vh;
        min-height: 20rem;
    }
}

@media (pointer: coarse) and (hover: none) {
    .hh-no-touch {
        display: none !important;
    }
    .hh-controls-wrap {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    .hh-project-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.25);
    }
}
