/* Y02 Labs LLC - Stylesheet */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

@font-face {
    font-family: 'Aileron';
    src: url('assets/fonts/aileron-latin-400-normal.woff2') format('woff2'),
         url('assets/fonts/aileron-latin-400-normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('assets/fonts/aileron-latin-700-normal.woff2') format('woff2'),
         url('assets/fonts/aileron-latin-700-normal.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Aileron', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #21526d;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    position: relative;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3 {
    font-family: Consolas, 'Inconsolata', 'Source Code Pro', monospace;
    font-weight: 700;
    color: #21526d;
    letter-spacing: 0;
}

/* Links */
a {
    color: #21526d;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: #0071c9;
}

/* Hero Section - 1366x768 reference (16:9 aspect ratio) */
.hero {
    background-color: #d2e2eb;
    height: 56.25vw; /* 768/1366 = 56.25% for 16:9 at desktop */
    min-height: 500px;
    max-height: 100vh;
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.hero .container {
    height: 100%;
    padding: 0;
}

.logo-header {
    position: absolute;
    left: 8.05vw; /* 110/1366 */
    top: 6.67vw; /* 91/1366 */
    display: flex;
    align-items: center;
    gap: 0.88vw; /* ~12px gap */
    z-index: 2;
}

.logo-mark {
    width: 2.34vw; /* 32/1366 */
    height: 2.34vw;
    min-width: 24px;
    min-height: 24px;
}

.company-name {
    font-family: Consolas, 'Inconsolata', 'Source Code Pro', monospace;
    font-size: clamp(14px, 1.95vw, 26.66px); /* 26.66/1366 */
    font-weight: 700;
    line-height: 1.1;
    color: #21526d;
}

.main-heading {
    position: absolute;
    left: 7.17vw; /* 98/1366 */
    top: 10.54vw; /* 144/1366 */
    font-size: clamp(32px, 7.13vw, 97.34px); /* 97.34/1366 */
    line-height: 1.0;
    max-width: 65.4vw; /* 894/1366 */
    white-space: pre-line;
}

.hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20.86vw; /* 285/1366 */
    height: auto;
    z-index: 1;
}

.chart-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section - 1366x768 reference */
.about {
    background-color: #bfdae8;
    min-height: 56.25vw;
    padding: 1.76vw 0; /* 24/1366 */
}

.about .container {
    padding: 0 7.17vw; /* 98/1366 */
}

.section-heading {
    font-size: clamp(28px, 4.88vw, 66.67px); /* 66.67/1366 */
    line-height: 1.1;
    margin: 0 0 3.66vw; /* 50/1366 */
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.59vw;
}

.section-heading a {
    color: #21526d;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.59vw;
}

.section-heading a:hover {
    color: #0071c9;
}

.about-content {
    display: grid;
    grid-template-columns: 41.65vw 34.19vw; /* 569/1366, 467/1366 */
    gap: 7.32vw; /* 100/1366 */
    align-items: start;
    padding-top: 2vw;
}

.about-text p {
    font-size: clamp(16px, 1.95vw, 26.67px); /* 26.67/1366 */
    line-height: 1.3;
    margin-bottom: 1.9vw; /* 26/1366 */
}

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

.portrait {
    width: 100%;
    height: auto;
}

/* Services Section - 1366x768 reference */
.services {
    background-color: #d2e2eb;
    min-height: 56.25vw;
    padding: 7.76vw 0 4.4vw; /* 106/1366 top, 60/1366 bottom */
}

.services .container {
    padding: 0 7.17vw; /* 98/1366 */
}

.services .section-heading {
    text-align: center;
    margin-bottom: 5.86vw; /* 80/1366 */
}

.services-grid {
    display: grid;
    grid-template-columns: 19.47vw 22.77vw 19.47vw; /* 266/1366, 311/1366, 266/1366 */
    gap: 7.32vw; /* 100/1366 */
    justify-content: center;
    margin-bottom: 3.66vw;
}

.service-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    width: auto;
    height: 9.15vw; /* 125/1366 */
    margin-bottom: 3.52vw; /* 48/1366 */
    color: #0071c9;
}

.service-title {
    font-size: clamp(16px, 1.95vw, 26.67px); /* 26.67/1366 */
    line-height: 1.3;
    margin-bottom: 1.47vw;
}

.service-list {
    list-style: none;
    padding-left: 0;
    font-size: clamp(13px, 1.27vw, 17.33px); /* 17.33/1366 */
    line-height: 1.3;
    text-align: left;
    width: 100%;
}

.service-list li {
    margin-bottom: 0.59vw;
    padding-left: 1.47vw;
    position: relative;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #21526d;
    font-weight: bold;
}

.services-footer {
    font-family: Consolas, 'Inconsolata', 'Source Code Pro', monospace;
    font-size: clamp(12px, 1.07vw, 14.67px); /* 14.67/1366 */
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

/* Skyline Banner - top of frame 4 */
.skyline-banner {
    width: 100%;
    height: 34.04vw; /* 465/1366 */
    min-height: 250px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bfdae8;
    padding: 0;
}

.skyline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 39%;
    display: block;
}

/* Contact Section - rest of frame 4 */
.contact {
    background-color: #bfdae8;
    padding: 5.21vw 7.17vw 4.4vw; /* adjusted for skyline */
}

.contact .section-heading {
    margin-bottom: 2.93vw;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7.32vw;
    padding-top: 4.17vw; /* 57/1366 */
}

.contact-label {
    font-family: Consolas, 'Inconsolata', 'Source Code Pro', monospace;
    font-size: clamp(16px, 1.95vw, 26.67px); /* 26.67/1366 */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.47vw;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.44vw;
}

.contact-value {
    font-size: clamp(13px, 1.27vw, 17.33px); /* 17.33/1366 */
    line-height: 1.3;
}

.contact-value a {
    color: #21526d;
}

.contact-value a:hover {
    color: #0071c9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 600px;
        padding: 60px 40px 300px;
    }

    .logo-header {
        position: static;
        margin-bottom: 30px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .company-name {
        font-size: 20px;
    }

    .main-heading {
        position: static;
        font-size: clamp(44px, 8vw, 72px);
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-visual {
        position: absolute;
        right: 40px;
        bottom: 40px;
        width: 240px;
    }

    .about {
        min-height: auto;
        padding: 50px 0;
    }

    .about .container {
        padding: 0 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 20px;
    }

    .about-image {
        order: -1;
        text-align: center;
    }

    .portrait {
        max-width: 350px;
    }

    .about-text p {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-heading {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .services {
        min-height: auto;
        padding: 50px 0;
    }

    .services .container {
        padding: 0 40px;
    }

    .services .section-heading {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-icon {
        height: 100px;
        margin-bottom: 30px;
    }

    .service-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .service-list {
        font-size: 16px;
    }

    .services-footer {
        text-align: center;
        font-size: 13px;
    }

    .skyline-banner {
        height: 300px;
    }

    .contact {
        padding: 50px 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .contact-label {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .contact-value {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 40px 30px 240px;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

    .company-name {
        font-size: 18px;
    }

    .main-heading {
        font-size: clamp(36px, 9vw, 60px);
    }

    .hero-visual {
        width: 200px;
        right: 30px;
        bottom: 30px;
    }

    .about .container,
    .services .container {
        padding: 0 30px;
    }

    .about-text p {
        font-size: 18px;
    }

    .portrait {
        max-width: 300px;
    }

    .section-heading {
        font-size: 34px;
    }

    .service-icon {
        height: 80px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-list {
        font-size: 15px;
    }

    .skyline-banner {
        height: 250px;
    }

    .contact {
        padding: 40px 30px;
    }

    .contact-label {
        font-size: 20px;
    }

    .contact-value {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 30px 24px 200px;
    }

    .logo-mark {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .company-name {
        font-size: 16px;
    }

    .main-heading {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero-visual {
        width: 160px;
        right: 24px;
        bottom: 24px;
    }

    .about .container,
    .services .container {
        padding: 0 24px;
    }

    .about-text p {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .portrait {
        max-width: 280px;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .service-icon {
        height: 70px;
        margin-bottom: 24px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .service-list {
        font-size: 14px;
    }

    .services-footer {
        font-size: 12px;
    }

    .skyline-banner {
        height: 200px;
    }

    .contact {
        padding: 40px 24px;
    }

    .contact-grid {
        gap: 32px;
        padding-top: 30px;
    }

    .contact-label {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .contact-value {
        font-size: 14px;
    }
}
