@font-face {
    font-family: 'Inter';
    src: url('/static/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/static/assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('/static/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #671f21;
    color: #f3f3f3;
    overflow-x: hidden;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.desktop {
    max-width: 960px;
    /* or 1000, 1200, whatever you like */
    width: 100%;
    min-height: auto;
    background: transparent;
    padding: 0;
    margin: -300px auto 60px auto;
    /* horizontally centers it */
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Hero Section */
.hero-title {
    position: relative;
    width: 100%;
    max-width: 960px;
    /* same width as desktop */
    margin: 0 0 50px -30px;
    /* use normal centering */
    display: flex;
    justify-content: center;
}


.hero-text {
    position: relative;
    font-family: 'Hiragino Kaku Gothic Std', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 110px;
    line-height: normal;
    color: #f3f3f3;
    text-align: left;
    letter-spacing: -0.1em;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.5px);
    white-space: normal;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-line {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.hero-line-two {
    display: flex;
    gap: 90px;
    align-items: center;
    justify-content: center;
    word-spacing: 78px;
    white-space: nowrap;
    word-spacing: 88px;
}

.present-word {
    position: relative;
    display: inline-block;
    padding: 0 0px;
    z-index: 2;
}

.present-circle {
    position: absolute;
    inset: -40% -15% -50% -15%;
    z-index: 1;
    display: block;
    pointer-events: none;
    transform: scale(0.85, 0.5);
    transform-origin: center;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.5));
}

.hero-circle-img {
    width: 100%;
    height: 100%;
    display: block;
}

.sub-hero {
    width: 478px;
    max-width: 100%;
    margin: 0 auto 30px 480px;
    /* centered under hero */
    display: flex;
    justify-content: right;

}

.sub-hero-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.35;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -3px;
    word-spacing: 0px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    /* ❌ no transform for layout */
    transform: none;
    margin: 0 auto;
}

/* Intro Section with FAQ Image */


/* Full-width background after hero */
.after-hero-full-bg {
    width: 100%;
    background: #0b090a;
    /* your black */
    padding-top: 30px;
    /* or 0–60px, tweak as you like */
    padding-bottom: 30px;
}

/* The .desktop inside this wrapper shouldn't add extra top margin */
.after-hero-full-bg .desktop {
    margin-top: 0;
    /* kill that 40px top margin */
}



.intro-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    max-width: 1400px;
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.definition-section {
    width: 100%;
    max-width: 900px;
}

.setsuna-title {
    position: relative;
    font-family: 'Hiragino Kaku Gothic Std', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 96px;
    line-height: normal;
    color: #f3f3f3;
    text-align: left;
    letter-spacing: -10px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: normal;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 20px -30px !important;
}

.pronunciation {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 88.635%;
    color: #f3f3f3;
    text-align: left;
    letter-spacing: -2px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin: 0 0 20px -30px !important;
}

.noun {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 40px;
    line-height: 88.635%;
    color: #f3f3f3;
    text-align: left;
    letter-spacing: -2px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin: 0 0 20px -30px !important;
}

.definition-content {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.dictionary-rectangle {
    width: 7px;
    height: 227px;
    background-color: #d9d9d9;
    flex-shrink: 0;
    margin: 0 0 auto -30px !important;
}

.definition-text-wrapper {
    flex: 1;
    padding-top: 20px;
}

.definition-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: normal;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -2px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.5px);
    white-space: pre-wrap;
    margin-bottom: 40px;
    margin-right: -30px;
    margin-left: 20px;
    word-spacing: 30px;
    transform: translateY(-10px);
}

.definition-text .italic {
    font-weight: 500;
    font-style: italic;
}

.example-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: normal;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -2px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-left: 20px;
    margin-right: -30px;
    word-spacing: 8.4px;
}

.intro-content {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: -80px;
}

.faq-image {
    width: 441px;
    height: 588px;
    flex-shrink: 0;

}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    margin-top: -12px;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
}

/* Philosophy Section */
.philosophy-section {
    width: 444px;
    flex-shrink: 0;
    padding-top: 35px;
}

.philosophy-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 108.815%;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -2.4px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-bottom: 68px;
    word-spacing: 7px;
}

/* List Section */
.list-section {
    display: block;
    margin-bottom: 120px;
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.list-body {
    position: relative;
    width: 100%;
    min-height: 380px;
}

.list-float-image {
    float: right;
    width: 510px;
    height: 305px;
    object-fit: cover;
    margin: 16px 0 28px 32px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
}

.list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.list-item {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 1.3;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -1.5px;
    word-spacing: var(--ws, 12px);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: nowrap;
    padding-left: 36px;
    margin-bottom: 12px;
    position: relative;
}

.list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 26px;
    height: 26px;
    background-image: var(--star, url('/static/assets/carousel/stars/star 1.webp'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.4));
}

