/* ============================================================ *
   GENERIC
 * ============================================================ */
:root {
    --page-spacing: 5mm;
}

@page {
    size: landscape;
    margin: 5mm;
}

.print-only {
    display: block;
}

header,
footer,
.contact {
    display: none;
}

section,
.bg-lighten {
    margin: 0;
    padding: 0;
    background: transparent;
}

/* ============================================================ *
   OBJECTS / LAYOUT
 * ============================================================ */
html {
    background: transparent;
}

body {
    --font-size-bodycopy: 8.5pt;
    --line-height-base: 12pt;
    --letter-spacing-base: 0.5pt;

    margin: 0;
    line-height: var(--line-height-base);
}

main {
    --color-headings: var(--cd-black);

    color: var(--cd-grey-10);
}

.print-page-wrapper {
    display: grid;
    grid-template: 199mm / 87fr 105fr 105fr;
    grid-template-areas: "page1 page2 page3";
    gap: 0 1cm;
    overflow: hidden;
    page-break-after: always;
}

.print-page-wrapper:nth-of-type(2) {
    grid-template: 200mm / 105fr 105fr 87fr;
    grid-template-areas: "page4 page5 page6";
}

.print-page-wrapper > *:not([class*="print-"]) {
    display: none;
}

section {
    padding: 0;
}

/* -------------------- TYPOGRAPHY -------------------- */
h1 {
    --font-size: 28pt;
    --font-weight: var(--font-weight-bold);
    --color-headings: var(--color-highlight);

    margin: 0;
    flex: 1;
    align-content: center;
}

h1 em {
    color: var(--cd-white);
}

h1::after {
    display: none;
}

h2 {
    --font-size: 16pt;
    --font-weight: var(--font-weight-extra-bold);

    margin-bottom: calc(2 * var(--line-height-base));
}

h3 {
    --font-size: 12pt;
    --font-weight: var(--font-weight-bold);

    color: var(--color-light);
}

h4 {
    --font-size: 12pt;

    line-height: var(--line-height-base);
}

em { /* stylelint-disable-line no-descending-specificity */
    color: inherit;
    font-weight: inherit;
}

p {
    margin-bottom: var(--line-height-base);
}

/* -------------------- PRINT PAGES -------------------- */
.print-page1 {
    grid-area: page1;
}

.print-page2 {
    grid-area: page2;
}

.print-page3 {
    grid-area: page3;
}

.print-page4 {
    grid-area: page4;
}

.print-page5 {
    grid-area: page5;
}

.print-page6 {
    grid-area: page6;
}

/* ============================================================ *
   COMPONENTS
 * ============================================================ */
.items-wrapper .max-content {
    max-width: none;
}

.company {
    font-size: 6pt;
    display: flex;
    flex-flow: column wrap;
}

.company > * { /* stylelint-disable-line no-descending-specificity */
    flex: 0;
}

.company p {
    font-size: inherit;
}

.company::before {
    content: "";
    width: 100%;
    background: var(--cd-orange-60);
    flex: 1;
    display: block;
    margin-bottom: var(--line-height-base);
}

.tagline {
    display: flex;
    flex-flow: column;
    padding: var(--line-height-base) calc(2 * var(--line-height-base));
    background: linear-gradient(45deg, var(--color-dark), var(--color-light));
}

.logo-confirm {
    width: 35mm;
    height: auto;
    margin: var(--line-height-base) 0;
}

.tagline .logo-confirm {
    flex-grow: 0;
    margin-bottom: 0;
}

.tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--line-height-base);
}

.tiers > * { /* stylelint-disable-line no-descending-specificity */
    background: var(--color-highlight);
    color: var(--color-ligh);
    font-size: 6pt;
}

.tiers h3 {
    font-size: 10pt;
}

.tiers .price {
    font-size: 12pt;
    font-weight: 300;
}

.items-wrapper {
    height: 100%;
}

.items {
    font-size: var(--font-size-bodycopy);
    gap: 0;
    flex-flow: column;
    justify-items: flex-end;
    place-content: flex-start space-between;
}

.items > * { /* stylelint-disable-line no-descending-specificity */
    flex: 0 auto;
    display: flex;
    flex-flow: row;
    background: var(--color-highlight);
    gap: var(--line-height-base);
    padding: var(--line-height-base);
    max-width: none;
}

.items .icon {
    flex-shrink: 0;
}

.items .text {
    flex: 1;
    margin: 0;
}

.items .title {
    margin-bottom: calc(var(--line-height-base) / 2);
}

.icon img {
    filter: none;
}

/* ============================================================ *
   dummy for dev
 * ============================================================ */

@media only screen {
    body {
        width: 297mm;
        margin: 0 auto;
    }
}
