﻿/* Kali'u Ala Moana — Landing page styles */
@font-face {
    font-family: 'Ogg';
    src: url('./fonts/Ogg-Light.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'Ogg';
    src: url('./fonts/Ogg-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Ogg';
    src: url('./fonts/Ogg-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Work Sans';
    src: url('./fonts/WorkSans.ttf') format('truetype-variations');
    font-weight: 100 900;
}

body {
    margin: 0;
    background: #D7D2CB;
    font-family: 'Work Sans',sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #506D85;
    text-decoration: none;
}

    a:hover {
        color: #E2665C;
    }

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

input::placeholder {
    color: #ACA39A;
}

/* ---------- Page shell ---------- */
.km-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #D7D2CB;
    color: #2A2521;
    overflow-x: hidden;
}

/* ---------- Nav ---------- */
.km-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
    background: rgba(42,37,33,0.28);
    backdrop-filter: blur(10px);
}

.km-logo {
    height: 64px;
    width: auto;
    justify-self: start;
}

.km-nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    justify-self: center;
}

.km-nav-link {
    color: #F3F1EC;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.km-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.km-lang-btn {
    color: #CDC2A5;
    font-size: 15px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(205,194,165,0.5);
    padding: 7px 14px;
    border-radius: 2px;
}

.km-btn-nav {
    background: #E2665C;
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    letter-spacing: 0.05em;
    border-radius: 2px;
    white-space: nowrap;
}

/* ---------- Buttons ---------- */
.km-btn-white {
    display: inline-block;
    background: #fff;
    color: #2A2521;
    padding: 16px 34px;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-radius: 2px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.km-btn-coral-lg {
    display: inline-block;
    background: #E2665C;
    color: #fff;
    padding: 17px 38px;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.km-btn-submit {
    margin-top: 12px;
    background: #473729;
    color: #fff;
    padding: 16px;
    font-size: 14px;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.km-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.km-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.16) saturate(1.18);
}

.km-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 82% 42%,rgba(10,8,7,0.62) 0%,rgba(10,8,7,0.34) 34%,rgba(10,8,7,0.05) 62%,rgba(10,8,7,0) 100%);
}

.km-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
}

.km-hero-content {
    margin-left: auto;
    text-align: right;
    max-width: 600px;
    color: #fff;
}

.km-hero-kicker {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #F3E9D6;
    margin: 0 0 18px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.9);
}

.km-hero-h1 {
    font-family: 'Ogg',serif;
    font-weight: 300;
    font-size: 76px;
    line-height: 1.05;
    margin: 0 0 10px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.85),0 2px 12px rgba(0,0,0,0.9);
}

