/* Workbench - A Free Design by Bryant Smith (bryantsmith.com)
   A maker's portfolio in warm grey and orange.
   Every colour and space on the page is set below. Look for the
   section headings to find the part you want to change. */


/* ---- RESET & PAGE FOUNDATIONS ---- */

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

body {
    background: #e7e0d5;
    color: #433f39;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #a8480f;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}


/* ---- TOP BAR: the dark bar fixed to the top of the window ---- */

#topbar {
    background: #2a2622;
    border-bottom: 3px solid #d3621f;
    position: sticky;
    top: 0;
    z-index: 10;
}

#topbar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 900px;
    padding: 14px 24px;
}

.brand {
    align-items: center;
    color: #f4efe7;
    display: flex;
    font-size: 17px;
    font-weight: bold;
    gap: 10px;
    letter-spacing: 0.5px;
}

.brand:hover {
    color: #f0a46a;
}

.brand-mark {
    background: linear-gradient(135deg, #ef9a59, #d3621f);
    border-radius: 6px;
    display: inline-block;
    height: 22px;
    position: relative;
    width: 22px;
}

.brand-mark::before {
    border-bottom: 2px solid #fff2e6;
    border-top: 2px solid #fff2e6;
    content: "";
    height: 10px;
    left: 6px;
    position: absolute;
    top: 4px;
    transform: rotate(-45deg);
    width: 10px;
}

#menu a {
    border-bottom: 2px solid transparent;
    color: #cfc6ba;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-left: 18px;
    padding-bottom: 3px;
    text-transform: uppercase;
}

#menu a:hover {
    border-bottom-color: #d3621f;
    color: #f4efe7;
}


/* ---- PAGE: the light sheet the content sits on ---- */

#page {
    background: #f7f3ec;
    box-shadow: 0 1px 2px rgba(42, 38, 34, 0.06), 0 18px 40px rgba(42, 38, 34, 0.10);
    margin: 0 auto;
    max-width: 900px;
}


/* ---- HERO: the warm heading band under the top bar ---- */

#hero {
    background-color: #efe8dc;
    background-image: repeating-linear-gradient(
        0deg, rgba(168, 72, 15, 0.05) 0, rgba(168, 72, 15, 0.05) 1px,
        transparent 1px, transparent 24px
    ),
    repeating-linear-gradient(
        90deg, rgba(168, 72, 15, 0.05) 0, rgba(168, 72, 15, 0.05) 1px,
        transparent 1px, transparent 24px
    );
    border-bottom: 1px solid #e0d7c9;
    padding: 48px 40px 44px 40px;
}

.eyebrow {
    color: #a8480f;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

#hero h1 {
    color: #26221e;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 44px;
    font-weight: normal;
    letter-spacing: -0.5px;
    line-height: 1.15;
    max-width: 620px;
}

#hero .tagline {
    color: #6f665b;
    font-size: 16px;
    margin-top: 16px;
    max-width: 560px;
}


/* ---- COLUMNS: project list on the left, notes on the right ---- */

#columns {
    display: grid;
    gap: 52px;
    grid-template-columns: 1.75fr 1fr;
    padding: 52px 40px 8px 40px;
}

h2 {
    border-bottom: 2px solid #e0d7c9;
    color: #26221e;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
}

h2::before {
    background: #d3621f;
    content: "";
    display: inline-block;
    height: 15px;
    margin-right: 12px;
    vertical-align: -1px;
    width: 6px;
}

.section-note {
    color: #6f665b;
    font-size: 14px;
    margin-bottom: 28px;
}


/* ---- PROJECT LIST: the numbered list of work ---- */

.project-list {
    list-style: none;
}

.project-list li {
    border-bottom: 1px solid #e7dfd2;
    display: grid;
    gap: 20px;
    grid-template-columns: 48px 1fr;
    padding: 22px 0;
}

.project-list li:first-child {
    padding-top: 6px;
}

.project-no {
    color: #b8855f;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 22px;
    line-height: 1.2;
}

.project-body h3 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-body h3 a {
    color: #26221e;
}

.project-body h3 a:hover {
    color: #a8480f;
    text-decoration: underline;
}

.project-body p {
    color: #4d4841;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-body .tags {
    color: #8a8073;
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 0;
    text-transform: uppercase;
}


/* ---- NOTES: the small tinted cards beside the list ---- */

#notes h2 {
    margin-bottom: 20px;
}

.note {
    background: #efe8dc;
    border-left: 3px solid #d3621f;
    border-radius: 0 6px 6px 0;
    margin-bottom: 16px;
    padding: 16px 18px;
}

