/* =============================================================================
   Hamza — site design layer.
   White page, black text, two greys. No gradients, shadows, cards or rules.
   Loaded on every page after style.css, which it deliberately overrides.
   ============================================================================= */

:root,
body {
    --hb-ink: #111111;
    --hb-ink-2: #555555;
    --hb-ink-3: #767676;
    --hb-wash: #f4f4f4;
    --hb-line: #ececec;
    --hb-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", "Segoe UI Mono", Consolas, Menlo, monospace;

    /* One spacing scale for every page */
    --hb-measure: 1440px;
    --hb-gutter: clamp(1.5rem, 5vw, 4rem);
    --hb-section: clamp(2.75rem, 6vw, 4.5rem);
    --hb-block: clamp(1.5rem, 3vw, 2.25rem);
}

body {
    background-color: #fff;
    color: var(--hb-ink);
}

body.hb-menu-open {
    overflow: hidden;
}

.site-content {
    padding: 0;
}

#primary.site-main {
    margin-bottom: 0;
}

.hb-container,
.site-content .container,
.breadcrumbs-container.container {
    width: 100%;
    max-width: var(--hb-measure);
    margin: 0 auto;
    padding: 0 var(--hb-gutter);
}

a {
    color: var(--hb-ink);
}

a:hover {
    color: var(--hb-ink);
}

/* -----------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.hb-header {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.hb-header::after {
    display: none;
}

.hb-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    max-width: var(--hb-measure);
    margin: 0 auto;
    padding: 1.35rem var(--hb-gutter);
}

.hb-mark {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--hb-ink);
    white-space: nowrap;
}

.hb-nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-nav__link {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--hb-ink-3);
    transition: color 0.15s ease;
}

.hb-nav__link:hover,
.hb-nav__link.is-current {
    color: var(--hb-ink);
}

.hb-burger {
    display: none;
    width: 32px;
    height: 32px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.hb-burger__box {
    position: relative;
    display: block;
    width: 20px;
    height: 9px;
    margin: 0 auto;
}

.hb-burger__box i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--hb-ink);
    transition: transform 0.25s ease;
}

.hb-burger__box i:first-child { top: 0; }
.hb-burger__box i:last-child  { bottom: 0; }

.hb-burger[aria-expanded="true"] .hb-burger__box i:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.hb-burger[aria-expanded="true"] .hb-burger__box i:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.hb-menu {
    position: fixed;
    inset: 0;
    z-index: 890;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(1.25rem, 6vw, 3rem);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

body.hb-menu-open .hb-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0s;
}

.hb-menu__link {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--hb-ink-3);
}

.hb-menu__link.is-current {
    color: var(--hb-ink);
}

/* -----------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs-container {
    padding-top: 1.75rem;
}

.breadcrumbs,
.breadcrumbs * {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    font-size: 0.82rem;
    color: var(--hb-ink-3);
}

.breadcrumbs a {
    color: var(--hb-ink-3);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--hb-ink);
}

/* -----------------------------------------------------------------------------
   Shared page furniture
   -------------------------------------------------------------------------- */

/* Strip the decoration the old stylesheet applies across content sections. */
.site-content section,
.site-content .container > div,
.site-content article,
.site-content aside,
.site-content [class*="-card"],
.site-content [class*="-item"],
.site-content [class*="-container"],
.site-content [class*="project-"],
.site-content [class*="skills-"],
.site-content [class*="contact-"] {
    background-image: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-shadow: none;
}

.site-content section {
    background-color: transparent;
    border: 0;
}

/* The old sheet clips gradients into headings — undo that everywhere. */
.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content [class*="title"],
.site-content [class*="heading"],
.education-institution,
.exp-node__period,
.exp-node__role,
.language-level,
.market-name {
    background-image: none;
    background-color: transparent;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.education-institution,
.language-level {
    color: var(--hb-ink-2);
}

.exp-node__period,
.exp-node__meta {
    color: var(--hb-ink-3);
}

/* Page heads: h1, one grey line under it. */
.about-hero,
.contact-hero,
#hero.hero,
.page-hero {
    padding: var(--hb-section) 0 var(--hb-block);
    background: none;
    text-align: left;
}

.about-hero h1,
.contact-hero h1,
#hero.hero h1,
.site-content .page-title,
.site-content .entry-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--hb-ink);
    margin-bottom: 0.6rem;
}

