:root{--brown:#3a2415;--brown2:#6f4728;--gold:#b98647;--cream:#fbf6ef;--paper:#fffdf9;--ink:#201611;--muted:#6f625a;--line:#ead9c8}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}a{color:inherit}.site-header{position:sticky;top:0;z-index:5;background:rgba(255,253,249,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px 6vw;box-shadow:0 10px 30px rgba(58,36,21,.06)}.brand{display:flex;gap:12px;align-items:center;font-family:Georgia,serif;font-size:22px;font-weight:bold;text-decoration:none}.brand-mark{background:var(--brown);color:#fff;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-family:Arial;font-size:14px;letter-spacing:1px}nav{display:flex;gap:24px;align-items:center}nav a{text-decoration:none;font-weight:700;color:#4b3628}.adminlink{background:#efe3d5;padding:8px 13px;border-radius:999px}.menu{display:none}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:620px;align-items:center;background:linear-gradient(135deg,#f8efe4,#fffdf9)}.hero-img{height:100%;min-height:560px}.hero-img img{width:100%;height:100%;object-fit:cover;display:block}.hero-text{padding:70px 7vw}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:800;font-size:13px}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.1}h1{font-size:clamp(42px,6vw,72px);margin:12px 0}h2{font-size:clamp(30px,4vw,46px);text-align:center}.hero p{font-size:19px;color:#564337}.btn{display:inline-block;background:var(--brown);color:#fff;text-decoration:none;padding:13px 22px;border-radius:6px;font-weight:800;border:0;cursor:pointer;box-shadow:0 8px 20px rgba(58,36,21,.16);margin:8px 8px 8px 0}.btn.secondary{background:transparent;color:var(--brown);border:2px solid var(--brown)}.btn.small{font-size:14px;padding:9px 14px}.section{padding:70px 6vw}.warm{background:#f1e1ce}.service-grid,.project-grid,.gallery-grid,.lumber-grid,.testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;max-width:1180px;margin:auto}.card,.project,.lumber,.testimonial,.info,.tips,.form-wrap{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 12px 28px rgba(58,36,21,.08)}.card h3{font-size:25px}.project{overflow:hidden;padding:0}.project img{width:100%;height:230px;object-fit:cover;display:block}.project div,.project h3,.project p{padding-left:22px;padding-right:22px}.project h3{font-size:25px;margin-bottom:4px}.project p{color:var(--muted);padding-bottom:20px}.center{text-align:center}.cta{margin:0 auto 70px;max-width:1040px;text-align:center;background:linear-gradient(135deg,var(--brown),#82522f);color:#fff;border-radius:22px;padding:55px 30px}.cta p{max-width:720px;margin:0 auto 22px}.cta .secondary{color:#fff;border-color:#fff}.pagehead{text-align:center;padding:72px 6vw 30px;background:#f5e8d9}.pagehead h1{font-size:56px;margin:0 0 12px}.pagehead p{font-size:18px;color:var(--muted)}.filter{text-align:center;margin:20px}.filter button{border:1px solid var(--line);background:#fff;padding:10px 17px;border-radius:99px;margin:5px;cursor:pointer;font-weight:700}.filter .active{background:var(--brown);color:white}.pill{display:inline-block;background:#ede0d0;color:var(--brown);border-radius:999px;padding:5px 12px;margin:18px 22px 0;font-size:13px;font-weight:800}.info{max-width:980px;margin:30px auto}.lumber h3{font-size:24px}.species{font-weight:800;color:var(--gold)}.price{font-size:30px;font-weight:900;margin:15px 0;color:var(--brown)}.price small{font-size:13px;color:var(--muted);font-weight:500}.split,.two-col{display:grid;grid-template-columns:1fr 380px;gap:28px;max-width:1180px;margin:40px auto 70px;padding:0 6vw}.split>div{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:30px}.testimonial .stars{color:#b1772f;font-size:20px}.testimonial span{display:block;color:var(--muted)}.testimonial img{width:100%;border-radius:12px;margin-top:12px}form{display:grid;gap:16px}label{font-weight:800}input,select,textarea{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #d9c5b4;border-radius:8px;background:#fff;font:inherit}textarea{min-height:150px}.notice{background:#e7f6df;border:1px solid #b6d7a8;padding:14px;border-radius:8px}.form-wrap{max-width:760px;margin:30px auto}.two-col .form-wrap{margin:0;max-width:none}footer{background:#28190f;color:#f5eadc;padding:44px 6vw;display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}footer a{display:block;color:#f5eadc;text-decoration:none;margin:6px 0}.copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.15);padding-top:18px;color:#cbb49f}@media(max-width:850px){.hero,.split,.two-col,footer{grid-template-columns:1fr}.hero-img{min-height:320px}.menu{display:block;background:var(--brown);color:#fff;border:0;border-radius:8px;padding:8px 12px}nav{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;padding:20px;flex-direction:column}.nav-open nav{display:flex}.site-header{padding:14px 20px}.brand{font-size:18px}}
.service-card{overflow:hidden;padding:0}.service-card img{width:100%;height:190px;object-fit:cover;display:block}.service-card h3,.service-card p{padding-left:24px;padding-right:24px}.service-card p{padding-bottom:24px}.lumber{overflow:hidden;padding:0}.lumber img{width:100%;height:180px;object-fit:cover;display:block}.lumber h3,.lumber p,.lumber .price,.lumber .btn{margin-left:24px;margin-right:24px}.lumber .btn{margin-bottom:24px}.feature-img{width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:16px;display:block}

/* Admin dashboard and account request cards */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.admin-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 6px solid #173c27;
}