.note-title {
    color: #26221e;
    font-weight: bold;
    margin-bottom: 5px;
}

.note p {
    color: #5a544b;
    font-size: 13px;
}


/* ---- TOOLS: the row of cards on a tinted band ---- */

#tools {
    background: #efe8dc;
    border-bottom: 1px solid #e0d7c9;
    border-top: 1px solid #e0d7c9;
    margin-top: 52px;
    padding: 48px 40px 52px 40px;
}

.tool-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
}

.tool {
    background: #f9f5ef;
    border: 1px solid #e3dacc;
    border-radius: 10px;
    padding: 22px 20px 20px 20px;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tool:hover {
    border-color: #e0a878;
    box-shadow: 0 8px 20px rgba(42, 38, 34, 0.08);
    transform: translateY(-2px);
}

.tool h3 {
    color: #26221e;
    font-size: 15px;
    margin-bottom: 8px;
}

.tool p {
    color: #5a544b;
    font-size: 13px;
}

/* Small CSS-only icons: a tinted tile with a simple shape inside. */

.tool-icon {
    background: linear-gradient(135deg, #ef9a59, #d3621f);
    border-radius: 10px;
    display: block;
    height: 40px;
    margin-bottom: 16px;
    position: relative;
    width: 40px;
}

.tool-icon::after {
    content: "";
    position: absolute;
}

.icon-plane::after {
    border: 2px solid #fff2e6;
    border-radius: 50%;
    height: 14px;
    left: 11px;
    top: 11px;
    width: 14px;
}

.icon-chisel::after {
    background: #fff2e6;
    clip-path: polygon(0 100%, 0 40%, 60% 0, 100% 0, 100% 40%, 40% 100%);
    height: 18px;
    left: 11px;
    top: 11px;
    width: 18px;
}

.icon-clamp::after {
    border-bottom: 3px solid #fff2e6;
    border-left: 3px solid #fff2e6;
    border-radius: 0 0 0 8px;
    height: 16px;
    left: 11px;
    top: 9px;
    width: 16px;
}

.icon-saw::after {
    background: #fff2e6;
    height: 3px;
    left: 9px;
    top: 18px;
    transform: rotate(-32deg);
    width: 22px;
}

.icon-caliper::after {
    border: 2px solid #fff2e6;
    border-radius: 50%;
    height: 16px;
    left: 10px;
    top: 10px;
    width: 16px;
}

.icon-caliper::before {
    background: #fff2e6;
    content: "";
    height: 2px;
    left: 20px;
    position: absolute;
    top: 19px;
    width: 10px;
}

.icon-brush::after {
    background: #fff2e6;
    border-radius: 3px 3px 0 0;
    height: 12px;
    left: 17px;
    top: 9px;
    width: 6px;
}

.icon-brush::before {
    background: #fff2e6;
    content: "";
    height: 6px;
    left: 16px;
    position: absolute;
    top: 22px;
    width: 8px;
}


/* ---- ABOUT: the plain how-to note ---- */

#about {
    padding: 48px 40px 8px 40px;
}

#about p {
    margin-bottom: 18px;
    max-width: 680px;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 1px solid #e0d7c9;
    color: #8a8073;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 48px;
    padding: 24px 40px 28px 40px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    color: #6f665b;
}

#footer a:hover {
    color: #a8480f;
}


/* ---- SMALL SCREENS: stack the columns and tighten the space ---- */

@media (max-width: 640px) {
    #topbar-inner {
        justify-content: center;
        padding: 14px 18px;
    }

    #menu {
        text-align: center;
    }

    #menu a {
        margin: 0 7px;
    }

    #hero {
        padding: 36px 22px 34px 22px;
    }

    #hero h1 {
        font-size: 32px;
    }

    #columns {
        gap: 40px;
        grid-template-columns: 1fr;
        padding: 40px 22px 0 22px;
    }

    #tools {
        margin-top: 40px;
        padding: 36px 22px 40px 22px;
    }

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

    #about {
        padding: 40px 22px 0 22px;
    }

    #footer {
        padding-left: 22px;
        padding-right: 22px;
    }
}


/* ---- PRINT: drop the dark bar and shadows for a clean page ---- */

@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    #topbar,
    #menu {
        display: none;
    }

    #page {
        box-shadow: none;
        max-width: 100%;
    }

    #hero,
    #tools {
        background: #ffffff;
        background-image: none;
    }

    .tool:hover {
        box-shadow: none;
        transform: none;
    }
}
