@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');

@font-face {
    font-family: "Usual Regular";
    src: url("../font/UsualRegular.otf") format("opentype");
    font-display: swap;
}

:root {
    --life-white: #fff;
    --life-dark: #1a2e35;
    --life-teal: #0d8a8a;
    --life-teal-dark: #0a7070;
    --life-teal-light: #4dd4d4;
    --life-cream: #f8f5f0;
    --life-soft: #f4f6f5;
    --life-text: #27363b;
    --life-copy: #405055;
    --life-muted: #68777c;
    --life-border: #e4e8e8;
    --life-serif: "DM Serif Display", Georgia, serif;
    --life-sans: "DM Sans", Arial, sans-serif;
    --life-radius-sm: .5rem;
    --life-radius-md: .75rem;
    --life-radius-lg: 1rem;
    --life-shadow-sm: 0 4px 15px rgba(20, 40, 45, .045);
    --life-shadow-md: 0 14px 35px rgba(0, 0, 0, .18);
    --life-shadow-lg: 0 24px 55px rgba(13, 138, 138, .11);
    --life-transition: .2s ease;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
.life-brand,
.footer-brand {
    font-family: "Gill Sans", serif;
    font-weight: 400;
}

.teal {
    color: var(--life-teal);
}

.section-space {
    padding: 7rem 0;
}

.cream-section {
    background: var(--life-cream);
}

.life-btn:focus-visible,
.gratitude-textarea:focus,
.gratitude-input:focus {
    border-color: var(--life-teal);
    outline: 3px solid rgba(13, 138, 138, .18);
    outline-offset: 2px;
    box-shadow: 0 0 0 .2rem rgba(13, 138, 138, .12);
}

.life-nav {
    background: rgba(26, 46, 53, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.life-brand {
    color: var(--life-white);
    text-decoration: none;
    font-size: 1.55rem;
    letter-spacing: 0;
}

.life-brand:hover {
    color: var(--life-white);
}

.life-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 0;
    border-radius: 999px;
    background: var(--life-teal);
    color: var(--life-white);
    padding: .8rem 1.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--life-transition), background var(--life-transition), transform var(--life-transition), box-shadow var(--life-transition);
    box-shadow: 0 10px 28px rgba(13, 138, 138, .22);
}

.life-btn:hover,
.life-btn:focus {
    color: var(--life-white);
    background: var(--life-teal-dark);
    transform: translateY(-1px);
}

.life-btn:disabled {
    opacity: .6;
    pointer-events: none;
    transform: none;
}

.life-btn-sm {
    padding: .55rem 1.35rem;
    box-shadow: none;
}

.life-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.hero-section {
    min-height: 100svh;
}

.section-bg {
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(26, 46, 53, .72), rgba(26, 46, 53, .5), rgba(26, 46, 53, .82));
}

.hero-content {
    max-width: 900px;
    padding-top: 5rem;
}

.hero-content h1 {
    color: var(--life-white);
    font-size: clamp(4rem, 8vw, 6.8rem);
    line-height: 1.02;
    margin: 0 0 .8rem;
    letter-spacing: 0;
}

.ratio-3x2 {
    --bs-aspect-ratio: 66.6667%;
}

.feature-strip {
    background: var(--life-dark);
    color: rgba(255, 255, 255, .72);
}

.feature-items {
    font-size: 1rem;
}

.feature-items i {
    color: var(--life-teal-light);
    margin-right: .35rem;
}

.feature-items b {
    color: rgba(255, 255, 255, .18);
    font-weight: 400;
}

.eyebrow {
    color: var(--life-teal);
    letter-spacing: .15em;
    font-size: 1.5rem;
}

.eyebrow-light {
    color: var(--life-teal-light);
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 4rem;
}

.image-card {
    border-radius: var(--life-radius-lg);
    box-shadow: var(--life-shadow-lg);
    background: #dfe9e8;
}

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