.km-hero-jp {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 400;
    font-size: 34px;
    letter-spacing: 0.08em;
    margin: 0 0 26px;
    color: #F3E9D6;
    text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

.km-hero-desc {
    font-size: 19px;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 0 36px auto;
    color: #fff;
    font-weight: 300;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
    text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

/* ---------- Section shells / shared type ---------- */
.km-section {
    padding: 110px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.km-section--narrow {
    max-width: 640px;
}

.km-container {
    max-width: 1280px;
    margin: 0 auto;
}

.km-eyebrow {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8F9069;
    margin: 0 0 18px;
}

.km-eyebrow--tan {
    color: #CDC2A5;
}

.km-body-jp {
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-dash {
    color: #E2665C;
}

.km-tag {
    font-size: 13px;
    color: #473729;
    border: 1px solid #C9C0B4;
    border-radius: 2px;
    padding: 7px 14px;
}

.km-order-1 {
    order: 1;
}

.km-order-2 {
    order: 2;
}

.km-grid-2 {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.km-grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-grid-3--wide {
    gap: 32px;
}

/* ---------- Residence intro ---------- */
.km-residence-eyebrow {
    margin: 0 0 18px;
}

.km-residence-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.4;
    margin: 0 0 28px;
    color: #473729;
}

.km-residence-lead {
    font-size: 16px;
    line-height: 1.95;
    color: #5B5148;
    margin: 0 0 20px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-residence-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

    .km-residence-list li {
        display: flex;
        gap: 12px;
        font-size: 15px;
        color: #473729;
    }

.km-residence-img {
    border-radius: 2px;
    overflow: hidden;
    height: 520px;
}

    .km-residence-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- Advisor (Frank) ---------- */
.km-frank-section {
    padding: 110px 40px;
    background: #473729;
}

.km-frank {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
    align-items: center;
}

.km-frank-img {
    width: 100%;
    height: 560px;
    border-radius: 2px;
    overflow: hidden;
}

    .km-frank-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

.km-frank-title {
    font-family: 'Ogg',serif;
    font-weight: 300;
    font-size: 38px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #F3F1EC;
}

.km-frank-role {
    font-size: 14px;
    letter-spacing: 0.03em;
    color: #CDC2A5;
    margin: 0 0 28px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-frank-lead {
    font-size: 16px;
    line-height: 1.95;
    color: #E8E3D9;
    margin: 0 0 20px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-frank-stats {
    display: flex;
    gap: 48px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-frank-stat-num {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-size: 32px;
    color: #fff;
    margin: 0;
}

.km-frank-stat-label {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #ACA39A;
    margin: 6px 0 0;
}

/* ---------- Unit types ---------- */
.km-units-section {
    padding: 110px 40px;
    background: #EDE9E2;
}

.km-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 76px;
}

.km-intro--sm {
    margin: 0 auto 56px;
}

.km-intro--wide {
    max-width: 720px;
    margin: 0 auto 60px;
}

.km-intro-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 300;
    font-size: 38px;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #473729;
}

.km-intro-title--white {
    color: #fff;
}

.km-intro-title--cream {
    color: #F3F1EC;
}

.km-intro-lead {
    font-size: 16px;
    line-height: 1.95;
    color: #5B5148;
    margin: 0;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-unit {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 64px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-unit-main-img {
    height: 480px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

    .km-unit-main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-unit-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.km-unit-thumbs--single {
    grid-template-columns: 1fr;
}

.km-unit-thumb {
    height: 180px;
    border-radius: 2px;
    overflow: hidden;
}

    .km-unit-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-unit-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8F9069;
    margin: 0 0 10px;
}

.km-unit-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 400;
    font-size: 30px;
    margin: 0 0 20px;
    color: #473729;
}

.km-unit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.km-unit-lead {
    font-size: 15px;
    line-height: 1.95;
    color: #5B5148;
    margin: 0 0 20px;
}

.km-unit-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .km-unit-list li {
        display: flex;
        gap: 12px;
        font-size: 14px;
        color: #473729;
    }

.km-floorplan {
/*    border: 1px dashed #B7AE9F;*/
    border-radius: 2px;
    background: #F6F3EE;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
}

    .km-floorplan img {
        max-width: 100%;
        height: auto;
        display: block;
    }

.km-floorplan-title {
    font-family: 'Noto Serif JP','Ogg',sans-serif;
    font-size: 12px;
    color: #8A8070;
    margin: 0;
}

.km-floorplan-sub {
    font-size: 12px;
    color: #A79E8E;
    margin: 0;
}

/* ---------- Amenities ---------- */
.km-amenities-section {
    padding: 110px 40px;
    background: #506D85;
}

.km-amenities-lead {
    color: #DCE3EA;
}

.km-amenity {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

    .km-amenity:last-child {
        margin-bottom: 0;
    }

.km-amenity-img {
    height: 440px;
    border-radius: 2px;
    overflow: hidden;
}

    .km-amenity-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-amenity-subimg {
    height: 200px;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
}

    .km-amenity-subimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-amenity-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #CDC2A5;
    margin: 0 0 12px;
}

.km-amenity-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 400;
    font-size: 28px;
    margin: 0 0 18px;
    color: #fff;
}

.km-amenity-lead {
    font-size: 15px;
    line-height: 1.95;
    color: #E4EAF0;
    margin: 0;
}

/* ---------- Wellness technologies ---------- */
.km-wt-section {
    padding: 110px 40px;
    background: #2A2521;
}

.km-wt-lead {
    color: #C9C0B4;
}

.km-wt-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 3/4;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

    .km-wt-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-wt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,0) 38%,rgba(0,0,0,0.82) 100%);
}

.km-wt-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
}

.km-wt-title {
    font-family: 'Ogg','Noto Serif JP',serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.15;
    margin: 0 0 6px;
    color: #fff;
}

.km-wt-sub {
    font-size: 13px;
    line-height: 1.6;
    color: #E4DFD5;
    margin: 0;
}

/* ---------- More amenities ---------- */
.km-more-amenities-section {
    padding: 110px 40px;
    background: #EDE9E2;
}

.km-more-amenities-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 300;
    font-size: 34px;
    line-height: 1.3;
    margin: 0;
    color: #473729;
}

.km-more-amenity {
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-more-amenity-img {
    height: 240px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 18px;
}

    .km-more-amenity-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.km-more-amenity-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 400;
    font-size: 19px;
    margin: 0 0 8px;
    color: #473729;
}

.km-more-amenity-lead {
    font-size: 14px;
    line-height: 1.7;
    color: #5B5148;
    margin: 0;
}

/* ---------- CTA band ---------- */
.km-cta-band {
    position: relative;
    padding: 140px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.km-cta-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.km-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35,29,25,0.72);
}