.about-hero h2,
.contact-hero h2,
#hero.hero h2 {
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--hb-ink-2);
    margin-bottom: 0.9rem;
}

.about-hero p,
.contact-hero p,
#hero.hero p,
.about-hero-content p,
.contact-content > p {
    max-width: 62ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
}

.about-hero-content,
.contact-content,
#hero.hero .hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
}

/* Section bands */
.about-section,
.featured-projects-section,
.project-categories-section,
.project-overview,
.about-contact,
.contact-cta-section,
.contact-form-section {
    padding: 0 0 var(--hb-section);
    background: none;
}

.about-section + .about-section {
    padding-top: 0;
}

.about-section.bg-light {
    background: none;
}

/* Small mono section labels, matching the homepage */
.site-content .section-title,
.work-experience-title,
.subsection-title,
.card-header,
.sidebar-projects h3,
.related-projects h3,
.suggested-projects h3 {
    font-family: var(--hb-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
    background: none;
    -webkit-text-fill-color: currentColor;
    padding: 0;
    margin: 0 0 1.25rem;
    text-align: left;
}

.site-content .section-title::after,
.work-experience-title::after,
.subsection-title::after,
.card-header::after,
.site-content h2::after,
.site-content h3::after {
    display: none;
}

.site-content .section-description {
    max-width: 64ch;
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
    text-align: left;
}

.section-content p,
.site-content p {
    color: var(--hb-ink-2);
    line-height: 1.75;
}

.site-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--hb-ink);
}

/* Long unbroken project titles must not push the page sideways. */
.site-content h1,
.site-content h2,
.site-content h3,
.site-content .project-title,
.hb-row__title,
.site-content p {
    overflow-wrap: break-word;
}

/* Buttons become quiet text links everywhere */
.site-content .btn,
.site-content .read-more,
.site-content .view-all-projects-section a,
.site-content .hb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
}

.site-content .btn:hover,
.site-content .read-more:hover {
    background: none;
    color: var(--hb-ink-2);
}

/* =============================================================================
   Homepage
   ============================================================================= */
.hb-home p,
.hb-home h1,
.hb-home h2,
.hb-home ul,
.hb-home ol {
    margin: 0;
}

.hb-hero {
    padding: var(--hb-section) 0 var(--hb-block);
}

.hb-home .hb-headline {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--hb-ink);
}

.hb-home .hb-role {
    margin-top: 0.6rem;
    font-size: 1.02rem;
    color: var(--hb-ink-2);
}

.hb-home .hb-hero__lede {
    max-width: 58ch;
    margin-top: 1.5rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
}

.hb-work {
    position: relative;
    padding: var(--hb-block) 0 var(--hb-section);
}

.hb-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hb-sec-title {
    font-family: var(--hb-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
}

.hb-tabs {
    display: inline-flex;
    gap: 0.25rem;
}

/* Filter buttons: a real hit area and a filled active state, so the browser's
   focus ring has something to sit around instead of hugging bare text. */
.hb-tab,
.filter-container .project-category {
    min-height: 0;
    padding: 0.42rem 0.75rem;
    border: 0;
    border-radius: 3px;
    background: none;
    cursor: pointer;
    font-size: 0.86rem;
    line-height: 1.2;
    color: var(--hb-ink-3);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hb-tab:hover,
.filter-container .project-category:hover {
    background: var(--hb-wash);
    color: var(--hb-ink-2);
}

.hb-tab.is-active,
.filter-container .project-category.active {
    background: var(--hb-wash);
    color: var(--hb-ink);
    text-decoration: none;
}

.hb-tab:focus,
.filter-container .project-category:focus {
    outline: none;
}

.hb-tab:focus-visible,
.filter-container .project-category:focus-visible {
    outline: 2px solid var(--hb-ink);
    outline-offset: 2px;
}

.hb-index {
    list-style: none;
    padding: 0;
}

.hb-row.is-hidden {
    display: none;
}

.hb-row__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: clamp(0.9rem, 2.5vw, 2rem);
    padding: 1rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--hb-ink);
    transition: background-color 0.15s ease;
}

