/* Life Coaching: quiet surfaces, clear hierarchy, restrained brand accents. */
.life-page {
    --life-ink: #071b3d;
    --life-dark: #071b3d;
    --life-blue: #005b96;
    --life-gold: #c5a15a;
    --life-ivory: #f8f5ef;
    --life-muted: #526071;
    --life-line: rgba(7,27,61,.12);
    --life-gutter: max(24px, calc((100vw - 1120px) / 2));
    color: var(--life-ink);
    background: #fff;
}
.life-page section[id] { scroll-margin-top: 90px; }
.life-page a, .life-page button { -webkit-tap-highlight-color: transparent; }
.life-page :is(a,button):focus-visible { outline: 3px solid var(--life-blue); outline-offset: 5px; }
.life-page h1:focus { outline: none; }
.life-page button { font: inherit; }

/* The header stays transparent at the top, with one quiet glass surface on scroll. */
.life-header {
    height: 80px; padding: 10px var(--life-gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    position: fixed; inset: 0 0 auto; z-index: 20; color: #fff;
    background: transparent; border-bottom: 1px solid transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.life-header.is-scrolled {
    color: var(--life-ink); background: rgba(255,255,255,.9);
    border-bottom-color: var(--life-line);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.life-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.life-company-mark { width: 104px; height: 48px; display: grid; place-items: center; padding: 8px; background: #fff; border-radius: 10px; }
.life-company-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.life-brand-divider { width: 1px; height: 28px; background: currentColor; opacity: .22; }
.life-course-brand { display: flex; flex-direction: column; line-height: 1.5; }
.life-brand b { font-size: 13px; letter-spacing: .08em; }
.life-brand small { font-size: 10px; opacity: .8; }
.life-header nav { gap: 24px; font-size: 13px; font-weight: 600; }
.life-header nav a { color: inherit; }
.life-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.life-nav-cta { padding: 7px 18px; border-radius: 999px; background: var(--life-blue); color: #fff!important; }

/* Full-screen imagery with a compact, legible glass reading surface. */
.life-page .hero {
    height: 100svh; min-height: 620px; display: flex; align-items: center;
    justify-content: flex-start; gap: 0; padding: 104px var(--life-gutter) 56px;
    background: var(--life-dark); isolation: isolate;
}
.life-page .hero::before, .life-page .hero::after { display: none; }
.life-hero-slides, .life-hero-shade { position: absolute; inset: 0; }
.life-hero-slides { z-index: -2; overflow: hidden; }
.life-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.4s ease; }
.life-hero-slides img.is-active { opacity: 1; }
.life-hero-shade { z-index: -1; background: linear-gradient(180deg,rgba(7,27,61,.72),rgba(7,27,61,.08) 24%,rgba(7,27,61,.08) 80%,rgba(7,27,61,.25)); }
.life-page .hero-copy {
    width: min(540px,48vw); margin: 0; padding: 32px;
    color: var(--life-ink); background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.55); border-radius: 24px;
    box-shadow: 0 12px 40px rgba(7,27,61,.08);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.life-page .eyebrow { display: inline-block; color: var(--life-blue); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.life-page .hero h1 { color: var(--life-ink); font-size: clamp(36px,3.9vw,54px); line-height: 1.3; font-weight: 700; margin: 12px 0 18px; }
.life-page .hero h1 span { display: block; color: var(--life-blue); font-size: .75em; margin-top: 4px; }
.life-page .hero-copy > p { color: var(--life-ink); font-size: 16px; line-height: 1.95; margin: 0; }
.life-page .hero-actions { margin-top: 24px; gap: 12px; align-items: center; }
.life-page .button { padding: 10px 21px; font-size: 14px; font-weight: 600; border-radius: 999px; transition: background .2s ease; }
.life-page .button.primary { background: var(--life-blue); color: #fff; }
.life-page .button.primary:hover, .life-nav-cta:hover { background: #004875; }
.life-page .button.secondary { background: transparent; color: var(--life-ink); border: 1px solid rgba(7,27,61,.25); }
.life-page .button.secondary:hover { background: rgba(255,255,255,.6); }
.life-hero-facts { display: flex; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--life-line); }
.life-hero-facts div { flex: 1; padding: 0 12px; text-align: center; }
.life-hero-facts div + div { border-right: 1px solid var(--life-line); }
.life-hero-facts strong, .life-hero-facts span { display: block; }
.life-hero-facts strong { font-size: 22px; line-height: 1.4; font-weight: 600; }
.life-hero-facts span { color: var(--life-muted); font-size: 11px; margin-top: 5px; }
.life-hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; z-index: 3; }
.life-hero-dots button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.life-hero-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.65); transition: width .25s ease; }
.life-hero-dots button.is-active::before { width: 22px; background: #fff; }
.life-hero-dots .life-slides-toggle { color: #fff; font-size: 13px; }
.life-hero-dots .life-slides-toggle::before { display: none; }

/* A consistent reading width and generous rhythm through the programme. */
.life-page .section { padding: 88px var(--life-gutter); }
.life-page .section-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.life-page .section-heading > span, .life-page .contact > div > span { color: var(--life-blue); font-size: 13px; letter-spacing: 0; }
.life-page .section-heading h2, .life-page .contact h2 { color: var(--life-ink); font-size: clamp(28px,3vw,40px); line-height: 1.5; font-weight: 700; }
.life-page .intro { background: #fff; }
.life-story-image { margin: 0 0 32px; border-radius: 20px; overflow: hidden; background: var(--life-ivory); }
.life-story-image img { display: block; width: 100%; height: clamp(280px,38vw,460px); object-fit: cover; object-position: center 42%; }
.life-story-image figcaption { padding: 12px 20px; color: var(--life-muted); font-size: 13px; text-align: center; }
.life-page .intro-grid { gap: 40px; color: var(--life-muted); font-size: 16px; line-height: 2; }
.life-page .intro-grid p { margin: 0; }
.life-films { background: var(--life-ivory); }
.life-films-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.life-film-card { overflow: hidden; background: #fff; border-radius: 20px; }
.life-video-trigger { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: var(--life-dark); border: 0; cursor: pointer; }
.life-video-trigger img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.life-play-icon { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; color: var(--life-blue); background: rgba(255,255,255,.94); border-radius: 50%; font-size: 18px; transform: translate(-50%,-50%); transition: transform .2s ease; }
.life-video-trigger:hover .life-play-icon { transform: translate(-50%,-50%) scale(1.08); }
.life-film-card > div { padding: 20px 24px 24px; }
.life-film-card > div span { color: var(--life-muted); font-size: 12px; }
.life-film-card h3 { margin: 3px 0 0; color: var(--life-ink); font-size: 22px; font-weight: 600; }
.life-page .outcomes { background: var(--life-dark); }
.life-page .section-heading.light > span { color: var(--life-gold); }
.life-page .section-heading.light h2 { color: #fff; }
.life-page .feature-grid { gap: 8px 32px; }
.life-page .feature { padding: 22px 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); border-radius: 0; background: transparent; gap: 12px; }
.life-page .feature span { color: var(--life-gold); font-size: 17px; }
.life-page .feature p { font-size: 15px; line-height: 1.95; color: #eef1f6; }
.life-page .curriculum-grid { gap: 20px; }
.life-page .module { padding: 26px; background: #f7f8fa; border: 0; border-radius: 18px; }
.life-page .module:hover { transform: none; box-shadow: none; }
.life-page .module > span { color: var(--life-blue); font-size: 13px; font-weight: 600; }
.life-page .module h3 { color: var(--life-ink); font-size: 19px; line-height: 1.7; font-weight: 700; margin: 10px 0; }
.life-page .module p { color: var(--life-muted); font-size: 14px; line-height: 1.95; }
.life-page .details { background: var(--life-ivory); }
.life-page .details-grid { gap: 0; }
.life-page .details-grid div { background: transparent; padding: 16px 24px; border: 0; border-radius: 0; text-align: center; }
.life-page .details-grid div + div { border-right: 1px solid var(--life-line); }
.life-page .details-grid span { color: var(--life-muted); font-size: 13px; margin-bottom: 8px; }
.life-page .details-grid strong { color: var(--life-ink); font-size: 18px; font-weight: 600; }
.life-page .date-note { color: var(--life-muted); text-align: center; margin: 28px 0 0; font-size: 13px; }
.life-page .contact { margin: 0; padding: 80px var(--life-gutter); border-radius: 0; background: #fff; color: var(--life-ink); gap: 56px; }
.life-page .contact h2 { font-size: clamp(28px,3vw,36px); max-width: 620px; }
.life-page .contact p { color: var(--life-muted); font-size: 14px; }
.life-page .contact-links { min-width: 220px; gap: 4px; color: var(--life-blue); font-size: 16px; }
.life-page .contact-links a { border-color: var(--life-line); padding: 10px 0; }
.life-page .contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.life-page .life-footer { background: var(--life-ivory); color: var(--life-muted); border-top: 1px solid var(--life-line); padding: 28px var(--life-gutter); gap: 24px; }
.life-footer-brand { display: flex; align-items: center; gap: 14px; color: var(--life-ink); }
.life-footer-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 12px; letter-spacing: .05em; }
.life-footer-brand small { font-size: 10px; color: var(--life-muted); }
.life-footer .life-company-mark { width: 92px; height: 44px; background: transparent; }
.life-footer .life-company-mark img { width: 100%; filter: none; opacity: 1; }
.life-footer p { font-size: 12px; margin: 0; }

/* Native-size video within the viewport; no forced full-screen enlargement. */
.life-video-dialog { position: fixed; inset: 50% auto auto 50%; width: max-content; max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); margin: 0; padding: 6px; overflow: visible; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; transform: translate(-50%,-50%); box-shadow: 0 20px 70px rgba(7,27,61,.25); }
.life-video-dialog::backdrop { background: rgba(7,27,61,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.life-video-frame { display: grid; place-items: center; width: auto; max-width: 100%; max-height: calc(100dvh - 54px); overflow: hidden; border-radius: 12px; background: #000; }
.life-video-frame video { display: block; width: auto; height: auto; max-width: min(820px,calc(100vw - 54px)); max-height: calc(100dvh - 54px); object-fit: contain; background: #000; }
.life-video-close { position: absolute; top: 14px; left: 14px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(7,27,61,.8); font-size: 26px!important; line-height: 1; cursor: pointer; }
.life-video-scroll-lock { position: fixed; left: 0; width: 100%; overflow: hidden; }

@media (max-width: 1050px) {
    .life-header nav { gap: 16px; }
    .life-brand-divider, .life-brand small { display: none; }
    .life-brand { gap: 10px; }
}
@media (max-width: 900px) {
    .life-header nav a:not(.life-nav-cta) { display: none; }
    .life-header nav .life-nav-cta { display: inline-block; }
    .life-page .hero-copy { width: min(520px,72vw); }
    .life-page .intro-grid, .life-page .feature-grid, .life-page .curriculum-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .life-page .details-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 0; }
    .life-page .details-grid div:nth-child(3) { border-right: 0; }
    .life-page .contact { align-items: stretch; gap: 24px; }
}
@media (max-width: 600px) {
    .life-page { --life-gutter: 20px; }
    .life-header { height: 72px; gap: 12px; }
    .life-company-mark { width: 80px; height: 40px; padding: 6px; }
    .life-brand b { font-size: 10px; letter-spacing: .04em; }
    .life-header nav { gap: 0; }
    .life-nav-cta { font-size: 12px; padding: 7px 12px; white-space: nowrap; }
    .life-page .hero { height: 100svh; min-height: 600px; padding: 96px 20px 52px; align-items: flex-end; }
    .life-page .hero-copy { width: 100%; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.83); }
    .life-page .hero h1 { font-size: clamp(30px,8.5vw,42px); margin: 10px 0 14px; }
    .life-page .hero-copy > p { font-size: 14px; line-height: 1.9; }
    .life-page .hero-actions { gap: 8px; margin-top: 20px; }
    .life-page .button { padding: 10px 14px; font-size: 12px; }
    .life-hero-facts { margin-top: 20px; padding-top: 16px; }
    .life-hero-facts div { padding: 0 4px; }
    .life-hero-facts strong { font-size: 20px; }
    .life-hero-facts span { font-size: 10px; }
    .life-page .section { padding-block: 60px; }
    .life-page .section-heading { margin-bottom: 30px; }
    .life-page .section-heading h2 { font-size: 28px; }
    .life-page .intro-grid, .life-page .feature-grid, .life-page .curriculum-grid, .life-films-grid { grid-template-columns: 1fr; gap: 18px; }
    .life-page .intro-grid { font-size: 15px; }
    .life-story-image img { height: 300px; }
    .life-story-image figcaption { padding: 12px; font-size: 12px; }
    .life-page .feature-grid { gap: 0; }
    .life-page .module { padding: 24px; }
    .life-page .details-grid div { padding: 8px 12px; }
    .life-page .details-grid strong { font-size: 15px; }
    .life-page .contact { padding-block: 60px; }
    .life-page .life-footer { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 360px) {
    .life-course-brand { display: none; }
    .life-page .hero-copy { padding: 20px; }
}
@media (max-height: 720px) and (min-width: 601px) {
    .life-page .hero { min-height: 580px; padding-top: 94px; padding-bottom: 44px; }
    .life-page .hero-copy { padding: 22px 28px; }
    .life-page .hero h1 { font-size: 38px; margin-block: 8px 12px; }
    .life-page .hero-actions, .life-hero-facts { margin-top: 16px; }
    .life-hero-facts { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .life-page *, .life-page *::before { transition: none!important; animation: none!important; }
    html:has(.life-page) { scroll-behavior: auto; }
}
