:root {
    --dark-blue: #00223B;
    /* Base font size scales with viewport */
    font-size: clamp(12px, 1vw, 16px);
}

/* HK Gothic fonts from local fonts folder */
@font-face {
    font-family: 'HK Gothic';
    src: url('fonts/hk-gothic/HK Gothic Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HK Gothic';
    src: url('fonts/hk-gothic/HK Gothic SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

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

body {
    font-family: 'HK Gothic', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #FFFFFF;
    height: 900vh;
    font-size: clamp(14px, 1.2vw, 16px);
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: clamp(0.75rem, 0.78vw, 1.5rem) 0;
}

.container {
    max-width: none;
    margin: 0;
    padding: 0 clamp(20px, 3.65vw, 70px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: clamp(40px, 4.17vw, 80px);
    width: clamp(116px, 12.08vw, 232px);
    max-width: 100%;
    object-fit: contain;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: clamp(20px, 1.56vw, 30px);
    height: clamp(2px, 0.16vw, 3px);
    background: var(--dark-blue);
    transition: all 0.3s ease;
}

/* Frame Base */
.why-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100vh;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Frame 1: Hero (White) */
.why-frame-1 {
    background: #FFFFFF;
    z-index: 100;
}

.why-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: clamp(15px, 1.56vw, 30px);
    position: absolute;
    width: clamp(300px, 41vw, 787px);
    max-width: calc(100% - clamp(40px, 7.29vw, 140px));
    left: clamp(20px, 3.65vw, 70px);
    top: calc(50% - clamp(92px, 9.58vw, 184px));
}

.why-main-title {
    width: 100%;
    max-width: clamp(300px, 41vw, 787px);
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(36px, 6.25vw, 120px);
    line-height: 110%;
    display: block;
    letter-spacing: clamp(-5px, -0.52vw, -10px);
    color: #000E19;
    margin: 0;
}

.why-title-line2 {
    white-space: nowrap;
}

.why-subtitle {
    width: 100%;
    max-width: clamp(280px, 28.7vw, 551px);
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(14px, 1.04vw, 20px);
    line-height: clamp(24px, 2.08vw, 40px);
    display: flex;
    align-items: center;
    color: #7D7D7D;
    letter-spacing: clamp(0.5px, 0.05vw, 1px);
}

.why-hero-image {
    position: absolute;
    width: clamp(300px, 67.71vw, 1300px);
    max-width: 100%;
    height: clamp(300px, 60.94vw, 1170px);
    right: 0px;
    bottom: 0px;
}

.why-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

/* Frame 2: Features (Dark) - Sticky Layout */
.why-frame-2 {
    background: #000E19;
    z-index: 200;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    min-height: auto;
}

.why-intro-text {
    position: absolute;
    width: clamp(300px, 41.04vw, 788px);
    max-width: calc(100% - clamp(40px, 7.29vw, 140px));
    left: clamp(20px, 3.65vw, 70px);
    top: clamp(80px, 7.81vw, 150px);
}

.why-intro-text p {
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(24px, 2.5vw, 48px);
    line-height: clamp(36px, 3.75vw, 72px);
    display: flex;
    align-items: center;
    letter-spacing: clamp(-1.2px, -0.13vw, -2.4px);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.why-features-list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.04vw, 20px);
    position: absolute;
    width: clamp(300px, 46.88vw, 900px);
    max-width: calc(100% - clamp(40px, 7.29vw, 140px));
    right: clamp(20px, 3.65vw, 70px);
    top: clamp(80px, 7.81vw, 150px);
    padding-bottom: clamp(150px, 15.63vw, 300px);
    will-change: transform;
}

.why-feature-item {
    width: 100%;
    max-width: clamp(300px, 46.88vw, 900px);
    height: auto;
    min-height: clamp(150px, 13.02vw, 250px);
    background: #0F1D27;
    border-radius: clamp(8px, 0.83vw, 16px);
    border: 1px solid rgba(14, 14, 14, 0.05);
    position: relative;
    padding: clamp(15px, 1.56vw, 30px);
    box-sizing: border-box;
}

.feature-number {
    position: absolute;
    width: clamp(40px, 4.12vw, 79px);
    height: clamp(36px, 3.75vw, 72px);
    left: clamp(20px, 2.34vw, 45px);
    top: clamp(15px, 1.56vw, 30px);
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(30px, 3.13vw, 60px);
    line-height: clamp(43px, 4.48vw, 86px);
    display: flex;
    align-items: center;
    letter-spacing: clamp(-1.2px, -0.13vw, -2.4px);
    color: #FFFFFF;
}

.feature-content {
    position: absolute;
    left: clamp(100px, 10.42vw, 200px);
    top: 0;
    right: clamp(20px, 2.08vw, 40px);
}

.feature-content h3 {
    position: absolute;
    width: 100%;
    max-width: clamp(200px, 52.08vw, 1000px);
    height: auto;
    min-height: clamp(40px, 4.17vw, 80px);
    left: 0;
    top: clamp(12px, 1.3vw, 25px);
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(18px, 1.67vw, 32px);
    line-height: clamp(24px, 2.5vw, 48px);
    display: flex;
    align-items: center;
    letter-spacing: clamp(-0.64px, -0.07vw, -1.28px);
    color: #FFFFFF;
    margin: 0;
}

.feature-content p {
    position: absolute;
    width: 100%;
    max-width: clamp(200px, 28.65vw, 550px);
    height: auto;
    min-height: clamp(50px, 5.21vw, 100px);
    left: 0.2px;
    top: clamp(55px, 5.68vw, 109px);
    font-family: 'HK Gothic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(12px, 0.73vw, 14px);
    line-height: clamp(20px, 1.67vw, 32px);
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Frame 3: Philosophy (Gray) */
.why-frame-3 {
    background: #546B7C;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.why-philosophy-content {
    max-width: clamp(600px, 72.92vw, 1400px);
    width: 100%;
    z-index: 2;
}

.why-tag {
    display: inline-block;
    padding: clamp(5px, 0.52vw, 10px) clamp(10px, 1.04vw, 20px);
    border: 1px solid #FFFFFF;
    border-radius: clamp(10px, 1.04vw, 20px);
    font-size: clamp(10px, 0.73vw, 14px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: clamp(0.5px, 0.05vw, 1px);
    margin-bottom: clamp(20px, 2.08vw, 40px);
    text-transform: uppercase;
    background: transparent;
}

.why-philosophy-title {
    font-family: 'HK Gothic', sans-serif;
    font-size: clamp(32px, 3.75vw, 72px);
    font-weight: 600;
    line-height: clamp(48px, 5.42vw, 104px);
    letter-spacing: clamp(-1.5px, -0.16vw, -3px);
    color: #FFFFFF;
    margin-bottom: clamp(20px, 2.08vw, 40px);
}

.why-consultation-btn {
    padding: clamp(12px, 1.2vw, 23px) clamp(17px, 1.77vw, 34px);
    background: #FFFFFF;
    color: #000E19;
    border: 1px solid #E6E9EB;
    border-radius: clamp(6px, 0.63vw, 12px);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.52vw, 10px);
}

.why-consultation-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.why-philosophy-graphic {
    width: clamp(300px, 41.67vw, 800px);
    max-width: 100%;
    height: clamp(300px, 41.67vw, 800px);
    position: absolute;
    right: 0px;
    bottom: 0;
    z-index: 1;
}

.why-philosophy-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
}

/* Frame 4: Contact (Building BG) */
.why-frame-4 {
    background: url('assets/building3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 400;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(40px, 4.17vw, 80px) clamp(4%, 8%, 8%) clamp(30px, 3.13vw, 60px);
}

.why-contact-wrapper {
    text-align: center;
    max-width: clamp(600px, 62.5vw, 1200px);
    width: 100%;
}

.why-contact-title {
    font-family: 'HK Gothic', sans-serif;
    font-size: clamp(32px, 5vw, 96px);
    font-weight: 520;
    line-height: 1;
    letter-spacing: clamp(-6px, -0.63vw, -12px);
    color: #FFFFFF;
    margin: clamp(-5px, -0.52vw, -10px) 0 clamp(5px, 0.52vw, 10px);
    white-space: nowrap;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.why-contact-description {
    font-family: 'HK Gothic', sans-serif;
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
    line-height: clamp(20px, 1.56vw, 30px);
    color: #FFFFFF;
    margin: 0 auto clamp(24px, 2.5vw, 48px);
    max-width: clamp(550px, 57.29vw, 1100px);
    text-align: center;
    margin-right: clamp(25px, 2.6vw, 50px);
    word-spacing: clamp(0.1em, 0.1vw, 0.2em);
}

.why-contact-form {
    background: #FFFFFF;
    backdrop-filter: blur(2.5px);
    padding: clamp(14px, 1.46vw, 28px);
    border-radius: clamp(16px, 1.67vw, 32px);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.67vw, 32px);
    border: 1px solid #E6E9EB;
    margin: 0 auto;
    width: 100%;
    max-width: clamp(400px, 41.67vw, 800px);
    min-height: clamp(200px, 20.16vw, 387px);
    height: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 1.67vw, 32px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.why-contact-form input,
.why-contact-form textarea {
    width: 100%;
    padding: clamp(6px, 0.63vw, 12px) 0;
    border: none;
    border-bottom: 1px solid #E6E9EB;
    border-radius: 0;
    font-family: 'HK Gothic', sans-serif;
    font-size: clamp(12px, 0.73vw, 14px);
    font-weight: 500;
    color: #000000;
    background: transparent;
    outline: none;
}

.why-contact-form input:focus,
.why-contact-form textarea:focus {
    border-bottom-color: #00223B;
}

.why-contact-form input::placeholder,
.why-contact-form textarea::placeholder {
    color: #C7C7C7;
}

.why-contact-form textarea {
    min-height: 40px;
    resize: vertical;
    grid-column: 1 / -1;
}

.why-contact-form button {
    padding: clamp(12px, 1.2vw, 23px) clamp(17px, 1.77vw, 34px);
    background: #00223B;
    color: #FFFFFF;
    border: none;
    border-radius: clamp(6px, 0.63vw, 12px);
    font-family: 'HK Gothic', sans-serif;
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: clamp(10px, 1.04vw, 20px);
}

.why-contact-form button:hover {
    background: #003a5f;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .why-hero-content,
    .why-intro-text,
    .why-features-list {
        position: relative;
        width: 100%;
        max-width: 100%;
        left: auto;
        right: auto;
        top: auto;
    }

    .why-frame-2 {
        padding: clamp(40px, 4.17vw, 80px) clamp(20px, 3.65vw, 70px);
    }

    .why-feature-item {
        margin-bottom: clamp(20px, 2.08vw, 40px);
    }

    .feature-content {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        padding-left: clamp(100px, 10.42vw, 200px);
        padding-top: clamp(15px, 1.56vw, 30px);
    }

    .why-philosophy-graphic {
        position: relative;
        margin: clamp(20px, 2.08vw, 40px) auto;
    }
}

@media (max-width: 768px) {
    .why-main-title {
        white-space: normal;
    }

    .why-title-line2 {
        white-space: normal;
    }

    .why-contact-title {
        white-space: normal;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .why-contact-description {
        margin-right: 0;
    }
}