:root {
    --ink: #17201c;
    --muted: #66706a;
    --paper: #f5f2e9;
    --warm: #e9dfcf;
    --accent: #e45c35;
    --green: #263e35;
    --line: rgba(23, 32, 28, 0.14);
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    min-height: 82px;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    width: fit-content;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--green);
    font-family: Georgia, serif;
}

.primary-nav {
    display: flex;
    gap: 2rem;
    font-size: 0.88rem;
    font-weight: 650;
}

.primary-nav a:hover,
.text-link:hover,
.product-copy a:hover {
    color: var(--accent);
}

.cart-link {
    justify-self: end;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-count {
    width: 1.65rem;
    height: 1.65rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.hero {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 5vw;
    padding: 7vw 5vw 6vw;
}

.hero-copy {
    align-self: center;
    max-width: 650px;
}

.eyebrow {
    margin: 0 0 1.5rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 780;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

h1 {
    margin-bottom: 1.7rem;
    font-size: clamp(4.5rem, 8vw, 8.4rem);
    line-height: 0.82;
    letter-spacing: -0.075em;
}

h1 span {
    color: var(--accent);
}

.hero-summary {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.button {
    min-height: 3.35rem;
    padding: 0 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 760;
}

.button-primary {
    color: white;
    background: var(--green);
}

.button-primary:hover {
    background: var(--accent);
}

.text-link,
.product-copy a {
    font-size: 0.83rem;
    font-weight: 760;
}

.text-link span,
.product-copy a span {
    margin-left: 0.4rem;
}

.hero-visual {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), transparent 40%),
        linear-gradient(160deg, #a6b2a8 0 52%, #d0baa1 52% 100%);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 10% 0 35%;
    border: 10px solid #25332e;
    border-bottom: 0;
    background:
        linear-gradient(90deg, transparent 49%, #25332e 49% 51%, transparent 51%),
        linear-gradient(rgba(224,235,232,0.7), rgba(180,199,195,0.54));
    box-shadow: -20px 18px 40px rgba(23,32,28,0.2);
}

.hero-visual::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 62%;
    height: 26%;
    background: #d7c2a6;
    border-top: 14px solid #806f60;
    box-shadow: -22px 15px 35px rgba(23,32,28,0.16);
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 4rem 4rem;
}

.visual-note {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    padding: 1.2rem 1.4rem;
    display: grid;
    gap: 0.3rem;
    background: var(--paper);
}

.visual-note span {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.visual-note strong {
    font-size: 0.85rem;
}

.trust-strip {
    padding: 2rem 5vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-strip p {
    margin: 0;
    padding: 0 2.5rem;
    display: grid;
    gap: 0.5rem;
    border-right: 1px solid var(--line);
}

.trust-strip p:first-child {
    padding-left: 0;
}

.trust-strip p:last-child {
    border: 0;
}

.trust-strip strong {
    font-size: 0.88rem;
}

.trust-strip span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.product-section,
.process-section {
    padding: 8vw 5vw;
}

.section-heading {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
}

.section-heading .eyebrow {
    margin-bottom: 0.75rem;
}

.section-heading h2,
.project-callout h2 {
    max-width: 850px;
    margin-bottom: 0;
    font-size: clamp(2.6rem, 5vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.product-card {
    min-width: 0;
    background: white;
}

.product-art {
    position: relative;
    height: 390px;
    overflow: hidden;
}

.product-card-door .product-art {
    background: #c5c7bd;
}

.door-frame {
    position: absolute;
    inset: 12% 18% 0;
    border: 11px solid #26312d;
    border-bottom: 0;
    background:
        linear-gradient(90deg, transparent 48.5%, #26312d 48.5% 51.5%, transparent 51.5%),
        linear-gradient(145deg, rgba(255,255,255,.54), rgba(130,157,151,.42));
}

.product-card-kitchen .product-art {
    background: #d6c5af;
}

.cabinet {
    position: absolute;
    bottom: 18%;
    width: 32%;
    height: 48%;
    border: 4px solid #796d61;
    background: #a8a39a;
}

.cabinet-one { left: 16%; }
.cabinet-two { right: 16%; }

.counter {
    position: absolute;
    left: 9%;
    right: 9%;
    bottom: 16%;
    height: 5%;
    background: #4f5450;
}

.product-card-window .product-art {
    background: #8fa09b;
}

.window-frame {
    position: absolute;
    inset: 15% 12% 10%;
    border: 10px solid #1f2e29;
    background:
        linear-gradient(90deg, transparent 49%, #1f2e29 49% 51%, transparent 51%),
        linear-gradient(20deg, rgba(223,231,225,.25), rgba(245,224,190,.5));
}

.product-copy {
    padding: 2rem;
}

.product-type {
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.67rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-copy h3 {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    line-height: 1.05;
}

.product-copy p:not(.product-type) {
    min-height: 4.8rem;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.6;
}

.process-section {
    color: white;
    background: var(--green);
}

.process-section .eyebrow {
    color: #ef9e7e;
}

.process-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
}

.process-list li {
    padding: 1.5rem 2rem 0;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.process-list li:first-child {
    padding-left: 0;
    border: 0;
}

.process-list li > span {
    display: block;
    margin-bottom: 4rem;
    color: #ef9e7e;
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.process-list strong {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.process-list p {
    margin: 0.65rem 0 0;
    color: rgba(255,255,255,.68);
    font-size: 0.82rem;
    line-height: 1.55;
}

.project-callout {
    min-height: 560px;
    padding: 8vw 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(23,32,28,.95), rgba(23,32,28,.62)),
        linear-gradient(135deg, #6d7c76, #2d3c36);
}

.project-callout h2 {
    max-width: 940px;
}

.project-callout > p:not(.eyebrow) {
    margin: 1.6rem 0 2rem;
    color: rgba(255,255,255,.72);
}

.button-light {
    color: var(--ink);
    background: var(--paper);
}

.site-footer {
    padding: 2rem 5vw;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.75rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 5rem;
    }

    .hero-visual {
        min-height: 500px;
    }

    .trust-strip,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip p {
        padding: 1.2rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-list {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 0;
    }
}

.opportunity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.opportunity-card {
    min-width: 0;
    padding: 1.4rem;
    border: 1px solid #e1e2de;
}

.opportunity-card > header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.opportunity-card h3 {
    margin: .6rem 0 .35rem;
    font-size: 1.35rem;
}

.opportunity-card header p,
.opportunity-card > p {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
}

.opportunity-value {
    display: grid;
    align-content: start;
    justify-items: end;
    gap: .3rem;
    white-space: nowrap;
}

.opportunity-value span {
    color: var(--muted);
    font-size: .72rem;
}

.opportunity-follow-up {
    display: grid;
    gap: .25rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f5f3ee;
}

.opportunity-follow-up span,
.opportunity-follow-up small {
    color: var(--muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.opportunity-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.opportunity-actions form {
    display: grid;
    gap: .45rem;
}

.opportunity-actions input,
.opportunity-actions select {
    width: 100%;
    padding: .65rem;
    border: 1px solid #c9cbc7;
    background: white;
    font: inherit;
    font-size: .78rem;
}

.opportunity-actions button {
    min-height: 2.5rem;
    border: 0;
    color: white;
    background: var(--green);
    font-weight: 700;
}

@media (max-width: 900px) {
    .opportunity-list,
    .opportunity-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 68px;
        padding: 0 1.2rem;
        column-gap: 0.75rem;
    }

    .brand {
        font-size: 0.95rem;
    }

    .brand-mark {
        width: 1.8rem;
        height: 1.8rem;
    }

    .cart-link {
        font-size: 0.75rem;
    }

    .hero {
        padding: 4rem 1.2rem;
        overflow: hidden;
    }

    h1 {
        font-size: clamp(3.2rem, 14vw, 3.7rem);
        letter-spacing: -0.06em;
    }

    .hero-summary {
        font-size: 0.98rem;
        overflow-wrap: anywhere;
    }

    .eyebrow {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        overflow-wrap: anywhere;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-actions,
    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-section,
    .process-section,
    .project-callout {
        padding: 5rem 1.2rem;
    }

    .product-art {
        height: 320px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-list li {
        padding: 1.5rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.2);
    }

    .process-list li > span {
        margin-bottom: 1.4rem;
    }
}

.admin-body {
    min-height: 100vh;
    background: #ecebe7;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1.25rem, 4vw, 4rem);
    border-bottom: 1px solid rgba(29, 44, 38, .12);
    background: #fff;
}

.admin-header nav {
    display: flex;
    gap: 1.5rem;
}

.admin-header nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
}

.admin-header nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

.admin-shell {
    display: grid;
    gap: 1.5rem;
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 3.5rem 0 6rem;
}

.admin-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}

.admin-title h1 {
    margin: .25rem 0 .5rem;
    color: var(--ink);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.admin-title > div > p:last-child,
.admin-panel-heading > p {
    color: var(--muted);
}

.tenant-chip,
.status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .4rem .65rem;
    border-radius: 999px;
    background: #e0e7df;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-panel {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: #fff;
    box-shadow: 0 8px 30px rgba(29, 44, 38, .04);
}

.admin-panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.admin-panel-heading h2 {
    margin: .25rem 0 0;
    color: var(--ink);
    font-size: 1.7rem;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.admin-form label {
    display: grid;
    gap: .45rem;
}

.admin-form label span {
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: .85rem .9rem;
    border: 1px solid #c9cbc7;
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: 3px solid rgba(179, 112, 69, .2);
    border-color: var(--accent);
}

.admin-form-wide {
    grid-column: 1 / -1;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-product-list {
    display: grid;
}

.admin-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid #e1e2de;
}

.admin-product-row h3 {
    margin: .6rem 0 .3rem;
    color: var(--ink);
}

.admin-product-row p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.admin-row-actions button {
    padding: .55rem .75rem;
    border: 1px solid #c9cbc7;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
}

.admin-row-actions .action-primary {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.admin-row-actions .action-danger {
    color: #9f342b;
}

.admin-empty {
    padding: 2rem;
    border: 1px dashed #c9cbc7;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 720px) {
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-header nav {
        flex-wrap: wrap;
        gap: .65rem 1rem;
        width: 100%;
    }

    .admin-title,
    .admin-panel-heading,
    .admin-product-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

    .admin-form-wide {
        grid-column: auto;
    }

    .admin-row-actions {
        justify-content: flex-start;
    }
}

.catalog-page,
.product-detail {
    max-width: 1265px;
    margin: 0 auto;
    padding: 6rem clamp(1.25rem, 5vw, 5rem);
}

.catalog-heading {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.catalog-heading h1,
.product-detail h1 {
    margin: .5rem 0 1rem;
    color: var(--ink);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.catalog-heading > p:last-child,
.product-detail-description {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 1.25rem;
    background: #f5f3ee;
}

.catalog-card-art,
.product-detail-art {
    min-height: 240px;
    margin-bottom: 1.5rem;
    background:
        linear-gradient(90deg, transparent 47%, rgba(29, 44, 38, .8) 48% 52%, transparent 53%),
        linear-gradient(rgba(29, 44, 38, .8) 0 5%, transparent 5% 95%, rgba(29, 44, 38, .8) 95%),
        linear-gradient(135deg, #b6c1b6, #e0d7c7);
}

.catalog-card h2 {
    margin: .35rem 0 .7rem;
    font-size: 1.55rem;
}

.catalog-card h2 a {
    color: var(--ink);
    text-decoration: none;
}

.catalog-card > p:not(.product-type) {
    color: var(--muted);
    line-height: 1.55;
}

.catalog-card-commercial {
    display: grid;
    gap: .35rem;
    margin: auto 0 1.2rem;
    padding-top: 1.5rem;
    color: var(--muted);
    font-size: .9rem;
}

.catalog-card-commercial strong {
    color: var(--ink);
}

.empty-catalog {
    padding: 4rem;
    background: #f5f3ee;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: clamp(2rem, 6vw, 7rem);
    margin-top: 3rem;
}

.product-detail-art {
    min-height: 620px;
}

.commercial-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.commercial-facts div {
    padding: 1rem 0;
    border-top: 1px solid rgba(29, 44, 38, .25);
}

.commercial-facts dt {
    color: var(--muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.commercial-facts dd {
    margin: .45rem 0 0;
    color: var(--ink);
    font-weight: 700;
}

.estimate-note {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 3px solid var(--accent);
    background: #f5f3ee;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .catalog-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-art {
        min-height: 380px;
    }
}

@media (max-width: 560px) {
    .catalog-page,
    .product-detail {
        padding-top: 3.5rem;
    }

    .catalog-heading h1,
    .product-detail h1 {
        font-size: clamp(2.7rem, 13vw, 3.6rem);
    }

    .commercial-facts {
        grid-template-columns: 1fr;
    }
}

.add-cart-form {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: end;
}

.add-cart-form label {
    display: grid;
    gap: .35rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.add-cart-form input,
.cart-item-actions input {
    width: 5.5rem;
    min-height: 3.35rem;
    padding: .7rem;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    font: inherit;
}

.cart-page {
    max-width: 1265px;
    margin: 0 auto;
    padding: 5rem clamp(1.25rem, 5vw, 5rem) 7rem;
}

.cart-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.cart-heading h1 {
    margin: .5rem 0 1rem;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.cart-heading > p:last-child,
.empty-cart > p {
    color: var(--muted);
    line-height: 1.65;
}

.empty-cart {
    padding: clamp(2rem, 6vw, 5rem);
    background: white;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 2rem;
    align-items: start;
}

.cart-items {
    display: grid;
    background: white;
}

.cart-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 1.4rem;
    padding: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.cart-item-art {
    min-height: 150px;
    background:
        linear-gradient(90deg, transparent 47%, rgba(29, 44, 38, .8) 48% 52%, transparent 53%),
        linear-gradient(135deg, #b6c1b6, #e0d7c7);
}

.cart-item-copy h2 {
    margin-bottom: .5rem;
    font-size: 1.55rem;
}

.cart-item-copy > p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
}

.cart-item-meta {
    font-weight: 650;
}

.cart-item-actions,
.cart-item-actions form {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: end;
}

.cart-item-actions label {
    display: grid;
    gap: .3rem;
    color: var(--muted);
    font-size: .75rem;
}

.cart-item-actions button {
    min-height: 3.35rem;
    padding: 0 1rem;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
}

.cart-item-actions .remove-button {
    color: #9f342b;
}

.cart-item-subtotal {
    white-space: nowrap;
}

.cart-summary {
    position: sticky;
    top: 1.5rem;
    padding: 1.7rem;
    color: white;
    background: var(--green);
}

.cart-summary .eyebrow {
    color: #ef9e7e;
}

.cart-summary > div {
    display: grid;
    gap: .5rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.cart-summary > div strong {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}

.cart-summary > p:not(.eyebrow) {
    margin: 1.2rem 0;
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    line-height: 1.55;
}

.cart-summary .button-primary {
    width: 100%;
    color: var(--ink);
    background: var(--paper);
}

@media (max-width: 820px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .cart-item {
        grid-template-columns: 90px 1fr;
    }

    .cart-item-art {
        min-height: 100px;
    }

    .cart-item-subtotal {
        grid-column: 2;
    }
}

.checkout-page,
.confirmation-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 5rem clamp(1.25rem, 5vw, 5rem) 7rem;
}

.checkout-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.checkout-heading h1,
.confirmation-page h1 {
    margin: .5rem 0 1rem;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.checkout-heading > p:last-child,
.confirmation-lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 2rem;
    align-items: start;
}

.checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    background: white;
}

.checkout-form label:not(.checkout-consent) {
    display: grid;
    gap: .45rem;
}

.checkout-form label > span {
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700;
}

.checkout-form input:not([type="checkbox"]),
.checkout-form textarea {
    width: 100%;
    padding: .9rem;
    border: 1px solid #c9cbc7;
    background: white;
    color: var(--ink);
    font: inherit;
}

.checkout-wide {
    grid-column: 1 / -1;
}

.checkout-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .7rem;
    align-items: start;
    padding: 1rem;
    background: #f5f3ee;
}

.checkout-consent input {
    margin-top: .2rem;
}

.checkout-consent span {
    color: var(--muted);
    line-height: 1.5;
}

.checkout-summary {
    padding: 1.7rem;
    color: white;
    background: var(--green);
}

.checkout-summary .eyebrow {
    color: #ef9e7e;
}

.checkout-summary-item,
.checkout-total,
.confirmation-items > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.checkout-summary-item {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

.checkout-total strong {
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.confirmation-page {
    max-width: 900px;
}

.confirmation-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 3rem 0;
    background: var(--line);
}

.confirmation-card > div {
    display: grid;
    gap: .55rem;
    padding: 1.4rem;
    background: white;
}

.confirmation-card span {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.confirmation-items {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
}

.confirmation-items h2 {
    font-size: 1.6rem;
}

.confirmation-items > div {
    border-color: var(--line);
}

.preorder-admin-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 0;
    border-top: 1px solid #e1e2de;
}

.preorder-admin-row h3 {
    margin: .6rem 0 .35rem;
}

.preorder-admin-row p,
.preorder-admin-commercial span {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
}

.preorder-admin-commercial {
    display: grid;
    gap: .4rem;
    justify-items: end;
    align-content: center;
    white-space: nowrap;
}

.preorder-lifecycle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
    margin-top: .35rem;
}

.preorder-lifecycle-actions form {
    margin: 0;
}

.preorder-lifecycle-actions .button {
    font-size: .75rem;
    padding: .55rem .7rem;
}

@media (max-width: 760px) {
    .checkout-layout,
    .checkout-form,
    .confirmation-card {
        grid-template-columns: 1fr;
    }

    .checkout-wide {
        grid-column: auto;
    }

    .preorder-admin-row {
        flex-direction: column;
    }

    .preorder-admin-commercial {
        justify-items: start;
    }

    .preorder-lifecycle-actions {
        justify-content: flex-start;
    }
}

.vendor-form {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
}

.vendor-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}

.vendor-chip-list span {
    padding: .55rem .75rem;
    background: #eef0ec;
    color: var(--muted);
    font-size: .78rem;
}

.project-admin-list {
    display: grid;
    gap: 1.5rem;
}

.project-conversion-list {
    display: grid;
    gap: 1rem;
}

.project-conversion-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.2rem;
}

.project-conversion-card h3 {
    margin: .5rem 0;
}

.project-conversion-card header p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.project-admin-card {
    border: 1px solid #e1e2de;
}

.project-admin-card > header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem;
}

.project-admin-card h3 {
    margin: .6rem 0;
    font-size: 1.45rem;
}

.project-admin-card header p {
    margin: .3rem 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.project-admin-card > header > span {
    color: var(--muted);
    font-size: .78rem;
    white-space: nowrap;
}

.project-status-form {
    align-items: end;
    background: #f5f3ee;
    border-top: 1px solid #e1e2de;
    display: flex;
    gap: .75rem;
    padding: .8rem 1.5rem;
}

.project-status-form label {
    display: grid;
    gap: .3rem;
}

.project-status-form label span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-financial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e1e2de;
    border-bottom: 1px solid #e1e2de;
}

.project-financial-grid > div {
    display: grid;
    gap: .4rem;
    padding: 1.2rem;
    border-right: 1px solid #e1e2de;
}

.project-financial-grid > div:last-child {
    border: 0;
}

.project-financial-grid span,
.project-financial-grid small {
    color: var(--muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.project-operation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-operation-grid > section {
    min-width: 0;
    padding: 1.5rem;
}

.project-operation-grid > section:first-child {
    border-right: 1px solid #e1e2de;
}

.project-operation-grid h4 {
    margin: 0 0 1rem;
}

.muted {
    color: var(--muted);
    font-size: .82rem;
}

.operation-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.operation-list li {
    display: grid;
    gap: .25rem;
    padding: .7rem 0;
    border-top: 1px solid #ecece8;
    font-size: .8rem;
}

.operation-list span {
    color: var(--muted);
}

.compact-form {
    display: grid;
    gap: .55rem;
    padding: 1rem;
    background: #f5f3ee;
}

.compact-form input,
.compact-form select {
    width: 100%;
    padding: .7rem;
    border: 1px solid #c9cbc7;
    background: white;
    font: inherit;
    font-size: .8rem;
}

.compact-form button {
    min-height: 2.7rem;
    border: 0;
    color: white;
    background: var(--green);
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 900px) {
    .vendor-form,
    .project-financial-grid,
    .project-operation-grid {
        grid-template-columns: 1fr;
    }

    .project-financial-grid > div,
    .project-operation-grid > section:first-child {
        border-right: 0;
        border-bottom: 1px solid #e1e2de;
    }
}

.quotation-form {
    align-items: end;
}

.quotation-lines {
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
}

.quotation-lines legend {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    padding: 0 .4rem;
    text-transform: uppercase;
}

.quotation-line-input {
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(12rem, 2fr) repeat(3, minmax(6rem, 1fr));
    margin-top: .65rem;
}

.quotation-list {
    display: grid;
    gap: 1rem;
}

.quotation-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.2rem;
}

.quotation-card > header {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.quotation-card h3 {
    margin: .45rem 0 .2rem;
}

.quotation-card h3 small {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 600;
}

.quotation-card header p,
.quotation-notes {
    color: var(--muted);
    margin: 0;
}

.quotation-table {
    border-collapse: collapse;
    margin: 1rem 0;
    width: 100%;
}

.quotation-table th,
.quotation-table td {
    border-bottom: 1px solid var(--line);
    padding: .65rem;
    text-align: left;
}

.quotation-table th:last-child,
.quotation-table td:last-child {
    text-align: right;
}

.quotation-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.quotation-actions form {
    align-items: center;
    display: flex;
    gap: .6rem;
}

.quotation-revise {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.quotation-revise summary {
    color: var(--accent);
    cursor: pointer;
    font-weight: 700;
}

.quotation-revise form {
    display: grid;
    gap: .7rem;
    margin-top: .8rem;
}

@media (max-width: 720px) {
    .quotation-line-input {
        grid-template-columns: 1fr;
    }

    .quotation-card > header {
        display: grid;
    }

    .quotation-table {
        font-size: .8rem;
    }
}

.campaign-list {
    display: grid;
    gap: 1rem;
}

.campaign-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
}

.campaign-card > header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.2rem;
}

.campaign-card h3 {
    margin: .45rem 0 .25rem;
}

.campaign-card header p {
    color: var(--muted);
    margin: 0;
}

.campaign-card code {
    background: #f2f3ef;
    border-radius: .45rem;
    padding: .55rem .7rem;
}

.campaign-metrics {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.campaign-metrics > div {
    border-right: 1px solid var(--line);
    display: grid;
    gap: .3rem;
    padding: 1rem;
}

.campaign-metrics > div:last-child {
    border-right: 0;
}

.campaign-metrics span,
.campaign-metrics small {
    color: var(--muted);
    font-size: .72rem;
}

.campaign-spend-form {
    align-items: end;
    display: flex;
    gap: .7rem;
    padding: 1rem 1.2rem;
}

.campaign-spend-form label {
    display: grid;
    gap: .35rem;
}

.campaign-spend-form label span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .campaign-card > header,
    .campaign-metrics {
        display: grid;
        grid-template-columns: 1fr;
    }

    .campaign-metrics > div {
        border-bottom: 1px solid var(--line);
        border-right: 0;
    }
}

.dashboard-shell {
    display: grid;
    gap: 1.25rem;
}

.dashboard-kpis {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    display: grid;
    gap: .55rem;
    padding: 1.2rem;
}

.dashboard-kpi > span,
.dashboard-financial-grid span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-kpi strong {
    font-size: 1.25rem;
}

.dashboard-kpi small,
.dashboard-financial-grid small {
    color: var(--muted);
}

.dashboard-kpi a,
.dashboard-panel-heading a {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
}

.dashboard-columns {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-financial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-financial-grid > div {
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: .4rem;
    padding: 1.1rem 1.2rem;
}

.dashboard-financial-grid > div:nth-child(even) {
    border-right: 0;
}

.dashboard-financial-grid strong {
    font-size: 1.1rem;
}

.dashboard-financial-grid .dashboard-profit strong {
    color: var(--accent);
}

.dashboard-actions {
    display: grid;
}

.dashboard-action {
    align-items: center;
    border-top: 1px solid var(--line);
    color: inherit;
    display: grid;
    gap: .2rem 1rem;
    grid-template-columns: 10rem 1fr;
    padding: 1rem 1.2rem;
    text-decoration: none;
}

.dashboard-action:hover {
    background: #f8f8f5;
}

.dashboard-action > span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    grid-row: 1 / span 2;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dashboard-action.urgent > span {
    color: #a13b2c;
}

.dashboard-action small {
    color: var(--muted);
}

@media (max-width: 980px) {
    .dashboard-kpis,
    .dashboard-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-kpis,
    .dashboard-columns,
    .dashboard-financial-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-financial-grid > div {
        border-right: 0;
    }

    .dashboard-action {
        grid-template-columns: 1fr;
    }

    .dashboard-action > span {
        grid-row: auto;
    }
}