.hb-row__link:hover,
.hb-row__link:focus-visible {
    background: var(--hb-wash);
}

.hb-row__num {
    font: 500 0.78rem/1 var(--hb-mono);
    color: var(--hb-ink-3);
}

.hb-row__body {
    min-width: 0;
}

.hb-row__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.hb-row__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.7rem;
    margin-top: 0.3rem;
}

.hb-row__tech span {
    font-size: 0.82rem;
    color: var(--hb-ink-3);
}

.hb-row__tech span + span::before {
    content: "· ";
}

.hb-row__tag {
    display: none;
}

.hb-row__year {
    font: 500 0.8rem/1 var(--hb-mono);
    color: var(--hb-ink-3);
}

.hb-row__arrow {
    display: inline-flex;
    align-items: center;
    width: 16px;
    flex: none;
    color: var(--hb-ink-3);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.hb-row__arrow svg {
    width: 15px;
    height: 15px;
}

.hb-row__link:hover .hb-row__arrow {
    opacity: 1;
}

.hb-index__empty {
    padding: 2rem 0;
    font-size: 0.9rem;
    color: var(--hb-ink-3);
}

.hb-work__foot {
    margin-top: 1.75rem;
}

.hb-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.15s ease;
}

.hb-btn:hover svg {
    transform: translateX(3px);
}

.hb-preview {
    display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
    .hb-preview {
        display: block;
        position: fixed;
        top: -50vh;
        left: -50vw;
        z-index: 60;
        width: 230px;
        aspect-ratio: 4 / 3;
        margin: 0;
        pointer-events: none;
        transform: translate(-50%, -50%);
    }

    .hb-preview img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 3px;
        background: var(--hb-wash);
        opacity: 0;
        transition: opacity 0.18s ease;
    }

    .hb-preview.is-visible img {
        opacity: 1;
    }
}

.hb-end {
    padding: 0 0 var(--hb-section);
}

.hb-home .hb-end p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--hb-ink-2);
}

.hb-end a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =============================================================================
   About page
   ============================================================================= */
.skills-tree,
.exp-tree {
    --tree-ink: var(--hb-ink);
    --tree-body: var(--hb-ink-2);
    --tree-accent: var(--hb-ink-3);
    --tree-chip-bg: var(--hb-wash);
    --tree-chip-ink: var(--hb-ink-2);
    --tree-chip-bd: transparent;
    max-width: none;
    margin: 0;
}

.skills-tree__list {
    border-left: 0;
    padding-left: 0;
}

.skills-tree__node {
    padding-left: 0;
    gap: 1.5rem;
}

.skills-tree__node::before {
    display: none;
}

.skills-tree__dir {
    font-family: var(--hb-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--hb-ink);
}

.skills-tree__dir span {
    color: var(--hb-ink-3);
}

.skills-tree__skills li {
    border: 0;
    border-radius: 3px;
    background: var(--hb-wash);
    color: var(--hb-ink-2);
    font-family: var(--hb-mono);
    font-size: 0.78rem;
}

.skills-split {
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.skills-split__intro p {
    color: var(--hb-ink-2);
}

.exp-label,
.exp-node {
    background: none;
}

.education-item,
.language-item,
.market-item,
.interest-item {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
}

.education-item h3,
.language-item h3,
.market-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hb-ink);
    margin-bottom: 0.3rem;
}

.education-item p,
.language-item p,
.market-item p,
.education-info p {
    font-size: 0.95rem;
    color: var(--hb-ink-2);
}

.languages-container,
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem 2rem;
}

