/* --- Font Face Declaration --- */
@font-face {
    font-family: 'Arlen Tight Light';
    src: url('Arlen-TightLight.woff2') format('woff2'),
         url('Arlen-TightLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Variables based on Styleguide --- */
:root {
    --honk-green-primary: #47B26B; /* Dark Green */
    --honk-green-light: #8AE5A9;   /* Light Green */
    --honk-blue: #80AAFF;
    --honk-pink: #FF0055;
    --asml-blue: #002561;
    --bg-white: #ffffff;
    --text-black: #000000;
}

/* --- Global Resets & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-black);
    line-height: 1.5;
    background-color: var(--bg-white);
    min-height: 100%;
    overflow-x: hidden; 
}

/* The main container acting as the page border frame hitting the window edge */
.page-frame {
    background-color: var(--bg-white);
    /* 10px white border around everything */
    border: 0px solid var(--bg-white);
    box-sizing: border-box; 
    width: 100%;
    min-height: 100vh;
    position: relative;
    /* Important: clips the logo that is wider than 100% */
    overflow: hidden; 
}


/* --- Header Section --- */
.honk-header {
    position: relative;
    width: 100%;
    min-height: 50vh; 
    display: flex;
    /* Stack items vertically */
    flex-direction: column;
    /* Stack from the top */
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    overflow: hidden; 
}

/* The SVG graphic behind the text */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensure it sits at the top */
    justify-self: flex-start;
}

/* Payoff styling */
.payoff {
    font-family: 'Arlen Tight Light', sans-serif;
    font-weight: normal;
    /* Color set to semi-transparent white */
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(6rem, 13.5vw, 12rem);
    /* Tighter line height */
    line-height: 0.7;
    text-transform: uppercase;
    /* CHANGED: Added 60px bottom margin. (Top, Right, Bottom, Left) */
    margin: 60px;
    /* 50% width horizontal squeeze */
    transform: scaleX(0.5);
    transform-origin: left top;
    letter-spacing: -0.05em; 
}

h1	{
    font-family: 'Arlen Tight Light', sans-serif;
    font-weight: normal;
    font-size: 4rem;
    /* Tighter line height */
    letter-spacing: -0.04em; 
    margin-bottom: 0.5em;
}

/* Logo Container: Flex item positioned at the top, bleeding horizontally */
.logo-stretch-container {
    position: relative;
    /* Massive width to ensure significant bleed */
    width: 130%;
    /* Center horizontally using negative margin: (140% - 100%) / 2 */
    margin-left: -15%;
    /* CHANGED: Negative top margin using vw units to pull the SVG whitespace up above the fold. */
    margin-top: -1vw;
    margin-bottom: 0;
    /* Height adjusted to 32vw */
    height: 32vw;
    z-index: 2;
}

/* Honk Logo Image - Forced Stretch */
.honk-logo-stretched {
    width: 100%;
    height: 100%;
    /* This forces the SVG to fill the container exactly, stretching it */
    object-fit: fill; 
    display: block;
}

/* --- Main Content Section --- */
.main-content {
    position: relative;
    padding: 60px;
    min-height: 30vh;
    overflow: hidden; 
    background-color: var(--bg-white);
}

.text-container {
    max-width: 860px;
    margin: 0 auto; /* Centers the container */
    text-align: left; /* Centers the inline-block paragraphs visually */
    position: relative;
    z-index: 2;
}

.text-container p {
    display: inline-block; /* Allows centering by parent text-align */
    text-align: left; /* Keeps text left-aligned inside the block */
    margin-bottom: 1.5em;
    font-weight: 400;
    /* 80% squeezed horizontally */
    transform: scaleX(0.8);
    /* Transform origin center ensures it stays centered when squeezed */
    transform-origin: center center;
}


/* --- Footer Section --- */
.honk-footer {
    padding: 60px;
    background-color: #F5F5F5;
    display: flex;
    /* Right align the footer content block */
    justify-content: flex-end; 
}

.footer-container {
    display: flex;
    flex-direction: column;
    /* Left align the text and logo internally */
    align-items: flex-start;
}

.together-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: var(--asml-blue);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.asml-logo-img {
    width: 180px;
    height: auto;
    display: block;
    /* Negative margin to visually align the blue pixels with the text above, ignoring PNG whitespace */
    margin: -10px -30px -30px -33px;    
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .page-frame {
        /* Optional: reduce border on mobile for more space */
        border-width: 0px;
    }

    .honk-header {
        min-height: 60vh;
    }
    
    .logo-stretch-container {
        /* Keep massive bleed on mobile */
        width: 104%;
        margin-left: -2%;
        /* CHANGED: Increased negative margin to pull SVG whitespace up to the top edge */
        margin-top: -1vh;
    }

    .payoff {
        /* CHANGED: Significantly increased font size (approx 200%) */
        font-size: clamp(7rem, 28vw, 14rem);
        margin-top: 40px;
        margin-bottom: 40px;
        margin-left: 40px; /* adjusted left margin for mobile */
        width:100%;
    }

    .main-content {
        /* CHANGED: Reduced side padding for body text */
        padding: 40px 15px;
    }
    
    .text-container p {
        width: 100%; 
    }
    
    /* FOOTER MOBILE CHANGES */
    .honk-footer {
        padding: 30px 20px;
        /* CHANGED: Center align footer container */
        justify-content: center; 
    }

    .footer-container {
        /* CHANGED: Center align text and logo items */
        align-items: center;
    }

    .asml-logo-img {
        /* CHANGED: Reset side negative margins to allow centering. Keep bottom negative margin. */
        margin: 0 0 -30px 0;
    }
}