@font-face {
    font-family: "Passenger Display";
    src: url("fonts/PassengerDisplay-Regular-BF63f2d24127b50.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Passenger Display";
    src: url("fonts/PassengerDisplay-Italic-BF63f2d242b3e15.otf") format("opentype");
    font-style: italic;
    font-display: swap;
}

body.story-page {
    --story-heading: "Passenger Display", Georgia, serif;
    --story-ease: cubic-bezier(.22, 1, .36, 1);
    --story-line: color-mix(in srgb, var(--color-primary) 17%, transparent);
    background-image: radial-gradient(circle at 8% 25%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 30rem);
}

body.story-page.events-page {
    --story-hero-ink: #2f1c14;
    --story-hero-accent: #7c3f22;
    --story-panel: #fffaf5;
    --story-deep: #3c2015;
}

body.story-page.newborn-page {
    --story-hero-ink: #253846;
    --story-hero-accent: #466f88;
    --story-panel: #f8fbfd;
    --story-deep: #263e4e;
}

body.story-page header {
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
}

body.story-page .events-hero {
    box-sizing: border-box;
    min-height: 690px;
    height: min(78vh, 840px);
    justify-content: center;
    text-align: left;
    isolation: isolate;
    padding: 56px 24px;
}

body.story-page .events-hero::before {
    animation-duration: 28s;
}

body.story-page .events-hero::after {
    background-position: center;
    background-size: cover;
    opacity: .18;
}

body.story-page .hero-content {
    width: min(1120px, 100%);
    padding: 0;
    animation: none;
}

body.story-page .story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--story-hero-accent);
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .23em;
    text-transform: uppercase;
}

body.story-page .story-eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
}

body.story-page .hero-content h1 {
    max-width: 900px;
    margin: 0;
    color: var(--story-hero-ink);
    font-family: var(--story-heading);
    font-size: clamp(4.6rem, 9vw, 8.7rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .84;
    text-shadow: none;
    text-wrap: balance;
}

body.story-page .hero-content h1 em {
    color: var(--story-hero-accent);
    font-weight: 400;
}

body.story-page .hero-content p {
    max-width: 610px;
    margin: 32px 0 0;
    color: color-mix(in srgb, var(--story-hero-ink) 76%, transparent);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    font-weight: 400;
    line-height: 1.75;
    text-shadow: none;
}

body.story-page .page-container {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
    padding: 88px 0 120px;
}

body.newborn-page .newborn-packages-section {
    padding: 14px 0 90px;
}

body.newborn-page .newborn-packages-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

body.newborn-page .newborn-package-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--story-hero-accent);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

body.newborn-page .newborn-package-kicker::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
}

body.newborn-page .newborn-packages-heading h2 {
    margin: 0 0 20px;
    color: var(--story-deep);
    font-family: var(--story-heading);
    font-size: clamp(3.7rem, 7vw, 6.3rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .9;
}

body.newborn-page .newborn-packages-heading p {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.75;
}

body.newborn-page .newborn-package-list {
    display: grid;
    gap: 42px;
}

body.newborn-page .newborn-package-card {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
    min-height: 620px;
    overflow: hidden;
    background: var(--story-panel);
    border: 1px solid var(--story-line);
    border-radius: 4px;
    box-shadow: 0 16px 48px color-mix(in srgb, var(--color-primary) 10%, transparent);
    transition: transform 280ms var(--story-ease), box-shadow 280ms ease, border-color 180ms ease;
}

body.newborn-page .newborn-package-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
    box-shadow: 0 30px 72px color-mix(in srgb, var(--color-primary) 17%, transparent);
}

body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-image { order: 2; }
body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-info { order: 1; }

body.newborn-page .newborn-package-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #e6f0f5;
}

body.newborn-page .newborn-package-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: 1px solid oklch(0 0 0 / .1);
    outline-offset: -1px;
    transform: scale(1.01);
    transition: transform 850ms var(--story-ease);
}

body.newborn-page .newborn-package-image > img.newborn-family-photo {
    object-position: center 38%;
}

body.newborn-page .newborn-package-card:hover .newborn-package-image > img { transform: scale(1.05); }

body.newborn-page .newborn-package-gallery {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 8px;
    background: rgba(247,250,252,.76);
    box-shadow: 0 16px 36px rgba(20,39,51,.18);
    backdrop-filter: blur(12px);
}

body.newborn-page .newborn-package-gallery--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.newborn-page .newborn-package-gallery img {
    display: block;
    width: 100%;
    height: 106px;
    object-fit: cover;
    border-radius: 4px;
    outline: 1px solid oklch(0 0 0 / .1);
    outline-offset: -1px;
}

body.newborn-page .newborn-package-price {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;
    min-width: 124px;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 6px;
    background: rgba(38,62,78,.92);
    box-shadow: 0 14px 32px rgba(20,39,51,.22);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-price {
    right: 24px;
    left: auto;
}

body.newborn-page .newborn-package-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 76px);
    background: linear-gradient(145deg, rgba(255,255,255,.45), transparent 58%);
}

