/* Custom Fonts */
@font-face {
    font-family: 'Cascadia Mono';
    src: url('../fonts/CascadiaMono-Medium.woff2') format('woff2'),
         url('../fonts/CascadiaMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cascadia Mono';
    src: url('../fonts/CascadiaMono-Regular.woff2') format('woff2'),
         url('../fonts/CascadiaMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/ReadexPro-Medium.woff2') format('woff2'),
         url('../fonts/ReadexPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/ReadexPro-Regular.woff2') format('woff2'),
         url('../fonts/ReadexPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/ReadexPro-Light.woff2') format('woff2'),
         url('../fonts/ReadexPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  body {
    background-color: #d2ccc4; /* The beige/sand background from your image */
    color: #2e3239; /* Dark slate text */
    margin: 0;
    padding: 40px;
   font-family: 'Cascadia Mono'; /* Matches your uploaded fonts */
    line-height: 1.6;
}


.logo {
    grid-column: 1 / span 2;
}
main{
    max-width: 1300px;
    margin: 0 auto;
}
footer{
    max-width: 1300px;
    margin: 100px auto;
}
.logo img{
    max-width:400px;
}
/* Layout Containers */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two equal columns */
    min-height: 80vh;
    gap: 40px;
}


.left-col {
    display: flex;
    justify-content: flex-start;
    padding-top: 50px;
}

.right-col {
    max-width: 550px; /* Keeps the text readable */
}

.logo {
    font-family: 'Cascadia Mono', monospace;
    font-size: 3rem;
    letter-spacing: -2px;
}

.tagline {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    grid-column: 3;
    text-align: right; /* Keeps it flush with the right edge */
}
.tagline  img{
    max-width:200px;
}
@media (min-width: 768px) {
    #signup > div > div > form > div > div:nth-child(1){
        gap:10px;
    }
    .content-block {
    border-bottom: 1px solid #ffffff94;
}
    /* Aligning the Header to the same 3-column grid */
header {
    display: grid;
    /* Column widths: 100px (Arrow space), 1fr (Spacer), 550px (Text alignment) */
    grid-template-columns: 100px 550px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto 100px auto;
}
    .hero-section {
    display: grid;
    /* Column 1: Arrow (100px) | Column 2: Empty Spacer (1fr) | Column 3: Text (550px) */
    grid-template-columns: 100px 1fr 750px; 
    gap: 0; /* Removing gap so we can control spacing precisely with the middle column */
    align-items: start;
}
.scroll-container {
 padding-top: 10px; /* Adjust this to align exactly with the top of your H1 */
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2e3239;
}
}

img{
    width:100%;
}

.scroll-indicator {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border-left: 1px solid #2e3239;
    padding-left: 10px;
}

.content-block {
    width: 100%; /* It will now respect the 550px limit set by the parent grid */
    max-width: none; /* Remove the old 750px max-width */
    grid-column: 3; /* Forces text to only live in the right-most column */
    padding-bottom: 100px;
   
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #signup > div > div > form > div > div:nth-child(1){
        display:block!important;
    }
    .scroll-container{
        display:none;
    }
    .split-layout {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .left-col {
        display: none; /* Hide scroll arrow on small screens */
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
     font-family: 'Readex Pro';
    font-weight:300;
}

p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

hr {
    border: 0;
    border-top: 1px solid #ffffff94;
    margin: 60px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
      font-family: 'Readex Pro'; 
    font-weight:300;
}

/* Customizing the Klaviyo Form placement */
.klaviyo-form-UbuY5F {
    margin-top: 30px;
    max-width:100%!important;
}
.klaviyo-form-UbuY5F form{
   
    max-width:100%!important;
}
.klaviyo-form-UbuY5F form label{
    font-weight:400!important;
}

/* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}
.footer-wrapper{
    display: flex;
    justify-content: space-between;
    place-items: center;
}
.footer-col-left img{
    max-width:100px;
}
.footer-col-right span{
    font-family: 'Cascadia Mono';
    font-weight: 400;
    text-transform:uppercase;
}



.scroll-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

/* Creating the long vertical arrow line */
.scroll-arrow {
    width: 1px;
    height: 150px;
    background-color: #2e3239;
    position: relative;
}

/* Creating the arrow head at the bottom */
.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #2e3239;
    border-bottom: 1px solid #2e3239;
    transform: rotate(45deg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    header {
        padding: 40px 0 30px;
    }

    .logo {
        max-width: 350px;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }

    .headline {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .philosophy {
        font-size: 1rem;
        margin: 35px 0;
    }

    .cta-section {
        margin-top: 50px;
        padding: 45px 0;
    }

    .cta-heading {
        font-size: 1.3rem;
    }

    .form-container {
        flex-direction: column;
        gap: 12px;
    }

    .input-field {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
        padding: 18px 40px;
    }

    footer {
        padding: 60px 25px 40px;
    }

    .footer-tagline {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px; /* Tighter padding for mobile screens */
    }

    /* Stack Header Elements */
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
        gap: 130px;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .logo img {
        max-width: 250px; /* Slightly smaller for mobile */
    }

    .tagline {
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .tagline img {
        max-width: 200px;
    }

    /* Stack Hero Section */
    .hero-section {
        display: block; /* Remove grid to let items stack naturally */
    }

    .scroll-container {
        display: none; /* Keep hidden as per your preference */
    }

    .content-block {
        width: 100%;
        padding-bottom: 60px;
    }

    h1 {
        font-size: 2.2rem; /* Scaled down for mobile readability */
        text-align: left;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Adjust Footer for Mobile */
    .footer-wrapper {
        display:block;
       
        text-align: center;
    }
    .footer-col-left img{
        margin:100px auto;
    }
}