.admin-card h2 {
    color: #173c27;
    margin-bottom: 10px;
}

.admin-card strong {
    font-size: 2rem;
    color: #173c27;
}

.account-page {
    padding-top: 30px;
    padding-bottom: 60px;
}

.account-header-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.account-summary {
    display: flex;
    gap: 18px;
}

.account-summary div {
    background: #f4f1ea;
    border-radius: 14px;
    padding: 16px 22px;
    text-align: center;
    min-width: 130px;
}

.account-summary strong {
    display: block;
    font-size: 2rem;
    color: #173c27;
}

.account-summary span {
    font-size: 0.9rem;
    color: #555;
}

.account-section {
    margin-top: 36px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.request-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.request-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
    border-left: 6px solid #173c27;
}

.request-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.request-card h3 {
    margin: 0 0 4px;
    color: #173c27;
}

.muted {
    color: #6b6b6b;
    font-size: 0.95rem;
}

.request-meta {
    display: grid;
    gap: 8px;
    background: #f8f6f0;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.request-description {
    line-height: 1.6;
    margin-top: 12px;
}

.review-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.review-light .dot {

    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.review-light.reviewed {
    background: #e6f7e8;
    color: #176b2c;
}

.review-light.reviewed .dot {
    background: #20b343;
    box-shadow: 0 0 8px rgba(32,179,67,0.8);
}

.review-light.pending {
    background: #fff4d8;
    color: #8a5a00;
}

.review-light.pending .dot {
    background: #d8a400;
}

.empty-box {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.account-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.customer-response {
    background: #eef8ef;
    border-left: 5px solid #20b343;
    padding: 14px;
    border-radius: 12px;
    margin-top: 14px;
}

.customer-response h4 {
    color: #176b2c;
    margin-bottom: 6px;
}

.text-link {
    color: #173c27;
    font-weight: 700;
}

.btn.small {
    padding: 9px 14px;
    font-size: 0.9rem;
}

.show-password {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    margin: -8px 0 12px;
}

.show-password input {
    width: auto;
}

.notice.success {
    background: #e6f7e8;
    color: #176b2c;
    border-left: 5px solid #20b343;
}

@media (max-width: 750px) {
    .account-header-card,
    .section-title-row,
    .request-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .account-summary {
        width: 100%;
        flex-direction: column;
    }
    .account-summary div {
        width: 100%;
    }
}

.gallery-page {
    padding-top: 30px;
    padding-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-image {
    width: 100%;
    height: 190px;
    background: #eee;
    overflow: hidden;
}

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

.gallery-content {
    padding: 16px;
}

.gallery-category {
    display: inline-block;
    background: #e7efe8;
    color: #173c27;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-content h2 {
    margin: 0 0 8px;
    color: #173c27;
    font-size: 1.15rem;
}

.gallery-content p {
    margin: 0;
    line-height: 1.45;
    font-size: 0.9rem;
}
/* =========================================================
   Public Header + Auth Page Cleanup
   Keeps Todo List out of customer pages and prevents menu spread.
   ========================================================= */
.site-header.public-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 249, 0.98);
    border-bottom: 1px solid var(--line, #ead9c8);
    box-shadow: 0 8px 24px rgba(58, 36, 21, 0.06);
    padding: 10px 5vw;
}

.public-header-inner,
.site-header .header-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.public-brand,
.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: max-content;
    text-decoration: none;
}

.public-brand-logo,
.site-header .brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    background: #111;
    box-shadow: 0 3px 10px rgba(0,0,0,0.16);
}