.km-cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.km-cta-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 300;
    font-size: 34px;
    line-height: 1.6;
    margin: 0 0 24px;
    color: #fff;
}

.km-cta-lead {
    font-size: 16px;
    line-height: 1.9;
    color: #E8E3D9;
    margin: 0 0 36px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

/* ---------- Contact ---------- */
.km-contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.km-contact-title {
    font-family: 'Noto Serif JP','Ogg',serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #473729;
}

.km-contact-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #5B5148;
    margin: 0;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

.km-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.km-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.km-field-label {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #473729;
}

.km-input {
    padding: 14px 16px;
    border: 1px solid #ACA39A;
    border-radius: 2px;
    background: #fff;
    font-size: 15px;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
    color: #2A2521;
}

/* ---------- Footer ---------- */
.km-footer {
    padding: 56px 40px;
    background: #2A2521;
    color: #D7D2CB;
}

.km-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.km-footer-logo {
    height: 52px;
    width: auto;
    opacity: 0.9;
}

.km-footer-copy {
    font-size: 12px;
    color: #8F8577;
    margin: 0;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

/* ---------- Tablet (portrait + landscape) ---------- */
@media (max-width: 1100px) {
    .km-hero-inner {
        padding: 0 32px !important;
    }

    .km-section {
        padding: 80px 32px !important;
    }

    .km-frank-section {
        padding: 80px 32px !important;
    }

    .km-frank {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }

    .km-frank-img {
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
    }

    .km-units-section {
        padding: 80px 32px !important;
    }

    .km-unit {
        gap: 36px !important;
    }

    .km-unit-main-img {
        height: 360px !important;
    }

    .km-amenities-section {
        padding: 80px 32px !important;
    }

    .km-amenity {
        gap: 36px !important;
    }

    .km-amenity-img {
        height: 360px !important;
    }

    .km-residence-img {
        height: 420px !important;
    }

    .km-more-amenities-section {
        padding: 80px 32px !important;
    }

    .km-cta-band {
        padding: 110px 32px !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width:860px) {
    .km-nav-links {
        display: none !important;
    }

    .km-hero-inner {
        padding: 0 20px !important;
    }

    .km-hero-h1 {
        font-size: 44px !important;
    }

    .km-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .km-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .km-section {
        padding: 64px 24px !important;
    }

    .km-frank-section {
        padding: 64px 24px !important;
    }

    .km-frank {
        grid-template-columns: 1fr !important;
    }

    .km-frank-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
    }

    .km-frank-img img {
        object-position: center 15% !important;
    }

    .km-frank-title {
        font-size: 28px !important;
    }

    .km-units-section {
        padding: 64px 24px !important;
    }

    .km-unit {
        grid-template-columns: 1fr !important;
    }

    .km-unit-main-img {
        height: 280px !important;
    }

    .km-amenities-section {
        padding: 64px 24px !important;
    }

    .km-amenity {
        grid-template-columns: 1fr !important;
    }

    .km-amenity-img {
        height: 280px !important;
    }

    .km-residence-img {
        height: 260px !important;
    }

    .km-more-amenities-section {
        padding: 64px 24px !important;
    }

    .km-cta-band {
        padding: 90px 24px !important;
    }

        .km-unit > *, .km-amenity > * {
            order: 0 !important;
        }

    .km-form-row {
        grid-template-columns: 1fr !important;
    }
    .km-intro-title {
        font-size: 36px;
        
    }
}


.km-hero-h1 .ktc-editable-area,
.km-hero-h1 .ktc-widget-zone,
.km-hero-h1 .ktc-widget {
    display: contents;
    margin: 0;
    padding: 0;
}
.form-error {
    color: #cc0000;
}


.km-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
    margin: 16px 0;
    font-family: 'Noto Sans JP','Work Sans',sans-serif;
}

    .km-footer-links a {
        color: #F3F1EC;
        text-decoration: none;
        font-size: 14px;
        letter-spacing: 0.03em;
        transition: color 0.2s ease;
    }

        .km-footer-links a:hover {
            color: #E2665C;
        }

@media (max-width: 480px) {
    .km-footer-links {
        gap: 16px 28px;
    }
}

.km-footer-links .fa-instagram {
    font-size: 1.5rem;
}