:root {
    --forest: #24382d;

    --terracotta: #b55e3c;

    --cream: #f5efe6;
    --paper: #fbf8f3;

    --text: #253229;
    --muted: #747a73;

    --line: #d8cfc3;

    --white: #ffffff;
    --error: #a94442;

    --max-width: 1180px;
}


/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Century Gothic",
        CenturyGothic,
        AppleGothic,
        sans-serif;

    color: var(--text);
    background: var(--paper);

    overflow-x: hidden;
}

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

a:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 4px;
}

.container {
    width: min(
        var(--max-width),
        calc(100% - 56px)
    );

    margin: 0 auto;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 680px;

    display: grid;
    grid-template-columns: 46% 54%;

    background: var(--forest);
}


/* =========================
   LEFT SIDE
========================= */

.hero-left {
    min-height: 680px;

    background: var(--forest);
    color: var(--cream);

    padding-top: 42px;
    padding-bottom: 65px;
    padding-left:
        max(
            40px,
            calc((100vw - var(--max-width)) / 2)
        );
    padding-right: 50px;

    display: flex;
    flex-direction: column;
}


/* =========================
   COMPANY INFO
========================= */

.hero-company-info {
    display: flex;
    align-items: flex-start;

    gap: 16px;
}

.hero-company-line {
    width: 38px;
    height: 2px;

    flex-shrink: 0;

    margin-top: 7px;

    background: var(--terracotta);
}

.hero-company-text {
    max-width: 420px;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.hero-company-name {
    color: var(--cream);

    font-size: 0.70rem;
    font-weight: 700;

    line-height: 1.45;
    letter-spacing: 0.08em;
}

.hero-company-description {
    color: #cfdbd2;

    font-size: 0.50rem;

    line-height: 1.5;
    letter-spacing: 0.08em;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
    width: 100%;
    max-width: 560px;

    margin-top: auto;
    margin-bottom: 25px;
}

.hero-accent {
    width: 52px;
    height: 3px;

    margin-bottom: 24px;

    background: var(--terracotta);
}

.hero h1 {
    margin: 0;

    max-width: 100%;

    color: var(--cream);

    font-size: clamp(
        2.8rem,
        4vw,
        4.2rem
    );

    font-weight: 400;

    line-height: 1;
    letter-spacing: -0.04em;
}


/* =========================
   RIGHT IMAGE
========================= */

.hero-image {
    min-height: 680px;

    position: relative;

    overflow: hidden;
}

.hero-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;
}

.hero-image::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 5px;
    height: 30%;

    background: var(--terracotta);
}


/* =========================
   FINANCIAL STATEMENTS
========================= */

.documents-section {
    padding: 90px 0 100px;

    background: var(--cream);
}

.statements-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 85px;

    align-items: start;
}


/* =========================
   LEFT COLUMN
========================= */

.section-label {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 24px;

    color: var(--terracotta);

    font-size: 0.66rem;
    font-weight: 700;

    letter-spacing: 0.22em;
}

.section-label::before {
    content: "";

    width: 32px;
    height: 2px;

    flex-shrink: 0;

    background: var(--terracotta);
}