.site-header .brand-mark {
    display: none !important;
}

.site-header .brand-name,
.public-brand .brand-name {
    color: #201611;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.public-main-nav,
.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    min-width: 0;
}

.public-main-nav a,
.site-header .main-nav a {
    color: #3a281d;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.96rem;
    white-space: nowrap;
    padding: 7px 2px;
}

.public-main-nav a:hover,
.site-header .main-nav a:hover {
    color: #176b2c;
}

.site-header .adminlink {
    background: #efe3d5;
    border-radius: 999px;
    padding: 8px 13px;
}

/* Login/register pages should not stretch across the whole screen */
body.auth-page .page-hero,
body.auth-page .pagehead {
    padding-top: 42px;
    padding-bottom: 24px;
}

body.auth-page .page-hero .container,
body.auth-page .pagehead .container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

body.auth-page .form-page,
body.auth-page main.container.form-page {
    max-width: 520px !important;
    width: calc(100% - 32px);
    margin: 28px auto 70px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.auth-page .form-card,
body.auth-page .card.form-card,
body.auth-page .form-wrap {
    max-width: 520px !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px !important;
}

@media (max-width: 980px) {
    .site-header.public-site-header {
        padding: 10px 20px;
    }

    .public-header-inner,
    .site-header .header-inner {
        align-items: center;
    }

    .site-header .menu,
    .site-header .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 34px;
        padding: 0;
        border: 1px solid #a69684;
        border-radius: 6px;
        background: #f7f1e6;
        color: #2d241d;
        cursor: pointer;
    }

    .public-main-nav,
    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #fffdf9;
        border-bottom: 1px solid #ead9c8;
        box-shadow: 0 12px 28px rgba(58,36,21,0.12);
        padding: 16px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    body.nav-open .public-main-nav,
    body.nav-open .site-header .main-nav {
        display: flex;
    }
}

@media (max-width: 620px) {
    .public-brand-logo,
    .site-header .brand-logo {
        width: 46px;
        height: 46px;
    }

    .site-header .brand-name,
    .public-brand .brand-name {
        font-size: 1.15rem;
        white-space: normal;
    }
}

/* =========================================================
   Public Header - Stack menu under Black River Woodworking
   Keeps logo/title on the top line and navigation below it.
   ========================================================= */
.site-header.public-site-header {
    padding: 10px 5vw 12px !important;
}

.public-header-inner,
.site-header .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
        "brand toggle"
        "nav nav" !important;
    align-items: center !important;
    gap: 8px 18px !important;
}

.public-brand,
.site-header .brand {
    grid-area: brand !important;
    justify-self: start !important;
}

.site-header .menu,
.site-header .nav-toggle {
    grid-area: toggle !important;
    justify-self: end !important;
}

.public-main-nav,
.site-header .main-nav {
    grid-area: nav !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 22px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(58, 36, 21, 0.10) !important;
    width: 100% !important;
}

.public-main-nav a,
.site-header .main-nav a {
    padding: 4px 0 !important;
    line-height: 1.2 !important;
}

/* Keep desktop menu visible and hamburger hidden */
@media (min-width: 981px) {
    .site-header .menu,
    .site-header .nav-toggle {
        display: none !important;
    }

    .public-main-nav,
    .site-header .main-nav {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* On smaller screens, menu still sits under the title when opened */
@media (max-width: 980px) {
    .public-header-inner,
    .site-header .header-inner {
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "brand toggle"
            "nav nav" !important;
    }

    .public-main-nav,
    .site-header .main-nav {
        display: none !important;
        position: static !important;
        background: #fffdf9 !important;
        border: 1px solid #ead9c8 !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 22px rgba(58,36,21,0.10) !important;
        padding: 12px 14px !important;
        margin-top: 6px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    body.nav-open .public-main-nav,
    body.nav-open .site-header .main-nav {
        display: flex !important;
    }
}
