/* ===== Professional Editorial Style v8 ===== */
/* Monocle / Kinfolk inspired design */
/* Principles: Maximum white space, refined typography, minimal decoration */

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #1A1A1A;
    background-color: #EDE7DC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 182px;
    pointer-events: none;
}

a {
    color: #1A1A1A;
    text-decoration: none;
    border-bottom: 1px solid #1A1A1A;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.6;
}

/* ===== Container ===== */
.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 100px 50px 120px;
}

/* ===== Header (Editorial with Photo) ===== */
.header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px solid #000000;
}

.header-photo {
    flex-shrink: 0;
}

.header-photo img {
    width: auto;
    height: 420px;
    object-fit: contain;
    display: block;
}

.header-content {
    flex: 1;
    padding-top: 15px;
}

.header-content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: #000000;
    letter-spacing: -1px;
}

.header-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #000000;
}

.header-contact {
    font-size: 14px;
    line-height: 1.8;
}

.header-contact p {
    margin: 0 0 6px 0;
}

.header-contact strong {
    font-weight: 600;
    margin-right: 5px;
}

.header-contact a {
    border-bottom: none;
}

.header-contact a:hover {
    border-bottom: 1px solid #1A1A1A;
}

/* ===== Summary Manifesto (Professional Typography) ===== */
.summary {
    margin-bottom: 80px;
    padding: 50px 0 50px 40px;
    border-left: 3px solid #000000;
}

.summary-lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 50px;
    letter-spacing: -0.3px;
    color: #000000;
}

.summary p:not(.summary-lead) {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
}

.summary p:last-child {
    margin-bottom: 0;
}

/* ===== Sections ===== */
.section {
    margin-bottom: 100px;
    padding-top: 80px;
    border-top: 1px solid #000000;
}

.section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    color: #000000;
}

/* ===== Items (Clean & Spacious) ===== */
.item {
    margin-bottom: 60px;
}

.item:last-child {
    margin-bottom: 0;
}

.item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #000000;
}

.item p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 15px;
    max-width: 700px;
}

.item p:last-child {
    margin-bottom: 0;
}

.item .meta {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin-bottom: 15px;
    font-style: italic;
}

.item .meta strong {
    font-weight: 600;
    color: #000000;
    font-style: normal;
}

/* ===== Compact Implementations Grid ===== */
.implementations-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.item-compact {
    margin-bottom: 0;
}

.item-compact h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: #000000;
}

.item-compact p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #4A4A4A;
}

.item-compact p:last-child {
    margin-bottom: 0;
}

.result-compact {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #1A1A1A;
    margin-top: 10px;
    padding-left: 12px;
}

/* ===== Footer ===== */
.footer {
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid #000000;
    text-align: center;
}

.footer-divider {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #757575;
}

.footer p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer strong {
    font-weight: 600;
    margin-right: 5px;
}

.footer a {
    border-bottom: none;
}

.footer a:hover {
    border-bottom: 1px solid #1A1A1A;
}

.footer-cta {
    font-size: 18px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 0;
    color: #000000;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 80px 40px 100px;
    }

    .header {
        margin-bottom: 60px;
        padding-bottom: 40px;
    }

    .header-photo img {
        height: 300px;
    }

    .header-content h1 {
        font-size: 48px;
    }

    .summary {
        padding: 40px 0 40px 35px;
        margin-bottom: 70px;
    }

    .summary-lead {
        font-size: 40px;
        margin-bottom: 40px;
        line-height: 1.35;
    }

    .section {
        margin-bottom: 80px;
        padding-top: 70px;
    }

    .section h2 {
        font-size: 34px;
        margin-bottom: 50px;
    }

    .item {
        margin-bottom: 50px;
    }

    .item h4 {
        font-size: 24px;
    }

    .implementations-grid-compact {
        gap: 35px 50px;
    }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    .container {
        padding: 60px 30px 80px;
    }

    .header {
        flex-direction: column;
        gap: 0;
        margin-bottom: 50px;
        padding-bottom: 30px;
        align-items: center;
    }

    .header-photo {
        width: 100%;
        margin-bottom: 30px;
    }

    .header-photo img {
        width: 280px;
        height: 280px;
        object-fit: cover;
        object-position: center 20%;
        border-radius: 0;
        margin: 0 auto;
    }

    .header-content {
        padding-top: 0;
        text-align: center;
    }

    .header-content h1 {
        font-size: 42px;
        letter-spacing: -0.5px;
        margin-bottom: 15px;
    }

    .header-title {
        font-size: 15px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .header-contact {
        font-size: 13px;
    }

    .summary {
        margin-bottom: 60px;
        padding: 35px 0 35px 25px;
        border-left-width: 2px;
    }

    .summary-lead {
        font-size: 32px;
        line-height: 1.35;
        margin-bottom: 35px;
    }

    .summary p:not(.summary-lead) {
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 25px;
    }

    .section {
        margin-bottom: 70px;
        padding-top: 60px;
    }

    .section h2 {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 45px;
    }

    .item {
        margin-bottom: 45px;
    }

    .item h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .item p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .implementations-grid-compact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .item-compact h4 {
        font-size: 19px;
    }

    .item-compact p {
        font-size: 15px;
    }

    .result-compact {
        font-size: 15px;
    }

    .footer {
        margin-top: 90px;
        padding-top: 50px;
    }

    .footer-cta {
        font-size: 16px;
        margin-top: 20px;
    }
}

/* ===== Print Styles ===== */
@media print {
    body {
        font-size: 11pt;
        line-height: 1.5;
        background-color: #ffffff;
        color: #000000;
    }

    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .header {
        page-break-after: avoid;
        margin-bottom: 35px;
        padding-bottom: 20px;
        border-bottom: 1px solid #000000;
    }

    .header-photo img {
        height: 120px;
    }

    .header-content h1 {
        font-size: 32pt;
        font-weight: 300;
    }

    .header-title {
        font-size: 10pt;
    }

    .header-contact {
        font-size: 9pt;
    }

    .summary {
        page-break-after: avoid;
        margin-bottom: 30px;
        padding: 0 0 0 25px;
        border-left-width: 2px;
    }

    .summary-lead {
        font-size: 16pt;
        margin-bottom: 20px;
    }

    .summary p:not(.summary-lead) {
        font-size: 10pt;
        margin-bottom: 12px;
    }

    .section {
        page-break-inside: avoid;
        margin-bottom: 25px;
        padding-top: 25px;
        border-top: 1px solid #000000;
    }

    .section h2 {
        font-size: 20pt;
        margin-bottom: 20px;
    }

    .item {
        page-break-inside: avoid;
        margin-bottom: 18px;
    }

    .item h4 {
        font-size: 14pt;
        font-weight: 700;
    }

    .item p {
        font-size: 10pt;
        margin-bottom: 8px;
    }

    .implementations-grid-compact {
        gap: 18px 25px;
    }

    .item-compact h4 {
        font-size: 12pt;
    }

    .item-compact p {
        font-size: 9pt;
    }

    a {
        color: #000000;
        text-decoration: none;
        border-bottom: none;
    }

    .footer {
        page-break-before: always;
        margin-top: 35px;
        padding-top: 25px;
        border-top: 1px solid #000000;
    }

    .footer-cta {
        font-size: 14pt;
    }
}