.statements-intro h2 {
    color: var(--forest);

    font-size: clamp(
        2.2rem,
        3.8vw,
        3.8rem
    );

    font-weight: 400;

    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-description {
    max-width: 390px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 0.94rem;
    line-height: 1.8;
}


/* =========================
   DOCUMENT LIST
========================= */

.documents-list {
    width: 100%;
    min-height: 40px;

    border-top: 1px solid var(--forest);
}

.document-row {
    min-height: 140px;

    padding: 28px 0;

    border-bottom: 1px solid var(--line);

    display: grid;

    grid-template-columns:
        90px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 28px;

    transition:
        padding 0.25s ease,
        background-color 0.25s ease;
}

.document-row:hover {
    padding-left: 16px;
    padding-right: 16px;

    background: rgba(255, 255, 255, 0.45);
}


/* =========================
   YEAR
========================= */

.year {
    color: var(--terracotta);

    font-size: 2rem;
    font-weight: 400;

    line-height: 1;
}


/* =========================
   DOCUMENT INFO
========================= */

.document-info {
    min-width: 0;
}

.document-title {
    color: var(--forest);

    font-size: 1rem;
    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.document-type {
    margin-top: 7px;

    color: var(--muted);

    font-size: 0.58rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}


/* =========================
   PDF LINK
========================= */

.pdf-link {
    width: 145px;
    min-height: 46px;

    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid var(--forest);

    color: var(--forest);

    font-size: 0.75rem;
    font-weight: 700;

    line-height: 1.3;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.pdf-link:hover {
    color: var(--white);

    background: var(--terracotta);
    border-color: var(--terracotta);
}

.pdf-link span {
    display: inline-block;

    font-size: 1rem;

    transition: transform 0.2s ease;
}

.pdf-link:hover span {
    transform: translate(3px, -3px);
}

.pdf-link:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 5px;
}


/* =========================
   DYNAMIC STATUS
========================= */

.documents-status {
    margin-top: 24px;

    color: var(--muted);

    font-size: 0.78rem;
    line-height: 1.6;
}

.documents-status[data-error="true"] {
    color: var(--error);
}

.documents-status[hidden] {
    display: none;
}


/* =========================
   LIGHT SPACE
========================= */

.white-space {
    min-height: 160px;

    background: var(--paper);
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--forest);
    color: var(--white);

    padding: 42px 0 24px;
}

.footer-inner {
    display: grid;

    grid-template-columns:
        210px
        minmax(0, 1fr);

    align-items: center;

    column-gap: 40px;
    row-gap: 32px;
}


/* =========================
   LEFT COMPANY NAME
========================= */

.footer-logo {
    display: flex;
    align-items: center;

    gap: 26px;
}

.footer-logo-text {
    color: var(--white);

    font-size: 0.72rem;
    font-weight: 600;

    line-height: 1.55;
}


/* =========================
   DIVIDER
========================= */

.footer-divider {
    width: 1px;
    height: 58px;

    flex-shrink: 0;

    background:
        rgba(
            255,
            255,
            255,
            0.28
        );
}


/* =========================
   FOOTER MESSAGE
========================= */

.footer-message {
    color: #d9dfd8;

    font-size: 0.70rem;
    font-style: normal;

    line-height: 1.8;
    letter-spacing: 0.015em;
}

.footer-message a {
    color: #d9dfd8;

    transition: color 0.2s ease;
}

.footer-message a:hover {
    color: var(--white);
}


/* =========================
   COPYRIGHT
========================= */

.footer-copy {
    grid-column: 1 / -1;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    color: #aebbad;

    font-size: 0.68rem;

    line-height: 1.5;
    letter-spacing: 0.02em;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 45% 55%;
    }

    .hero-left {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-company-name {
        font-size: 0.64rem;
    }

    .hero-company-description {
        font-size: 0.46rem;
    }

    .hero h1 {
        font-size: clamp(
            2.8rem,
            5vw,
            4rem
        );
    }

    .statements-layout {
        gap: 50px;
    }

    .document-row {
        grid-template-columns:
            75px
            minmax(0, 1fr);

        gap: 22px;
    }

    .pdf-link {
        grid-column: 2;

        width: 145px;

        margin-top: 4px;
    }

    .footer-inner {
        grid-template-columns:
            180px
            minmax(0, 1fr);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 720px) {

    .container {
        width: min(
            100% - 32px,
            var(--max-width)
        );
    }


    /* HERO */

    .hero {
        min-height: auto;

        grid-template-columns: 1fr;
    }

    .hero-left {
        min-height: 520px;

        padding:
            28px
            22px
            50px;
    }

    .hero-company-info {
        gap: 10px;
    }

    .hero-company-line {
        width: 24px;
    }

    .hero-company-text {
        max-width: 280px;
    }

    .hero-company-name {
        font-size: 0.58rem;

        letter-spacing: 0.06em;
    }

    .hero-company-description {
        font-size: 0.42rem;

        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    .hero-content {
        margin-top: auto;
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: clamp(
            3rem,
            14vw,
            4.2rem
        );

        line-height: 1;
    }

    .hero-image {
        min-height: 360px;
    }

    .hero-image img {
        object-position: center center;
    }


    /* STATEMENTS */

    .documents-section {
        padding: 68px 0 78px;
    }

    .statements-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .section-description {
        max-width: 100%;
    }

    .document-row {
        grid-template-columns: 1fr;

        gap: 13px;

        padding: 26px 0;
    }

    .document-row:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .year {
        font-size: 1.8rem;
    }

    .pdf-link {
        grid-column: auto;

        width: 145px;

        margin-top: 10px;
    }

    .documents-status {
        margin-top: 18px;

        font-size: 0.72rem;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .footer-logo {
        display: block;
    }

    .footer-divider {
        display: none;
    }

    .footer-message {
        font-size: 0.68rem;

        line-height: 1.8;
    }

    .footer-copy {
        grid-column: auto;

        margin-top: 6px;
        padding-top: 18px;
    }
}


/* =========================
//   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}