.photo-note {
    left: -1.5rem;
    bottom: -1.5rem;
    max-width: 275px;
    background: var(--life-dark);
    color: var(--life-white);
    font-family: "Proxima Nova Medium", serif;
    padding: 1rem;
    border-radius: var(--life-radius-md);
    box-shadow: var(--life-shadow-md);
    font-size: 1.1rem;
    line-height: 1.55;
}

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

.list-lifecourse li {
    position: relative;
    padding: 0 0 0 22px;
    margin: 0 0 11px 0;
    font-size: 21px;
    letter-spacing: .8px !important;
    font-family: "Proxima Nova Medium", sans-serif !important;
}

.list-lifecourse li:before {
    content: "";
    width: 10px;
    height: 2px;
    background-color: var(--life-copy);
    position: absolute;
    top: 11px;
    left: 0;
}

.evening-card {
    background: var(--life-cream);
    box-shadow: 0 3px 14px rgba(20, 40, 45, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.evening-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(20, 40, 45, .1);
}

.icon-circle {
    width: 56px;
    height: 56px;
    place-items: center;
    background: rgba(13, 138, 138, .1);
    color: var(--life-teal);
    font-size: 1.8rem;
}

.card-time {
    color: var(--life-teal);
    font-size: 1.2rem;
    letter-spacing: .09em;
}

.expect-card {
    background: var(--life-white);
    box-shadow: var(--life-shadow-sm);
    transition: box-shadow .25s ease;
}

.expect-card:hover {
    box-shadow: 0 13px 28px rgba(20, 40, 45, .09);
}

.expect-card > svg {
    color: var(--life-teal);
    font-size: 1.8rem;
}

.audience-item {
    background: var(--life-cream);
    color: var(--life-copy);
    font-size: .95rem;
}

.why-overlay {
    background: rgba(26, 46, 53, .88);
}

.why-inner {
    max-width: 800px;
}

.why-inner h2 {
    color: var(--life-white);
    margin-bottom: 2rem;
}

.date-inner {
    max-width: 790px;
}

.event-time {
    color: #232323;
    font-size: 1.8rem;
    margin: -.4rem 0 2rem;
}

.event-time svg {
    color: var(--life-teal);
}

.life-schedule-preview {
    max-width: 760px;
    border: 1px solid var(--life-border);
    border-radius: var(--life-radius-md);
    background: rgba(255, 255, 255, .76);
    box-shadow: var(--life-shadow-sm);
    padding: 1.5rem;
}

.life-schedule-preview h4 {
    margin-bottom: 1.5rem;
}

.life-schedule-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.life-schedule-item {
    gap: 1rem;
    border-radius: var(--life-radius-sm);
    background: var(--life-white);
    padding: .5rem;
}

.life-schedule-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(13, 138, 138, .12);
    color: var(--life-teal);
    font-size: 1.1rem;
 }

.life-schedule-date {
    font-size: 1.08rem;
    line-height: 1.3;
}

.mobile-cta {
    position: fixed;
    bottom: 1.4rem;
    left: 50%;
    width: min(calc(100% - 2rem), 320px);
    transform: translateX(-50%);
    z-index: 1030;
}

.gratitude-page {
    background: var(--life-cream);
}

.gratitude-hero {
    padding: 10rem 0 5rem;
    background: var(--life-white);
}

.gratitude-hero .container {
    max-width: 930px;
}

