/* Yohana's GT Walsheim Font Definitions */
@font-face {
    font-family: 'GT Walsheim';
    src: url('fonts/GT-Walsheim-Regular.ttf') format('truetype'),
         url('fonts/GT-Walsheim-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Walsheim';
    src: url('fonts/GT-Walsheim-Medium.ttf') format('truetype'),
         url('fonts/GT-Walsheim-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Walsheim';
    src: url('fonts/GT-Walsheim-Bold.otf') format('opentype'),
         url('fonts/GT-Walsheim-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Umi's Graphik Font Definitions */
@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Regular-spark.otf') format('opentype'),
         url('fonts/Graphik-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Medium-spark.otf') format('opentype'),
         url('fonts/Graphik-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Umi's Self Modern Font Definitions */
@font-face {
  font-family: 'Self Modern';
  src: url('fonts/self-modern_regular_web.woff2') format('woff2'),
       url('fonts/self-modern_regular_web.woff') format('woff'),
       url('fonts/self-modern_regular_web.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Self Modern';
  src: url('fonts/self-modern_book_web.woff2') format('woff2'),
       url('fonts/self-modern_book_web.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Self Modern';
  src: url('fonts/self-modern_italic_web.woff2') format('woff2'),
       url('fonts/self-modern_italic_web.woff') format('woff'),
       url('fonts/self-modern_italic_web.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

/* Custom text selection colors */
::selection {
    background-color: #dffe18;
    color: #333;
}

::-moz-selection {
    background-color: #dffe18;
    color: #333;
}

html, body {
    font-family: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: #333;
    overflow-x: hidden;
    background: #F7F3EC;
}

/* Yohana Hero Section */
.yohana-hero {
    background-color: #FDEBB9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 24px 60px;
}

.yohana-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.yohana-logo {
    color: #333;
    width: 120px;
    height: auto;
}

.yohana-headline {
    font-family: 'GT Walsheim';
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 110%;
    width: 40%;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 4rem;
}

.yohana-body {
    font-family: 'GT Walsheim';
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 130%;
    width: 55%;
    max-width: 900px;
    margin: 0 auto;
}

.yohana-handoff-link {
    display: block;
    color: #212121;
    padding: 2rem 0;
    width: 50%;
    margin: 0 auto;
}

/* Umi Hero Section */
.umi-hero {
    background-color: #fff;
    padding: 120px 24px;
    position: relative;
}

.umi-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.umi-content {
    padding-right: 40px;
}

.umi-logo {
    color: #333;
    width: 128px;
    height: auto;
    margin-bottom: 48px;
}

.umi-headline {
    font-family: 'Self Modern', serif;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 400;
    color: #333;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    font-feature-settings: "kern" 1;
    padding: 6rem 0;
}

.headline-accent {
    font-style: italic;
}

/* Text Highlight - Organic style similar to Umi site */
.text-highlight-organic {
    background: linear-gradient(180deg, transparent 50%, rgba(255, 235, 185, 0.8) 50%);
    background-size: 100% 200%;
    background-position: 0 0;
    transition: background-position 0.3s ease;
    padding: 0 4px;
    border-radius: 3px;
}

.text-highlight-organic:hover {
    background-position: 0 100%;
}

.umi-description {
    font-family: 'Graphik', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 48px;
    font-weight: 400;
}

.umi-cta-button {
    display: inline-block;
    font-family: 'Graphik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #333;
    padding: 16px 32px;
    border-radius: 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.umi-cta-button:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Umi Images */

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-1 {
    position: absolute;
    width: 450px;
    height: 338px;
    left: -200px;
    bottom: 0px;
    transform: rotate(-12deg);
    z-index: 1;
    opacity: 1;
    clip-path: path("M 306 0 c 67.8823 0 101.823 0 122.912 21.0883 a 72 72 0 0 1 0 0 c 21.0883 21.0883 21.0883 55.0294 21.0883 122.912 L 450 194 c 0 67.8823 0 101.823 -21.0883 122.912 a 72 72 0 0 1 0 0 c -21.0883 21.0883 -55.0294 21.0883 -122.912 21.0883 L 144 338 c -67.8823 0 -101.823 0 -122.912 -21.0883 a 72 72 0 0 1 0 0 c -21.0883 -21.0883 -21.0883 -55.0294 -21.0883 -122.912 L 0 144 c 0 -67.8823 0 -101.823 21.0883 -122.912 a 72 72 0 0 1 0 0 c 21.0883 -21.0883 55.0294 -21.0883 122.912 -21.0883 Z");
}

.image-2 {
    position: absolute;
    width: 450px;
    height: 338px;
    right: -200px;
    top: 0px;
    transform: rotate(12deg);
    z-index: 1;
    opacity: 1;
    clip-path: path("M 306 0 c 67.8823 0 101.823 0 122.912 21.0883 a 72 72 0 0 1 0 0 c 21.0883 21.0883 21.0883 55.0294 21.0883 122.912 L 450 194 c 0 67.8823 0 101.823 -21.0883 122.912 a 72 72 0 0 1 0 0 c -21.0883 21.0883 -55.0294 21.0883 -122.912 21.0883 L 144 338 c -67.8823 0 -101.823 0 -122.912 -21.0883 a 72 72 0 0 1 0 0 c -21.0883 -21.0883 -21.0883 -55.0294 -21.0883 -122.912 L 0 144 c 0 -67.8823 0 -101.823 21.0883 -122.912 a 72 72 0 0 1 0 0 c 21.0883 -21.0883 55.0294 -21.0883 122.912 -21.0883 Z");
}

/* Footer Styles */
.site-footer {
    background-color: #f8f9fa;
    padding: 80px 24px 48px;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-branding .footer-description {
    font-family: 'Graphik', sans-serif;
    font-size: 18px;
    color: #666;
    line-height: 1.5;
    max-width: 400px;
}

.subscriptionWrapper {
    display: flex;
    justify-content: center;
}

.borderRoundedTop {
    background-color: #121212;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
}

.signupBox {
    margin-top: 200px;
    position: relative;
    padding-top: 100px;
    overflow: visible;
}

.signupBoxImage {
    position: absolute;
    top: -58px;
    left: 0;
    right: 0;
    display: block;
    width: 420px;
    height: 220px;
    display: flex;
    margin: 0 auto;
    z-index: 3;

}

.signupBoxHeader {
    font-family: 'Self Modern', serif;
    font-size: 72px;
    line-height: 88px;
    letter-spacing: -1.44px;
    font-weight: 400;
    color: var(--color-highlight);
    font-style: italic;
    text-align: center;
    padding-top: 3rem;
}

.signupBoxSubhead {
    text-align: center;
    display: block;
    font-size: 20px;
    line-height: 34px;
    letter-spacing: -.4px;
    color: white;
    overflow-wrap: break-word;
    padding: 2rem;
    width: 50%;
    max-width: 32rem;
    margin: 0 auto;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 500px;
}

.newsletter-form input {
    font-family: 'Graphik', sans-serif;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #333;
}

.newsletter-form input[type="email"] {
    grid-column: 1 / -1;
}

.newsletter-form button {
    grid-column: 1 / -1;
    font-family: 'Graphik', sans-serif;
    font-weight: 500;
    padding: 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #000;
}

.FooterLogoLinks {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.PanasonicWellLogo_logo {
    width: 223px;
    height: 24px;
}

.PanasonicWellDescription {
    margin-top: 1rem;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -.32px;
    color: white;
    font-family: "Graphik";
}

.SocialIcons_container {
    display: flex;
    gap: 16px;
    flex-direction: row;
}

.footerLegal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 32px;
}

.signupInput {
    font-size: 1rem;
    line-height: 1.75rem;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: rgb(53 53 53);
    letter-spacing: -.32px;
    padding: 1rem 1.25rem;
    border-style: none;
    position: relative;
    border-radius: 20px;
    width: 100%;
}

.submitButton {
    background-color: #ede6d8;
    color: black;
    border-radius: 20px;
    display: inline-block;
    width: 140px;
    margin: 0 auto 72px;
    padding: 14px 42px;
    font-family: "Graphik";
    font-weight: 600;
    font-size: 0.9em;
    border: none;
}

.copyright {
    font-family: 'Graphik', sans-serif;
    font-size: 14px;
    color: #666;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-family: 'Graphik', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #333;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #666;
    transition: color 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.footer-social a:hover {
    color: #333;
    background-color: #e9ecef;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Yohana Section Mobile */
    .yohana-hero {
        min-height: 60vh;
        padding: 40px 20px;
    }

    .yohana-headline {
        width: initial;
    }

    .yohana-body {
        width: 90%;
    }

    .yohana-logo {
        width: 120px;
    }

    .image-container img {
        border-radius: 40px;
        overflow: hidden;
    }

    /* Umi Section Mobile */
    .umi-container {
        padding: 40px 20px; /* Reduce from desktop 60px 0 */
        min-height: auto; /* Remove fixed heights */
    }

    .umi-content {
        padding-right: 0; /* Remove desktop offset */
        max-width: 100%;
        z-index: 2; /* Ensure content stays above images */
    }

    /* Logo Mobile Scaling */
    .umi-logo {
        width: 96px; /* Smaller than current 100px */
        margin-bottom: 32px; /* Reduce from 48px */
    }

    /* Typography Mobile Optimization */
    .umi-headline {
        font-size: 36px; /* Much smaller than current 48px */
        line-height: 1.1;
        margin-bottom: 20px; /* Reduce from 32px */
        padding: 2rem 0; /* Much smaller than 6rem */
        letter-spacing: -0.01em; /* Tighten slightly */
    }

    .umi-description {
        font-size: 16px; /* Smaller than current 18px */
        line-height: 1.5;
        margin-bottom: 28px; /* Reduce from 32px */
        padding: 0 1rem; /* Add horizontal padding */
        max-width: 340px; /* Constrain width */
        margin-left: auto;
        margin-right: auto;
    }

    /* Hide line breaks on mobile */
    .umi-description br {
        display: none;
    }

    /* CTA Button Mobile */
    .umi-cta-button {
        font-size: 15px; /* Slightly smaller */
        padding: 14px 28px; /* Reduce padding */
        border-radius: 24px; /* Adjust radius proportionally */
        margin-top: 8px;
    }

    /* Image Handling - Make them smaller and less intrusive */
    .image-1, .image-2 {
        width: 240px; /* Much smaller than 450px */
        height: 180px; /* Much smaller than 338px */
        opacity: 0.3; /* Make them more subtle */
        z-index: 1;
    }

    .image-1 {
        left: -120px; /* Adjust for smaller size */
        bottom: 20px;
        transform: rotate(-8deg); /* Less rotation */
    }

    .image-2 {
        right: -120px; /* Adjust for smaller size */
        top: 40px;
        transform: rotate(8deg); /* Less rotation */
    }

    /* Footer Mobile */
    .site-footer {
        padding: 60px 20px 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 16px;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .newsletter-form {
        margin: 0 auto;
    }

    .signupBoxSubhead {
        width: 95%;
        max-width: 95%;
    }
    .NewsletterForm_form__3ZDds {
        width: 90%;
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Umi Optimizations */
    .umi-container {
        padding: 32px 16px; /* Even tighter */
    }

    .umi-headline {
        font-size: 28px; /* Further reduction */
        padding: 1.5rem 0;
    }

    .umi-description {
        font-size: 15px;
        padding: 0 0.5rem;
        max-width: 300px;
    }

    .umi-logo {
        width: 80px;
        margin-bottom: 24px;
    }

    /* Make images even more subtle on very small screens */
    .image-1, .image-2 {
        width: 180px;
        height: 135px;
        opacity: 0.2;
    }

    .image-1 {
        left: -90px;
    }

    .image-2 {
        right: -90px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .legal-links {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* High Resolution Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .yohana-logo,
    .umi-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