.language-item::before,
.market-item::before,
.education-item::before {
    display: none;
}

.about-contact {
    padding-bottom: var(--hb-section);
    text-align: left;
}

.about-contact p,
.about-contact h2 {
    max-width: 62ch;
    margin-left: 0;
    margin-right: 0;
}

.about-contact h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--hb-ink);
    margin-bottom: 0.6rem;
}

/* The old sheet centres these blocks with auto margins and narrow max-widths;
   everything should sit on the same left edge as the page container. */
.site-content .section-content,
.site-content .lead,
.site-content .education-item,
.site-content .education-container,
.site-content .languages-section,
.site-content .markets-section,
.site-content .interests-container,
.site-content .about-section p,
.site-content .skills-container {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.site-content .section-content > p,
.site-content .about-section > .container > p {
    max-width: 68ch;
}

.about-section .skills-split__intro p,
.about-section .work-experience-subtitle {
    max-width: 64ch;
}

/* About: the H1 is a long sentence, so hold it to the same measure as the
   prose underneath instead of letting it run the full page width. */
.about-hero-content {
    max-width: 47rem;
}

.about-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    line-height: 1.18;
}

/* About: intro + the education / languages / regions row --------------- */
.about-kicker {
    margin-bottom: 0.9rem !important;
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
}

/* Every paragraph outside the two untouched sections matches their size and
   measure, so the page reads as one column of text rather than four. */
.about-page .lead,
.about-page .lead--sub,
.about-page .about-contact p {
    max-width: 68ch;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
}

.site-content .about-hero .lead--sub {
    margin-top: 1.1rem;
}

/* =============================================================================
   Projects archive
   ============================================================================= */
#project-categories.project-categories-section {
    padding: 0 0 1.5rem;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0 0 1.75rem;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.liquid-slider {
    display: none;
}

.filter-container .project-category,
.project-categories .project-category {
    box-shadow: none;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.project-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.project-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    transition: none;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-thumbnail {
    display: block;
    margin-bottom: 0.9rem;
    border-radius: 3px;
    overflow: hidden;
    background: var(--hb-wash);
    aspect-ratio: 4 / 3;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.project-card:hover .project-thumbnail img {
    opacity: 0.85;
    transform: none;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--hb-wash);
    color: var(--hb-ink-3);
    font-size: 1.5rem;
}

.project-card .project-content {
    display: block;
    flex: none;
    padding: 0;
    background: none;
}

.project-card .project-title,
.project-card .project-excerpt,
.project-card .project-category-tag {
    flex: none;
    min-height: 0;
    height: auto;
}

.project-thumbnail img,
.project-card img {
    padding: 0;
    margin: 0;
}

.project-grid .project-title,
.project-card .project-title {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.015em;
    margin-bottom: 0.35rem;
}

.project-grid .project-title a {
    color: var(--hb-ink);
    text-decoration: none;
}

.project-grid .project-title a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--hb-ink-2);
    margin-bottom: 0.6rem;
}

.project-footer,
.project-card .read-more {
    display: none;
    color: var(--hb-ink-3);
}

.project-category-tag {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.project-category-tag a,
.project-category-tag .category-personal,
.project-category-tag .category-company {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--hb-ink-3);
    text-decoration: none;
}

.project-category-tag a:hover {
    color: var(--hb-ink);
}

.pagination-container,
.pagination {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.pagination .page-numbers,
.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.4rem;
    border: 0;
    border-radius: 3px;
    background: none;
    box-shadow: none;
    font-family: var(--hb-mono);
    font-size: 0.82rem;
    color: var(--hb-ink-3);
}

.pagination .page-numbers:hover {
    background: var(--hb-wash);
    color: var(--hb-ink);
}

.pagination .page-numbers.current {
    background: none;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

#contact-cta.contact-cta-section {
    padding: 0 0 var(--hb-section);
    background: none;
    text-align: left;
}

#contact-cta.contact-cta-section h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

