.project-section {
    height: 100vh;
    display: flex;
    align-items: stretch;
}

.project-img {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
}

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

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding: 40px 60px 0;
    gap: 0;
}

.project-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.project-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.project-desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
}

.project-drawing {
    display: block;
    margin-left: auto;
    flex: 1;
    min-height: 0;
    max-width: 60%;
    object-fit: contain;
    object-position: right;
}

.project-section--flip {
    flex-direction: row-reverse;
}

/* ── Specs / Order section ── */
.specs-section {
    height: auto;
    display: flex;
    align-items: stretch;
}

.specs-left {
    width: 40%;
    padding: 60px 0;
}

.specs-right {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.specs-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
}

.specs-title-left{
    padding-left: 50px;
}

.specs-list {
    display: flex;
    flex-direction: column;
}

.spec-item {
    border-top: 1px solid #111;
}

.spec-item:last-child {
    border-bottom: 1px solid #111;
}

.spec-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 18px 20px 18px 50px;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: inherit;
    text-align: left;
}

.spec-trigger:hover {
    opacity: 0.6;
}

.spec-arrow {
    width: 14px;
    height: auto;
    flex-shrink: 0;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.spec-trigger[aria-expanded="true"] .spec-arrow {
    transform: rotate(270deg);
}

.spec-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.spec-body > div {
    overflow: hidden;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    padding: 0 50px;
    transition: padding-bottom 0.3s ease;
}

.spec-item.open .spec-body {
    grid-template-rows: 1fr;
}

.spec-item.open .spec-body > div {
    padding-bottom: 18px;
    padding-top: 4px;
}

.spec-dims-table {
    border-collapse: collapse;
    width: 100%;
}

.spec-dims-table td {
    padding: 4px 16px 4px 0;
    vertical-align: top;
}

.spec-dims-table td:first-child {
    white-space: nowrap;
}

.specs-order-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.about-page {
    padding: 60px;
    height: auto;
}

.about-text {
    width: calc(4 / 6 * 100% - 20px);
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.about-text p + p {
    margin-top: 1.5em;
}

.about-designer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 250px;
    padding: 60px;
    height: auto;
}

.about-designer-img {
    width: 38%;
    max-width: 700px;
    object-fit: cover;
    flex-shrink: 0;
}

.about-exhibitions {
    padding: 60px;
    height: auto;
}

.about-exhibitions-inner {
    display: flex;
    flex-direction: row;
    width: 38%;
    max-width: 700px;
}

.about-exhibitions-label {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    width: 50%;
}

.about-exhibitions-list {
    width: 50%;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-designer-text {
    flex: 1;
}

.about-designer-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 40px;
}

.about-designer-name {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.about-designer-role {
    font-size: 20px;
    font-weight: 500;
}

.about-designer-text p:not(.about-designer-name):not(.about-designer-role) {
    font-size: 20px;
    line-height: 30px;
}

.about-designer-text p:not(.about-designer-name):not(.about-designer-role) + p {
    margin-top: 1em;
}

.specs-order-link {
    font-size: 18px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    letter-spacing: 0.01em;
}

.specs-order-link:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .specs-section {
        flex-direction: column;
        padding: 0;
    }

    .specs-left {
        width: 100%;
        padding: 32px 0;
        border-right: none;
        border-bottom: none;
    }

    .specs-right {
        width: 100%;
        padding: 32px 20px;
    }

    .specs-left {
        padding: 0;
    }

    .spec-arrow{
        margin-right: 20px;
    }

    .specs-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .specs-title-left{
        padding-left: 20px;
    }

    .spec-trigger {
        font-size: 16px;
        padding: 16px 5px 16px 20px;
    }

    .spec-body > div {
        padding: 0 20px;
    }

    .spec-item.open .spec-body > div {
        padding-bottom: 16px;
    }

    .specs-order-text,
    .specs-order-link {
        font-size: 16px;
    }
}

.product-variants {
    display: flex;
    flex-direction: column;
    padding: 0px 60px 80px;
}

@media (max-width: 768px) {
    .product-variants {
        padding: 40px 20px 0;
    }
}

.coffee-table-images {
    display: flex;
    width: 100%;
}

.coffee-table-images img {
    width: 50%;
    display: block;
}

.coffee-table-full {
    display: block;
    width: 100%;
}

.coffee-table-description {
    margin: 60px;
    padding: 0 90px 0 0;

    width: calc(4 / 6 * 100%);
    font-size: 30px;
    line-height: 130%;
    flex-direction: column;
    height: auto;
}

.coffee-table-description p + p {
    margin-top: 1em;
}

@media (max-width: 768px) {
    .project-section {
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    .project-img {
        width: 100%;
        height: auto;
    }

    .project-img img {
        height: auto;
        object-fit: unset;
    }

    .project-drawing {
        max-width: 100%;
        width: 100%;
        object-position: center;
    }

    .project-content {
        padding: 32px 20px;
    }

    .project-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .project-subtitle {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .project-desc {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 40px 20px;
    }

    .about-text {
        width: 100%;
        font-size: 23px;
    }

    .about-designer {
        flex-direction: column;
        gap: 32px;
        padding: 40px 20px;
    }

    .about-designer-img {
        width: 100%;
        max-width: 100%;
    }

    .about-exhibitions {
        padding: 40px 20px;
    }

    .about-exhibitions-inner {
        width: 100%;
        flex-direction: column;
        gap: 24px;
    }

    .about-exhibitions-label {
        font-size: 28px;
        width: 100%;
    }

    .about-exhibitions-list {
        width: 100%;
    }

    .about-designer-name {
        font-size: 28px;
    }

    .about-designer-header {
        flex-direction: column;
        gap: 4px;
    }

    .coffee-table-description {
        margin: 40px 0;
        padding: 0 20px;
        width: 100%;
        font-size: 23px;
    }

    .coffee-table-images {
        flex-direction: column;
    }

    .coffee-table-images img {
        width: 100%;
    }
}