body.newborn-page .newborn-package-number {
    margin-bottom: 18px;
    color: var(--story-hero-accent);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
}

body.newborn-page .newborn-package-info h3 {
    margin: 0 0 28px;
    color: var(--story-deep);
    font-family: var(--story-heading);
    font-size: clamp(3rem, 5vw, 4.7rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .92;
}

body.newborn-page .newborn-package-info ul {
    display: grid;
    gap: 10px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

body.newborn-page .newborn-package-info li {
    position: relative;
    padding-left: 24px;
    font-size: .95rem;
    line-height: 1.55;
}

body.newborn-page .newborn-package-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--story-hero-accent);
    font-weight: 700;
}

body.newborn-page .newborn-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: fit-content;
    min-width: 220px;
    min-height: 50px;
    padding: 14px 20px;
    border-radius: 6px;
    background: var(--story-deep);
    box-shadow: 0 12px 26px rgba(28,53,68,.18);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.newborn-page .newborn-contact-btn:hover {
    background: var(--story-hero-accent);
    box-shadow: 0 18px 32px rgba(28,53,68,.23);
}

body.newborn-page .newborn-contact-btn:active { transform: scale(.96); }

body.story-page .feature-section {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
    gap: 0;
    min-height: 570px;
    margin-bottom: 42px;
    overflow: hidden;
    background: var(--story-panel);
    border: 1px solid var(--story-line);
    border-radius: 4px;
    box-shadow: 0 16px 48px color-mix(in srgb, var(--color-primary) 10%, transparent);
    transition: transform 280ms var(--story-ease), box-shadow 280ms ease, border-color 180ms ease;
}

body.story-page .feature-section:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
    box-shadow: 0 30px 72px color-mix(in srgb, var(--color-primary) 17%, transparent);
}

body.story-page .feature-section:nth-child(odd) .image-column { order: 0; }
body.story-page .feature-section:nth-child(even) .image-column { order: 2; }
body.story-page .feature-section:nth-child(even) .text-column { order: 1; }

body.story-page .image-column,
body.story-page .text-column { min-width: 0; }

body.story-page .image-column {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-accent) 24%, #ddd);
}

body.story-page .image-column img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    outline: 1px solid oklch(0 0 0 / .1);
    outline-offset: -1px;
    box-shadow: none;
    transform: scale(1.01);
    transition: transform 850ms var(--story-ease);
}

body.story-page .feature-section:hover .image-column img { transform: scale(1.05); }

body.story-page .text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 78px);
    background: linear-gradient(145deg, rgba(255,255,255,.4), transparent 58%);
}

body.story-page .text-column h3 {
    margin: 0 0 22px;
    color: var(--story-deep);
    font-family: var(--story-heading);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .94;
}

body.story-page .text-column p {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.78;
}

body.story-page .text-column ul { display: grid; gap: 10px; }
body.story-page .text-column ul li { margin: 0; font-size: .95rem; line-height: 1.5; }

body.story-page .page-container > .animated-section:not(.feature-section):not(.testimonial-section):not(.final-cta) {
    padding: 82px 0 54px;
}

body.story-page .section-title {
    margin-bottom: 38px;
    color: var(--story-deep);
    font-family: var(--story-heading);
    font-size: clamp(3.3rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -.045em;
}

body.story-page .process-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

body.story-page .process-card {
    position: relative;
    padding: 38px 32px 40px;
    text-align: left;
    background: color-mix(in srgb, var(--story-panel) 95%, var(--color-accent) 5%);
    border: 1px solid var(--story-line);
    border-radius: 4px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--color-primary) 7%, transparent);
}

body.story-page .process-card .step-number {
    margin-bottom: 42px;
    color: var(--story-hero-accent);
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body.story-page .process-card h3 {
    margin-bottom: 14px;
    color: var(--story-deep);
    font-family: var(--story-heading);
    font-size: 2.15rem;
    font-weight: 400;
}

body.story-page .process-card p { line-height: 1.7; }

body.story-page .testimonial-section {
    position: relative;
    margin: 78px 0 42px;
    padding: 80px clamp(30px, 8vw, 110px);
    overflow: hidden;
    background: var(--story-deep);
    border-radius: 4px;
    color: #fff;
}

body.story-page .testimonial-section .quote-icon {
    color: var(--color-accent);
    font-size: 2rem;
    opacity: .85;
}

body.story-page .testimonial-section blockquote {
    max-width: 900px;
    margin: 22px auto;
    color: #fff;
    font-family: var(--story-heading);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.13;
}

body.story-page .testimonial-section cite {
    color: color-mix(in srgb, white 70%, var(--color-accent));
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.story-page .final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 30px;
    border-radius: 4px;
}

body.story-page .final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(0,0,0,.1), rgba(0,0,0,.32));
}