#contact-cta.contact-cta-section p {
    max-width: 60ch;
    margin: 0 auto 1.25rem 0;
    color: var(--hb-ink-2);
}

/* =============================================================================
   Single project
   ============================================================================= */
.project-hero {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
    background: none;
}

.project-hero-content {
    display: block;
}

.project-featured-image {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 4px;
    overflow: hidden;
    background: var(--hb-wash);
    box-shadow: none;
}

.project-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.project-hero .project-title,
.project-header .project-title {
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--hb-ink);
    margin-bottom: 0.75rem;
}

.project-meta,
.project-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-family: var(--hb-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--hb-ink-3);
}

.project-meta a,
.project-categories a {
    color: var(--hb-ink-3);
    text-decoration: none;
    background: none;
    padding: 0;
    border: 0;
}

.project-meta a:hover,
.project-categories a:hover {
    color: var(--hb-ink);
}

.project-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.project-description {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--hb-ink-2);
}

.project-description h2,
.project-description h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hb-ink);
}

.project-description a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.project-description img {
    border-radius: 4px;
}

.project-sidebar {
    position: static;
}

.project-details-card,
.project-tags-card,
.sidebar-projects,
.project-info-card {
    padding: 0 0 1.75rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.project-details-grid {
    display: grid;
    gap: 0.9rem;
}

.detail-item {
    display: block;
    padding: 0;
    border: 0;
    background: none;
}

.detail-label {
    display: block;
    font-family: var(--hb-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--hb-ink);
}

.detail-value a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tech-stack-item,
.project-tags a,
.project-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0 0.3rem 0.3rem 0;
    border: 0;
    border-radius: 3px;
    background: var(--hb-wash);
    font-family: var(--hb-mono);
    font-size: 0.75rem;
    color: var(--hb-ink-2);
    text-decoration: none;
    box-shadow: none;
}

.project-tags a:hover {
    background: #ebebeb;
    color: var(--hb-ink);
}

.sidebar-project,
.related-projects .sidebar-project,
.suggested-projects .sidebar-project {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.sidebar-project img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 3px;
    background: var(--hb-wash);
}

.sidebar-project a,
.sidebar-project h4 {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--hb-ink);
    text-decoration: none;
}