.list-item:last-child {
    margin-bottom: 0;
}

/* Open Section */
.open-condition-section {
    text-align: center;
    margin-bottom: 80px;
    max-width: 918px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

}

.open-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: normal;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -2.7px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-bottom: 20px;
    margin-right: -20px;
    margin-left: -20px;
    word-spacing: 20.9px;
}

.condition-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: normal;
    color: #f3f3f3;
    text-align: left;
    letter-spacing: -2.7px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-bottom: -80px;
    margin-right: -20px;
    margin-left: -20px;
    margin-top: 50px;
    word-spacing: 75px;
}

.condition-text .italic {
    font-weight: 700;
    font-style: italic;
}

/* Humans Section */
.humans-section {
    width: 934px;
    height: 505px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
}

.humans-image {
    width: 100%;
    height: auto;
    object-fit: fill;
    object-position: 50% 50%;
    display: block;
    filter: drop-shadow(0 0 20px rgba(243, 243, 243, 0.1));
    align-items: justify;
    margin-right: -1px;
    margin-left: auto;
    transform: scaleX(1.03);
}

/* Centre Text */
.centre-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: normal;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -2.7px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-bottom: -80px;
    margin-right: -20px;
    margin-left: -20px;
    margin-top: -78px;
    word-spacing: 52px;

}

.centre-text .italic {
    font-weight: 700;
    font-style: italic;
}

/* Story Text */
.story-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 79px;
    line-height: normal;
    color: #f3f3f3;
    text-align: justify;
    letter-spacing: -3.2px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin: 180px auto 80px auto;
    width: 100%;
    margin-right: -30px;
    margin-left: -30px;
    word-spacing: 1.5px;
}

.story-text .bold {
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-bottom: 80px;
    max-width: 918px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: normal;
    color: #f3f3f3;
    text-align: center;
    letter-spacing: -2.6px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    filter: blur(0.6px);
    white-space: pre-wrap;
    margin-bottom: 20px;
    margin-right: -30px;
    margin-left: -30px;
    margin-top: -70px;
    word-spacing: 123px;

}

.cta-subtext {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: normal;
    color: #f3f3f3;
    text-align: center;
    letter-spacing: -2.4px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 20px rgba(243, 243, 243, 0.5);
    white-space: pre-wrap;
    margin-bottom: -15px;
    margin-right: -20px;
    margin-left: -20px;
    margin-top: 130px;
    word-spacing: 64px;
    filter: blur(0.6px);
}

/* Outro Section */
.outro-section {
    width: 845px;
    height: 481px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.outro-image {
    width: 545px;
    height: 551px;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    align-self: center;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    mix-blend-mode: screen;
}

/* Utility Classes */
.italic {
    font-style: italic;
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

/* CTA Blink Animation */
@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.cta-blink-link {
    color: inherit;
    text-decoration: none;
    animation: blink-animation 3s infinite ease-in-out;
    transition: opacity 0.3s ease;
}

.cta-blink-link:hover {
    animation-play-state: paused;
    opacity: 1;
}

/* Contact success modal overlay */
.contact-success-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    /* subtle darken */
    backdrop-filter: blur(6px);
    /* blur the background behind the overlay */
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

/* Visible state */
.contact-success-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box */
.contact-success-modal {
    max-width: 360px;
    width: 90%;
    padding: 18px 22px;
    border-radius: 2px;
    background: rgb(237, 237, 237);
    border: 1px solid rgba(243, 243, 243, 0);
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0);
    backdrop-filter: blur(18px);
    /* glass effect inside box */
    -webkit-backdrop-filter: blur(18px);
}

/* Text styling */
.contact-success-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #3a3a3a;
    font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.contact-success-text {
    margin: 0;
    margin-right: -5px;
    font-size: 14px;
    line-height: 1.5;
    color: #323232;
    font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Slight tweak for larger screens */
@media (min-width: 768px) {
    .contact-success-modal {
        max-width: 400px;
        padding: 20px 26px;
    }
}

/* Fix layout for contact page to prevent scrolling */
body.contact-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.contact-page .header-surface {
    flex-shrink: 0;
}

body.contact-page #main-content {
    min-height: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body.contact-page main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.contact-page .footer-surface {
    flex-shrink: 0;
}

body.contact-page .contact-page-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
    /* Override existing min-height */
}