body.story-page .final-cta h2 {
    margin-bottom: 18px;
    font-family: var(--story-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}

body.story-page .final-cta p { max-width: 650px; margin: 0 auto 34px; line-height: 1.7; }

body.story-page .btn {
    min-height: 50px;
    padding: 14px 26px;
    border-width: 1px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 600;
    transition: transform 160ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

body.story-page .btn:active { transform: scale(.96); }

body.story-page :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-accent) 68%, white);
    outline-offset: 3px;
}

body.story-page.dark-mode {
    --story-panel: color-mix(in srgb, var(--color-background) 84%, white 16%);
    --story-hero-ink: var(--color-primary-dark);
    --story-hero-accent: var(--color-primary);
    --story-deep: color-mix(in srgb, var(--color-background) 72%, black 28%);
}

body.story-page.dark-mode .image-column img { outline-color: oklch(1 0 0 / .1); }

@media (prefers-reduced-motion: no-preference) {
    body.story-page .story-eyebrow,
    body.story-page .hero-content h1,
    body.story-page .hero-content p {
        animation: story-enter 700ms var(--story-ease) both;
    }
    body.story-page .hero-content h1 { animation-delay: 80ms; }
    body.story-page .hero-content p { animation-delay: 160ms; }
    @keyframes story-enter {
        from { opacity: 0; transform: translateY(22px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 900px) {
    body.newborn-page .newborn-package-card { grid-template-columns: 1fr; min-height: 0; }
    body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-image,
    body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-info { order: initial; }
    body.newborn-page .newborn-package-image { min-height: 0; aspect-ratio: 4 / 5; }
    body.newborn-page .newborn-package-gallery { right: 14px; bottom: 14px; left: 14px; gap: 7px; padding: 7px; }
    body.newborn-page .newborn-package-gallery img { height: 78px; }
    body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-price { right: 18px; left: auto; }
    body.story-page .feature-section { grid-template-columns: 1fr; min-height: 0; }
    body.story-page .feature-section:nth-child(even) .image-column,
    body.story-page .feature-section:nth-child(even) .text-column { order: initial; }
    body.story-page .image-column { min-height: 0; aspect-ratio: 4 / 3; }
    body.story-page .text-column { min-height: 360px; text-align: left; }
    body.story-page .text-column ul { display: grid; }
    body.story-page .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body.newborn-page .newborn-packages-section { padding: 8px 0 64px; }
    body.newborn-page .newborn-packages-heading { margin-bottom: 36px; }
    body.newborn-page .newborn-package-list { gap: 24px; }
    body.newborn-page .newborn-package-info { padding: 40px 26px 32px; }
    body.newborn-page .newborn-package-info h3 { font-size: clamp(2.9rem, 13vw, 4rem); }
    body.newborn-page .newborn-package-price,
    body.newborn-page .newborn-package-card:nth-child(even) .newborn-package-price {
        top: 18px;
        right: 18px;
        left: auto;
        min-width: 110px;
        padding: 13px 17px;
        font-size: 1.35rem;
    }
    body.newborn-page .newborn-contact-btn { width: 100%; box-sizing: border-box; }
    body.story-page .events-hero { min-height: 620px; height: auto; padding: 70px 22px; }
    body.story-page .hero-content h1 { font-size: clamp(4rem, 17vw, 5.8rem); }
    body.story-page .hero-content p { font-size: 1rem; }
    body.story-page .page-container { width: min(100% - 32px, 1180px); padding: 48px 0 78px; }
    body.story-page .feature-section { margin-bottom: 24px; }
    body.story-page .image-column { aspect-ratio: 4 / 5; }
    body.story-page .text-column { min-height: 0; padding: 40px 26px; }
    body.story-page .text-column h3 { font-size: clamp(2.9rem, 13vw, 4rem); }
    body.story-page .page-container > .animated-section:not(.feature-section):not(.testimonial-section):not(.final-cta) { padding: 64px 0 32px; }
    body.story-page .process-card { padding: 30px 26px; }
    body.story-page .process-card .step-number { margin-bottom: 28px; }
    body.story-page .testimonial-section { margin: 54px 0 24px; padding: 58px 26px; }
    body.story-page .final-cta { padding: 76px 24px; }
    body.story-page .cta-buttons { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    body.newborn-page .newborn-package-card,
    body.newborn-page .newborn-package-card:hover,
    body.newborn-page .newborn-package-image > img,
    body.newborn-page .newborn-package-card:hover .newborn-package-image > img { transform: none; transition: none; }
    body.story-page .events-hero::before { animation: none; }
    body.story-page .animated-section { opacity: 1; transform: none; transition: none; }
    body.story-page .feature-section,
    body.story-page .feature-section:hover,
    body.story-page .image-column img,
    body.story-page .feature-section:hover .image-column img { transform: none; transition: none; }
}