.sidebar-project a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.view-all-projects-section {
    padding: 1rem 0 0;
    text-align: left;
    background: none;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.nav-previous,
.nav-next {
    max-width: 22rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
}

.nav-previous a,
.nav-next a {
    display: block;
    font-size: 0.95rem;
    color: var(--hb-ink);
    text-decoration: none;
    padding: 0;
    background: none;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-next {
    margin-left: auto;
    text-align: right;
}

/* Legacy decoration on the single-project page needs a firmer hand: these
   selectors carry a body-class bump so they beat the original rules. */
body.single-project .project-hero::before,
body.single-project .project-hero::after,
body.single-project .project-overview::before,
body.single-project .project-overview::after,
body.single-project .project-details-card::before,
body.single-project .card-header::before {
    display: none;
}

body.single-project .project-sidebar,
body.single-project .project-details-card,
body.single-project .project-tags-card,
body.single-project .project-info-item,
body.single-project .project-info-card,
body.single-project .sidebar-projects,
body.single-project .related-projects,
body.single-project .suggested-projects,
body.single-project .project-categories,
body.single-project .nav-previous,
body.single-project .nav-next,
body.single-project .view-all-projects-section {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

body.single-project .project-featured-image {
    border-radius: 4px;
    max-height: 26rem;
}

body.single-project .project-featured-image img {
    height: 100%;
    object-fit: cover;
}

body.single-project .project-tag,
body.single-project .tech-stack-item,
body.single-project .project-tags a {
    border-radius: 3px;
}

body.single-project .sidebar-project-thumbnail,
body.single-project .sidebar-project img {
    border-radius: 3px;
}

body.single-project .project-description h2,
body.single-project .project-description h3,
body.single-project .project-description h4,
body.single-project .project-description strong,
body.single-project .card-header,
body.single-project h2,
body.single-project h3,
body.single-project h4 {
    color: var(--hb-ink);
}

body.single-project .card-header {
    color: var(--hb-ink-3);
}

body.single-project .nav-links {
    max-width: none;
    width: 100%;
    margin: 0;
}

body.single-project .project-info-item h3,
body.single-project .related-projects h3,
body.single-project .suggested-projects h3 {
    font-family: var(--hb-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
    margin-bottom: 1rem;
}

body.single-project .nav-previous a,
body.single-project .nav-next a,
body.single-project .nav-previous strong,
body.single-project .nav-next strong {
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--hb-ink);
    font-weight: 500;
}

.site-content .project-category-tag a,
.site-content .category-personal,
.site-content .category-company,
.site-content .sidebar-project .category-personal,
.site-content .sidebar-project .category-company {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--hb-ink-3);
}

/* Any link the old sheet left blue. */
.site-content a:not(.hb-btn):not(.btn),
.site-content a:not(.hb-btn):not(.btn):hover,
.site-content i {
    color: var(--hb-ink);
}

.site-content .project-meta a,
.site-content .project-categories a,
.site-content .breadcrumbs a,
.site-content .project-category-tag a {
    color: var(--hb-ink-3);
}

.site-content .project-meta a:hover,
.site-content .project-categories a:hover,
.site-content .project-category-tag a:hover {
    color: var(--hb-ink);
}

/* =============================================================================
   Single project (rebuilt template)
   ============================================================================= */

.pj-head {
    padding: var(--hb-section) 0 var(--hb-block);
}

.pj-head .hb-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    gap: 0 clamp(2rem, 5vw, 4.5rem);
}

.pj-kicker {
    grid-column: 1 / -1;
}

.pj-head__side {
    padding-bottom: 0.4rem;
}

@media (max-width: 900px) {
    .pj-head .hb-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pj-head__side {
        padding-bottom: 0;
    }
}

.pj-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin: 0 0 1rem;
    font-family: var(--hb-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
}

.pj-kicker span {
    position: relative;
}

.pj-kicker span + span::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 50%;
    background: var(--hb-ink-3);
    opacity: 0.6;
}

.pj-title {
    max-width: 24ch;
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.038em;
    color: var(--hb-ink);
}

.site-content .pj-lede {
    max-width: 54ch;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--hb-ink-2);
}

.pj-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1.5rem 0 0 !important;
}

.pj-visit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pj-visit svg {
    width: 13px;
    height: 13px;
    transition: transform 0.15s ease;
}

.pj-visit:hover svg {
    transform: translate(2px, -2px);
}

.pj-media {
    margin: 0 0 var(--hb-section);
}

/* The image belongs to the reading column, not the full page width, and it is
   never cropped — screenshots lose their point when you zoom into a corner. */
.pj-media .hb-container {
    display: flex;
    justify-content: center;
}

.pj-media img {
    display: block;
    width: 100%;
    max-width: 860px;
    max-height: 26rem;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
}

@media (max-width: 700px) {
    /* No height cap on phones — the image is the width of the column. */
    .pj-media img {
        max-height: none;
        height: auto;
    }
}

.pj-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    padding-bottom: var(--hb-section);
}

.pj-content {
    max-width: none;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
}

.pj-content > *:first-child {
    margin-top: 0;
}

.pj-content h2,
.pj-content h3,
.pj-content h4 {
    margin: 2.25rem 0 0.75rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--hb-ink);
}

.pj-content h2 { font-size: 1.35rem; }
.pj-content h3 { font-size: 1.12rem; }
.pj-content h4 { font-size: 1rem; }

.pj-content p,
.pj-content ul,
.pj-content ol {
    margin: 0 0 1.15rem;
}

.pj-content ul,
.pj-content ol {
    padding-left: 1.15rem;
}

.pj-content li {
    margin-bottom: 0.45rem;
}

.pj-content strong {
    color: var(--hb-ink);
    font-weight: 600;
}

