:root {
    --night: #132334;
    --parchment: #f3efe4;
    --paper-card: #faf7ef;
    --ink: #1e2d27;
    --ink-soft: #4a5951;
    --ink-muted: #6e7c74;
    --ochre: #e4a369;
    --forest: #24473c;
    --rule: #ddd6c5;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
        Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--parchment);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
dl,
dt,
dd,
ul {
    margin: 0;
    padding: 0;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* --- Night Stage (Seamless #132334 canvas matching diorama sky) --- */

.night-stage {
    background-color: var(--night);
    color: #f4f0e4;
    border-top: 3px solid var(--ochre);
    border-bottom: 1px solid #1f3347;
    overflow: hidden;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    padding-bottom: 12px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand img {
    display: block;
    border-radius: 9px;
}

.brand-name {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f4f0e4;
}

.tagline {
    font-size: 13px;
    color: #8fa5b5;
}

.showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 44px;
}

.showcase-copy {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.kicker {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--ochre);
    margin-bottom: 12px;
}

.showcase-copy h1 {
    font-family: var(--serif);
    font-size: clamp(34px, 3.7vw, 48px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -0.018em;
    color: #faf6eb;
    margin-bottom: 22px;
}

.showcase-copy .lead {
    font-size: 17.5px;
    line-height: 1.62;
    color: #d5e0e8;
    margin-bottom: 14px;
}

.showcase-copy .sublead {
    font-size: 15px;
    line-height: 1.65;
    color: #8fa5b5;
}

.diorama {
    position: relative;
    margin: 0 -24px 0 0;
}

.diorama img {
    display: block;
    width: 100%;
    height: auto;
    mask-image: radial-gradient(
        ellipse 82% 80% at 50% 48%,
        #000 60%,
        transparent 97%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 82% 80% at 50% 48%,
        #000 60%,
        transparent 97%
    );
}

.diorama figcaption {
    font-size: 11.5px;
    color: #677e90;
    text-align: center;
    margin-top: -6px;
    font-style: italic;
    font-family: var(--serif);
}

/* --- Editorial Journal Body --- */

.journal {
    padding-top: 68px;
    padding-bottom: 72px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: start;
}

.narrative h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 12px;
}

.narrative-intro {
    font-size: 16.5px;
    color: var(--ink-soft);
    max-width: 530px;
    margin-bottom: 34px;
}

.pillars {
    display: grid;
    gap: 24px;
    border-top: 1px solid var(--rule);
    padding-top: 26px;
}

.pillars > div {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 24px;
    align-items: baseline;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}

.pillars > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pillars dt {
    font-family: var(--serif);
    font-size: 17.5px;
    font-weight: 600;
    color: var(--forest);
    line-height: 1.3;
}

.pillars dd {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
}

/* --- Field Card (Carnet d'atelier) --- */

.field-card {
    background: var(--paper-card);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 30px 32px;
    box-shadow: 0 8px 24px rgba(30, 45, 39, 0.035);
}

.field-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-muted);
}

.version-pill {
    font-style: normal;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--forest);
    background: #e7ebde;
    padding: 2px 9px;
    border-radius: 99px;
}

.field-card h3 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 18px;
}

.field-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.field-list li {
    padding-bottom: 16px;
    border-bottom: 1px solid #ece7da;
}

.field-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.field-list strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}

.field-list span {
    display: block;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.field-note {
    margin-top: 22px;
    padding: 14px 16px;
    background: #f1ece0;
    border-radius: 7px;
}

.field-note p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.field-note strong {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
}

/* --- Footer --- */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 34px;
    border-top: 1px solid var(--rule);
    font-size: 12.5px;
    color: var(--ink-muted);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}

.footer-brand img {
    border-radius: 6px;
}

/* --- Responsive --- */

@media (max-width: 960px) {
    .wrap {
        padding-left: 28px;
        padding-right: 28px;
    }

    .showcase {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 36px;
    }

    .showcase-copy {
        max-width: 620px;
    }

    .diorama {
        margin: 0;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 20px;
    }

    .showcase {
        padding-top: 12px;
        padding-bottom: 28px;
    }

    .showcase-copy h1 {
        font-size: 32px;
    }

    .showcase-copy .lead {
        font-size: 16px;
    }

    .journal {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .pillars > div {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-bottom: 20px;
    }

    .field-card {
        padding: 24px 22px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