.gratitude-hero h1 {
    margin: 0 0 1.35rem;
    color: var(--life-text);
    font-family: "Gill Sans", serif;
    font-size: clamp(2.8rem, 5vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.gratitude-builder {
    background: linear-gradient(var(--life-white) 0 4.5rem, var(--life-cream) 4.5rem 100%);
}

.gratitude-preview-panel,
.gratitude-form-card {
    border: 1px solid var(--life-border);
    border-radius: var(--life-radius-lg);
    background: var(--life-white);
    box-shadow: 0 18px 55px rgba(26, 46, 53, .08);
}

.gratitude-side-label {
    padding: .55rem .45rem .85rem;
    color: #232323;
    /*font-size: .78rem;*/
    font-family: "Proxima Nova Medium", sans-serif !important;
    /*letter-spacing: .1em;*/
}

.gratitude-preview {
    min-height: 300px;
    border: 1px solid var(--life-border);
    border-radius: var(--life-radius-md);
    background: var(--life-soft);
    object-fit: contain;
    opacity: 0;
    transition: opacity var(--life-transition);
}

.gratitude-preview.is-ready {
    min-height: 0;
    opacity: 1;
}

.gratitude-preview-status {
    min-height: 280px;
    margin-top: -300px;
    place-items: center;
    color: #232323;
    font-size: .9rem;
    pointer-events: none;
}

.gratitude-scroll-note {
    padding: 1rem .35rem .25rem;
    color: #232323;
    /*font-size: .84rem;*/
    line-height: 1.55;
}

.gratitude-form-card {
    top: 6.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.gratitude-form-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.6rem, 4vw, 2.7rem);
}

.gratitude-label {
    gap: .4rem 1rem;
    color: #232323;
    /*font-size: 1rem;*/
    font-weight: 600;
    line-height: 1.55;
    font-family: "Proxima Nova Medium", serif;
}

.gratitude-counter {
    color: var(--life-teal);
    white-space: nowrap;
}

.gratitude-help {
    color: var(--life-muted);
    font-weight: 500;
}

.gratitude-textarea,
.gratitude-input {
    border-color: var(--life-border);
    border-radius: var(--life-radius-md);
    background: var(--life-white);
    color: var(--life-text);
    padding: .85rem 1rem;
    font-family: "Proxima Nova Medium", serif;
}

.gratitude-textarea {
    min-height: 175px;
    resize: vertical;
}

.gratitude-instructions {
    margin: 1.5rem 0;
    color: #232323;
    /*font-size: .9rem;*/
    line-height: 1.3;
}

.gratitude-error {
    font-size: .85rem;
}

.life-footer {
    background: var(--life-dark);
    color: rgba(255, 255, 255, .5);
}

.footer-brand {
    color: var(--life-white);
    font-size: 1.35rem !important;
    margin-bottom: .6rem;
}

.life-footer p {
    margin-bottom: .25rem;
    font-size: .9rem;
}

.life-footer small {
    color: rgba(255, 255, 255, .4);
    font-size: .73rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .62s ease, transform .62s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 3rem 0;
    }

    .life-nav .container {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .life-brand {
        font-size: 1.3rem;
    }

    .life-btn-sm {
        padding: .5rem 1rem;
        font-size: .83rem;
    }

    .hero-content {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .hero-content h1 {
        font-size: clamp(3.6rem, 18vw, 5rem);
    }

    .feature-items b {
        display: none;
    }

    .feature-items {
        flex-direction: column;
        gap: .65rem !important;
    }

    .section-heading {
        margin-bottom: 2.8rem;
    }

    .photo-note {
        display: none;
    }

    .life-schedule-preview {
        padding: 1.25rem;
    }

    .life-schedule-preview h4 {
        font-size: 1.35rem;
    }

    .life-schedule-list {
        grid-template-columns: 1fr;
    }

    .life-footer {
        padding-bottom: 6rem;
    }

    .gratitude-hero {
        padding: 8rem 0 3.5rem;
    }

    .gratitude-hero h1 {
        font-size: clamp(1.55rem, 10vw, 3.75rem);
    }

    .gratitude-preview-panel {
        padding: .75rem;
    }

    .gratitude-preview {
        min-height: 210px;
    }

    .gratitude-preview-status {
        min-height: 195px;
        margin-top: -210px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .section-space {
        padding: 4rem 0;
    }

    .photo-note {
        max-width: 300px;
        font-size: 1rem;
    }

    .evening-card {
        padding: 1rem;
    }

    .gratitude-builder {
        background: var(--life-cream);
        padding-top: 4rem !important;
    }
}