.pj-content a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pj-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.pj-content pre {
    padding: 1rem 1.15rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85rem;
}

.pj-content :not(pre) > code {
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    background: var(--hb-wash);
    font-size: 0.87em;
    color: var(--hb-ink);
}

/* Right rail */
.pj-rail {
    position: sticky;
    top: 6rem;
    display: grid;
    gap: var(--hb-block);
}

.pj-rail__label {
    margin: 0 0 0.9rem;
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
}

.pj-facts {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.pj-facts dt {
    font-size: 0.78rem;
    color: var(--hb-ink-3);
    margin-bottom: 0.15rem;
}

.pj-facts dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--hb-ink);
    overflow-wrap: break-word;
}

.pj-facts dd a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pj-tags a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    background: var(--hb-wash);
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    color: var(--hb-ink-2);
    text-decoration: none;
}

.pj-tags a:hover {
    background: #ebebeb;
    color: var(--hb-ink);
}

/* Gallery */
.pj-gallery {
    padding-bottom: var(--hb-section);
}

.pj-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.pj-gallery__grid img {
    width: 100%;
    border-radius: 4px;
}

/* More projects */
.pj-more {
    padding-bottom: var(--hb-section);
}

.pj-more__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pj-more__head .pj-rail__label {
    margin: 0;
}

.pj-more__all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pj-more__all svg {
    width: 12px;
    height: 12px;
}

.pj-more__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pj-more__grid a {
    display: block;
    text-decoration: none;
    color: var(--hb-ink);
}

.pj-more__thumb {
    display: block;
    margin-bottom: 0.7rem;
    border-radius: 3px;
    overflow: hidden;
    background: var(--hb-wash);
    aspect-ratio: 4 / 3;
}

.pj-more__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pj-more__title {
    display: block;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.pj-more__grid a:hover .pj-more__title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pj-more__year {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--hb-mono);
    font-size: 0.74rem;
    color: var(--hb-ink-3);
}

/* Prev / next */
.pj-nav {
    padding-bottom: var(--hb-section);
}

.pj-nav .hb-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.pj-nav__side {
    flex: 0 1 24rem;
    min-width: 0;
}

.pj-nav__side--next {
    margin-left: auto;
    text-align: right;
}

.pj-nav a {
    display: block;
    padding: 1rem 1.15rem;
    border-radius: 4px;
    background: var(--hb-wash);
    color: var(--hb-ink);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.pj-nav a:hover,
.pj-nav a:focus-visible {
    background: #ebebeb;
}

.pj-nav__dir {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-family: var(--hb-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hb-ink-3);
}

.pj-nav__side--next .pj-nav__dir {
    justify-content: flex-end;
}

.pj-nav__dir em {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.15s ease;
}

.pj-nav a:hover .pj-nav__dir em {
    transform: translateX(-3px);
}

.pj-nav__side--next a:hover .pj-nav__dir em {
    transform: translateX(3px);
}

.pj-nav strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(17, 17, 17, 0.28);
}

.pj-nav a:hover strong {
    text-decoration-color: currentColor;
}

@media (max-width: 900px) {
    .pj-body {
        grid-template-columns: 1fr;
        gap: var(--hb-section);
    }

    .pj-rail {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* No sibling to sit opposite: don't reserve a column for it. */
.pj-nav__side:empty {
    display: none;
}

@media (max-width: 600px) {
    .pj-nav .hb-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* flex-basis becomes a HEIGHT once the container is a column — reset it,
       or each link reserves 24rem of blank space. */
    .pj-nav__side {
        flex: none;
        width: 100%;
    }

    .pj-nav__side--next {
        margin-left: 0;
        text-align: left;
    }

    .pj-nav__side--next .pj-nav__dir {
        justify-content: flex-start;
    }
}

/* =============================================================================
   Contact
   ============================================================================= */
.contact-hero {
    padding-bottom: 1.5rem;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 2rem;
    margin: 1.75rem 0 var(--hb-section);
    padding: 0;
    list-style: none;
}

.contact-links li {
    margin: 0;
}

.contact-links a,
.contact-link {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    font-size: 1rem;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-links a:hover {
    color: var(--hb-ink-2);
    transform: none;
    box-shadow: none;
}

.contact-links a::before,
.contact-link::before {
    display: none;
}

.contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.contact-link-icon {
    background-image: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.contact-link-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--hb-ink);
}

.contact-link-label {
    color: var(--hb-ink);
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-link-handle,
.contact-link-value {
    color: var(--hb-ink-3);
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-link:hover .contact-link-label {
    color: var(--hb-ink-2);
}

.contact-lead {
    max-width: 62ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--hb-ink-2);
}

/* Contact Form 7 */
.wpcf7 {
    max-width: 34rem;
}

.wpcf7 label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--hb-ink-2);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.8rem;
    border: 0;
    border-radius: 3px;
    background: var(--hb-wash);
    box-shadow: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--hb-ink);
}

