/*
 * Extracted from mu-plugins/kalon-experience-page.php on 2026-04-10
 * (Phase 4 of the kalon-theme refactor).
 */


/* ══════════════════════════════════════════════════════════════
   EXPERIENCE PAGE — layout only
   (tokens + shared components from _kalon-design-system.php)
   ══════════════════════════════════════════════════════════════ */

/* ── K WATERMARK — subtle brand texture on cream sections ── */
.ke-k-watermark {
    position: relative;
    overflow: hidden;
}

.ke-k-watermark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1400px;
    height: 1400px;
    transform: translate(-50%, -50%);
    background-image: url('/wp-content/uploads/2020/11/kalon-logo-invert_gray.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    filter: brightness(0.4) sepia(0.3);
    z-index: 0;
    pointer-events: none;
}

.ke-k-watermark > .kalon-inner {
    position: relative;
    z-index: 1;
}

/* ── HERO ─────────────────────────────────────────────────── */
.ke-hero {
    position: relative !important;
    height: 60svh !important;
    min-height: 400px !important;
    max-height: 700px !important;
    overflow: hidden;
}

.ke-hero__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 40% !important;
    display: block;
    z-index: 0;
}

.ke-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.ke-hero__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.ke-hero__eyebrow {
    font-family: var(--kalon-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.ke-hero__title {
    font-family: var(--kalon-font-body) !important;
    font-size: clamp(30px, 5vw, 48px) !important;
    font-weight: 300 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1.15 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3) !important;
}

.ke-hero__subtitle {
    font-family: var(--kalon-font-serif) !important;
    font-size: clamp(17px, 2vw, 22px) !important;
    font-weight: 300 !important;
    font-style: italic !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 32px !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) !important;
    line-height: 1.5 !important;
}

.ke-hero__cta {
    margin-top: 8px;
}

/* ── INTRO ────────────────────────────────────────────────── */
.ke-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}

.ke-intro__text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--kalon-text-body);
    margin: 0 0 16px;
}

.ke-intro__text p:last-child {
    margin-bottom: 0;
}

.ke-intro__image {
    border-radius: var(--kalon-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ke-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── PILLARS — 3 magazine cards ──────────────────────────── */
.ke-pillars-lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--kalon-text-body);
    text-align: center;
}

.ke-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 12px;
}

.ke-pillar {
    background: var(--kalon-bg-white);
    border-radius: var(--kalon-radius);
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.ke-pillar:hover {
    transform: translateY(-3px);
}

.ke-pillar__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.ke-pillar__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.ke-pillar:hover .ke-pillar__photo img {
    transform: scale(1.03);
}

.ke-pillar__body {
    padding: 28px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ke-pillar__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--kalon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.ke-pillar__title {
    font-family: var(--kalon-font-body) !important;
    font-size: 20px !important;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kalon-text-primary);
    line-height: 1.3;
    margin: 0 0 14px;
}

.ke-pillar__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kalon-text-body);
}

.ke-pillar__text p {
    margin: 0 0 10px;
}

.ke-pillar__text p:last-child {
    margin-bottom: 0;
}

.ke-pillar__link {
    display: inline-block;
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kalon-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.ke-pillar__link:hover {
    color: var(--kalon-green);
}

/* ── WEEK AT A GLANCE — SEO content ──────────────────────── */
.ke-week__content {
    max-width: 760px;
    margin: 0 auto;
}

.ke-week__content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--kalon-text-body);
    margin: 0 0 20px;
}

.ke-week__content p:last-child {
    margin-bottom: 0;
}

.ke-week__content a {
    color: var(--kalon-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 179, 219, 0.3);
    transition: border-color 0.2s;
}

.ke-week__content a:hover {
    border-color: var(--kalon-cyan);
}

/* ── TYPICAL DAY — timeline ──────────────────────────────── */
.ke-day__timeline {
    position: relative;
    max-width: 760px;
    margin: 40px auto 0;
    padding-left: 48px;
}

.ke-day__timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--kalon-gradient);
    opacity: 0.4;
    border-radius: 2px;
}

.ke-day__step {
    position: relative;
    padding: 0 0 40px;
}

.ke-day__step:last-child {
    padding-bottom: 0;
}

.ke-day__dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--kalon-gradient);
    box-shadow: 0 0 0 4px var(--kalon-bg-white);
}

.ke-day__time {
    font-family: var(--kalon-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kalon-cyan);
    margin: 0 0 4px;
}

.ke-day__label {
    font-family: var(--kalon-font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--kalon-text-primary);
    margin: 0 0 6px;
}

.ke-day__desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--kalon-text-body);
    margin: 0;
}

.ke-day__rest {
    margin-top: 40px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 3px solid var(--kalon-cyan);
    max-width: 600px;
}

.ke-day__rest-label {
    font-family: var(--kalon-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kalon-cyan);
    margin: 0 0 6px;
}

.ke-day__rest-title {
    font-family: var(--kalon-font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--kalon-text-primary);
    margin: 0 0 6px;
}

.ke-day__rest-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--kalon-text-light);
    margin: 0;
}

/* ── INCLUDED — 2-col text list (matches rates page) ─────── */
.ke-incl__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 56px;
    margin-top: 40px;
}

.ke-incl__col h3 {
    font-family: var(--kalon-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kalon-text-primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--kalon-border-light);
}

.ke-incl__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ke-incl__list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--kalon-border-faint);
    font-size: 15px;
    line-height: 1.6;
    color: var(--kalon-text-body);
}

.ke-incl__list li strong {
    color: var(--kalon-text-primary);
    font-weight: 600;
}

.ke-incl__note {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: var(--kalon-text-light);
    font-style: italic;
}

/* ── VIDEO ────────────────────────────────────────────────── */
.ke-video__wrap {
    max-width: 800px;
    margin: 32px auto 0;
}

/* ── CTA ──────────────────────────────────────────────────── */
.ke-cta__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.ke-cta__lead {
    font-family: var(--kalon-font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--kalon-text-body);
    line-height: 1.6;
    margin: 0 0 32px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .ke-hero {
        height: 70svh !important;
        min-height: 520px !important;
        max-height: 600px !important;
    }

    .ke-hero__img {
        object-position: center 30% !important;
    }

    .ke-hero__overlay {
        background: rgba(0, 0, 0, 0.50);
    }

    .ke-hero__content {
        padding: 90px 24px 40px;
    }

    .ke-hero__cta .kalon-btn {
        font-size: 13px;
        padding: 12px 28px;
    }

    .ke-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ke-intro__image {
        order: -1;
    }

    .ke-pillars-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .ke-pillar__photo {
        aspect-ratio: 16 / 9;
    }

    .kalon-review-card {
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 16px;
    }

    .ke-day__timeline {
        padding-left: 40px;
    }

    .ke-day__dot {
        left: -32px;
    }

    .ke-incl__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

