/* ============================================================
   EPEKLOS RESEARCH
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #222222;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    background-color: #111111;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
}

.firm-name-link {
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    color: #d8d8d8;
    text-decoration: none;
    line-height: 1;
}

.firm-name-link:hover {
    color: #ffffff;
}

/* --- Navigation --- */

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #999999;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.25s ease;
}

.site-nav a:hover {
    color: #d8d8d8;
    border-bottom-color: #d8d8d8;
}

.site-nav a.active {
    color: #d8d8d8;
    border-bottom-color: #d8d8d8;
}


/* ============================================================
   CONTENT COLUMN - interior pages
   ============================================================ */

.site-main {
    flex: 1;
}

.content-column {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 2.5rem;
}


/* ============================================================
   HOME PAGE

   The background image fills the main area. The top edge
   touches the header, the bottom can extend behind the footer.
   The name and descriptor sit over the image, positioned
   with authority, not hard-left, not centered, but placed
   with deliberate offset.
   ============================================================ */

.home-main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.home-bg {
    display: block;
    width: 100%;
    height: auto;
}

.home-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 5% 27.5% 15%;

    z-index: 2;
}

.home-firm-name {
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    font-size: 4.5vw;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 0.8vw;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
                 0 1px 6px rgba(0, 0, 0, 0.4);
}

.home-descriptor {
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    font-style: italic;
    font-size: 1.35vw;
    letter-spacing: 0.01em;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5),
                 0 1px 4px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   INTERIOR PAGES
   ============================================================ */

.page-upper {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #222222;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: 0.01em;
    color: #111111;
    line-height: 1.2;
}

.page-content {
    padding-bottom: 6rem;
}

.page-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 1.6rem;
}

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


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
}


/* ============================================================
   COVERAGE PAGE
   ============================================================ */

.coverage-intro {
    margin-bottom: 2rem;
}

.coverage-intro p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
}

.coverage-subscribe {
    text-align: center;
    margin-bottom: 3.5rem;
}

.coverage-subscribe iframe {
    max-width: 100%;
}

.coverage-list {
    list-style: none;
    border-top: 1px solid #dddddd;
}

.coverage-item {
    border-bottom: 1px solid #dddddd;
}

.coverage-item-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.25rem 0.5rem;
}

.coverage-item-left {
    display: flex;
    align-items: baseline;
    min-width: 0;
}

.coverage-item-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.3;
    color: #222222;
}

.coverage-item-ticker {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #737373;
    margin-left: 0.75rem;
    white-space: nowrap;
}

.coverage-item-right {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-left: 2rem;
    flex-shrink: 0;
}

.coverage-item-sector {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: #737373;
    white-space: nowrap;
}

.coverage-item-rec {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    line-height: 1;
}

.coverage-item-rec.buy {
    color: #1b5e20;
    background-color: #e8f5e9;
}

.coverage-item-rec.sell {
    color: #b71c1c;
    background-color: #ffebee;
}

.coverage-item-rec.hold {
    color: #bf4500;
    background-color: #fff3e0;
}

.coverage-item-rec.pending {
    color: #707070;
    background-color: #f0f0f0;
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

.coverage-item-report a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 1px;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    white-space: nowrap;
}

.coverage-item-report a:hover {
    color: #111111;
    border-bottom-color: #111111;
}


/* ============================================================
   RESEARCH PAGE
   ============================================================ */

.research-subscribe {
    text-align: center;
    margin-bottom: 1.5rem;
}

.research-subscribe iframe {
    max-width: 100%;
}

.research-subscribe-note {
    text-align: center;
    font-size: 1rem;
    color: #666666;
    margin-bottom: 3rem;
}

.research-sa-note {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 3rem;
}

.research-archive-label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #737373;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #dddddd;
}

.research-archive-list {
    list-style: none;
}

.research-archive-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid #eeeeee;
}

.research-archive-item a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    color: #222222;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.research-archive-item a:hover {
    color: #555555;
}

.research-archive-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #999999;
    margin-left: 0.75rem;
}

.research-archive-empty {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-style: italic;
    color: #767676;
    line-height: 1.7;
    padding-top: 1rem;
}


/* ============================================================
   MODELS PAGE
   ============================================================ */

.models-intro {
    margin-bottom: 2.5rem;
}

.models-intro p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333333;
}

.model-section {
    border-top: 1px solid #dddddd;
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
}

.model-section:last-of-type {
    margin-bottom: 2rem;
}

.model-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.model-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #111111;
    line-height: 1.2;
}

.model-ticker {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #737373;
    margin-left: 0.75rem;
}

.model-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #333333;
    margin-bottom: 2rem;
}

.model-contents-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #737373;
    margin-bottom: 0.8rem;
}

.model-contents {
    list-style: none;
    margin-bottom: 2rem;
}

.model-contents li {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #333333;
    padding: 0.35rem 0;
    padding-left: 1rem;
    position: relative;
}

.model-contents li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #999999;
}

.model-screenshots {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.model-screenshot {
    border: 1px solid #e0e0e0;
    max-width: 100%;
    height: auto;
}

.model-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: #737373;
    margin-bottom: 1.5rem;
}

.model-meta span {
    margin-right: 1.5rem;
}

.model-purchase {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #ffffff;
    background-color: #222222;
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.model-purchase:hover {
    background-color: #444444;
    color: #ffffff;
}

.models-note {
    border-top: 1px solid #dddddd;
    padding-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #737373;
    line-height: 1.7;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-firm-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 2rem;
}

.contact-note {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #777777;
    margin-bottom: 1.2rem;
}

.contact-detail {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.contact-detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #737373;
    width: 3.5rem;
    flex-shrink: 0;
}

.contact-detail-value {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-detail-value a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: #333333;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 1px;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.contact-detail-value a:hover {
    color: #111111;
    border-bottom-color: #111111;
}


/* ============================================================
   DISCLAIMER PAGE
   ============================================================ */

.disclaimer-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444444;
    margin-bottom: 1.6rem;
}

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


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

.site-footer {
    background-color: #111111;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
}

.footer-left {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #8a8a8a;
}

.footer-right a {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #999999;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.25s ease;
}

.footer-right a:hover {
    color: #d8d8d8;
    border-bottom-color: #d8d8d8;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 780px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1rem 1.5rem;
    }

    .content-column {
        padding: 0 1.5rem;
    }

    .home-main {
        min-height: calc(100vh - 3.4rem);
    }

    .home-bg {
        width: auto;
        height: 100%;
        min-height: calc(100vh - 3.4rem);
        object-fit: cover;
        object-position: center;
    }

    .home-text {
        padding: 0 1.5rem 0 10%;
        height: auto;
        min-height: calc(100vh - 3.4rem);
    }

    .home-firm-name {
        font-size: 10vw;
    }

    .home-descriptor {
        font-size: 4vw;
    }

    .page-upper {
        padding-top: 3.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .site-nav ul {
        gap: 1.3rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 1rem 1.5rem;
    }

    .coverage-item-inner {
        flex-direction: column;
        gap: 0.4rem;
    }

    .coverage-item-right {
        margin-left: 0;
    }

    .research-subscribe iframe {
        width: 100% !important;
    }

    .coverage-subscribe iframe {
        width: 100% !important;
    }

    .model-screenshots {
        flex-direction: column;
    }

    .model-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .model-ticker {
        margin-left: 0;
    }
}