.wpcf7 input[type="submit"] {
    padding: 0.75rem 1.4rem;
    border: 0;
    border-radius: 3px;
    background: var(--hb-ink);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
    background: #000;
}

/* =============================================================================
   Blog index, single posts, 404
   ============================================================================= */
.blog-page,
.single-page,
.error-404 {
    padding-top: var(--hb-section);
    padding-bottom: var(--hb-section);
}

.blog-page .page-title,
.single-page .entry-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--hb-ink);
    margin-bottom: 1.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: start;
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.post-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.post-thumbnail {
    display: block;
    margin-bottom: 0.9rem;
    border-radius: 3px;
    overflow: hidden;
    background: var(--hb-wash);
    aspect-ratio: 4 / 3;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 0;
}

.post-title {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.015em;
    margin-bottom: 0.3rem;
}

.post-title a {
    color: var(--hb-ink);
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-meta,
.post-date {
    font-family: var(--hb-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--hb-ink-3);
}

.post-excerpt p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--hb-ink-2);
}

.entry-thumbnail {
    margin: 1.5rem 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--hb-wash);
}

.entry-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-header .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-bottom: 1.75rem;
}

.entry-footer,
.comments-area {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 0 0 1.5rem;
    border: 0;
    background: none;
}

.error-404-content h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
}

.error-404-content p {
    max-width: 52ch;
    margin-bottom: 1.5rem;
}

.site-content .button,
.error-404-content .button {
    display: inline-block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--hb-ink);
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.no-posts {
    color: var(--hb-ink-3);
}


.site-content .entry-content {
    max-width: 68ch;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--hb-ink-2);
}

.site-content .entry-content a {
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-content .entry-meta {
    font-family: var(--hb-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--hb-ink-3);
}

.error-404,
.not-found {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

/* =============================================================================
   Footer
   ============================================================================= */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--hb-line);
    padding: var(--hb-section) 0 2rem;
    color: var(--hb-ink-2);
}

.site-footer .container {
    max-width: var(--hb-measure);
    padding: 0 var(--hb-gutter);
}

.footer-widget h3 {
    font-family: var(--hb-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-ink);
    padding-bottom: 0;
}

.footer-widget h3::after {
    display: none;
}

.footer-widget p,
.social-links a,
.quick-links a {
    font-size: 0.92rem;
    color: var(--hb-ink-2);
}

.social-links a:hover,
.quick-links a:hover {
    color: var(--hb-ink);
}

.social-links a {
    padding-left: 0;
}

.social-links a::before {
    display: none;
}

.footer-bottom {
    border-top: 0;
    padding-top: 1.5rem;
    text-align: left;
}

.copyright {
    font-size: 0.82rem;
    color: var(--hb-ink-3);
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 900px) {
    .project-overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hb-nav {
        display: none;
    }

    .hb-burger {
        display: block;
    }

    .hb-header__bar {
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }

    .hb-row__link {
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 0.9rem;
    }

    .hb-row__arrow {
        display: none;
    }

    .skills-tree__node {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .nav-next {
        text-align: left;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.01ms !important;
    }
}
