.style_SkipStrokeSkipFillSkipOpacity_1 {
}
.style_SkipStrokeSkipFillSkipOpacity {
}
.style_SkipStrokeSkipFillSkipOpacity_2 {
}
.graphic_generic_header_textbox_style_default_SkipStrokeSkipFillSkipOpacity {
}
.graphic_generic_title_textbox_style_default_SkipStrokeSkipFillSkipOpacity {
}
.graphic_textbox_style_default_SkipStrokeSkipFillSkipOpacity {
}
.bumper {
    font-size: 1px;
    line-height: 1px;
}
#widget0 a:hover {
    color: rgb(221, 221, 221);
    text-decoration: underline;
}
#widget0 a:visited {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}
#widget0 a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}
.spacer {
    font-size: 1px;
    line-height: 1px;
}
body { 
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}
div { 
    overflow: visible; 
}
img { 
    border: none; 
}
.InlineBlock { 
    display: inline; 
}
.InlineBlock { 
    display: inline-block; 
}
.inline-block {
    display: inline-block;
    vertical-align: baseline;
    margin-bottom:0.3em;
}
.inline-block.shape-with-text {
    vertical-align: bottom;
}
.vertical-align-middle-middlebox {
    display: table;
}
.vertical-align-middle-innerbox {
    display: table-cell;
    vertical-align: middle;
}
div.paragraph {
    position: relative;
}
li.full-width {
    width: 100%;
}

/* Desktop: text first, then image - flex order */
#body_content {
    position: relative;
}
#body_layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2rem 1rem;
    box-sizing: border-box;
    animation: fadeIn 1.2s ease-in;
}
#body_layer > .bumper,
#body_layer > .spacer {
    display: none !important;
}
#body_layer > script {
    order: 99;
}
/* ========== HOME HERO (unique section, no iWeb overrides) ========== */
.home-hero {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 54rem;
    margin: 0 auto;
    box-sizing: border-box;
}
.home-hero__img {
    position: relative;
    width: 100%;
    line-height: 0;
}
.home-hero__img .home-hero__photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.375rem;
    vertical-align: middle;
}
.home-hero__welcome {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: auto;
    top: auto;
    z-index: 5;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.62);
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
}
.home-hero__welcome img,
.home-hero__welcome .hero-welcome {
    display: block;
    width: auto;
    max-width: 22rem;
    min-width: 10rem;
    height: auto;
    margin: 0;
}
.home-hero #sound-toggle {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    left: auto;
    top: auto;
    margin: 0;
    z-index: 10;
    pointer-events: auto;
}

/* Hero SVGs from Home_files */
.hero-title-svg {
    display: block;
    height: 120px;
    width: auto;
    max-width: 630px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.35) translateY(50px);
    animation: hero-svg-entrance 1.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards, hero-title-glow-pulse 4s ease-in-out 1.7s infinite;
    filter: blur(8px) drop-shadow(0 0 14px rgba(163, 198, 200, 0.5)) drop-shadow(0 0 28px rgba(163, 198, 200, 0.25));
    transition: filter 0.4s ease, transform 0.3s ease;
}
.shadow_0:hover .hero-title-svg {
    filter: drop-shadow(0 0 24px rgba(163, 198, 200, 0.9)) drop-shadow(0 0 48px rgba(163, 198, 200, 0.55)) drop-shadow(0 0 72px rgba(163, 198, 200, 0.3));
    transform: scale(1.02);
    animation: hero-svg-entrance 1.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards, hero-title-glow-pulse 4s ease-in-out 1.7s infinite paused;
}
@keyframes hero-svg-entrance {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0) drop-shadow(0 0 18px rgba(163, 198, 200, 0.7)) drop-shadow(0 0 36px rgba(163, 198, 200, 0.4)) drop-shadow(0 0 56px rgba(163, 198, 200, 0.2));
    }
}
@keyframes hero-title-glow-pulse {
    0%, 100% {
        filter: blur(0) drop-shadow(0 0 18px rgba(163, 198, 200, 0.7)) drop-shadow(0 0 36px rgba(163, 198, 200, 0.4)) drop-shadow(0 0 56px rgba(163, 198, 200, 0.2));
    }
    50% {
        filter: blur(0) drop-shadow(0 0 26px rgba(163, 198, 200, 0.85)) drop-shadow(0 0 52px rgba(163, 198, 200, 0.5)) drop-shadow(0 0 78px rgba(163, 198, 200, 0.25));
    }
}
.hero-welcome-svg {
    display: block;
    width: auto;
    max-width: 420px;
    min-width: 14rem;
    height: auto;
    margin: 0;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
    animation: hero-welcome-svg-in 1s ease-out 1.2s forwards;
}
@keyframes hero-welcome-svg-in {
    to { opacity: 1; }
}

/* Hero title: artistic script font + each letter “drawn” + final glow (fallback when SVGs not used) */
.hero-title {
    font-family: 'Parisienne', 'Brush Script MT', cursive;
    font-size: clamp(2.25rem, 7vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.98);
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: nowrap;
    animation: hero-glow-pulse 3s ease-in-out 3.2s forwards;
}
.hero-char {
    display: inline-block;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    animation: hero-draw-letter 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: calc(0.12s * var(--i, 0));
    text-shadow: 0 0 0 rgba(163, 198, 200, 0);
}
@keyframes hero-draw-letter {
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}
@keyframes hero-glow-pulse {
    0% {
        text-shadow: 0 0 12px rgba(163, 198, 200, 0.4), 0 0 24px rgba(163, 198, 200, 0.2);
    }
    100% {
        text-shadow: 0 0 20px rgba(163, 198, 200, 0.8), 0 0 40px rgba(163, 198, 200, 0.4), 0 0 60px rgba(163, 198, 200, 0.2);
    }
}
.shadow_0:hover .hero-title {
    text-shadow: 0 0 24px rgba(163, 198, 200, 0.9), 0 0 48px rgba(163, 198, 200, 0.5), 0 0 72px rgba(163, 198, 200, 0.3);
}
.shadow_0:hover .hero-char {
    text-shadow: inherit;
}

/* Hero welcome line */
.hero-welcome {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: hero-welcome-in 1s ease-out 3.4s forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@keyframes hero-welcome-in {
    to { opacity: 1; }
}

/* Legacy: shadow on header img if any */
.shadow_0 img {
    transition: filter 0.3s ease;
}
.shadow_0:hover img {
    filter: drop-shadow(0 0 8px #a3c6c8) drop-shadow(0 0 20px #a3c6c8);
}

/* Home intro text - first on page */
.home-intro {
    order: 1;
    max-width: 35rem;
    margin: 0 auto 1.5rem;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 5;
}
.home-intro p {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.home-intro a {
    color: #a17c85;
    text-decoration: none;
    border-bottom: 0.0625rem solid rgba(161, 124, 133, 0.4);
}
.home-intro a:hover {
    color: #c99ba3;
    border-bottom-color: rgba(161, 124, 133, 0.7);
}

/* Sound toggle (shared styles; position from .home-hero #sound-toggle above) */
.home-hero #sound-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.375rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: togglePulse 2.5s ease-in-out infinite;
}
#sound-toggle:hover {
    opacity: 1;
    animation: none;
}
#sound-toggle .toggle-label {
    font-size: 0.8125rem;
    letter-spacing: 0.09375rem;
    color: #a17c85;
    font-family: 'HelveticaNeue', 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.3s ease;
}
#sound-toggle.sound-on .toggle-label {
    color: #5cb85c;
}
#sound-toggle .toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    min-width: 2.125rem;
    min-height: 2.125rem;
    border: 0.0625rem solid rgba(161,124,133,0.4);
    border-radius: 50%;
    font-size: 0.6875rem;
    line-height: 1;
    color: #a17c85;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
#sound-toggle.sound-on .toggle-btn {
    border-color: #5cb85c;
    color: #5cb85c;
}
#sound-toggle:hover .toggle-btn {
    border-color: #a17c85;
    box-shadow: 0 0 0.625rem rgba(161,124,133,0.3);
}
#sound-toggle.sound-on:hover .toggle-btn {
    border-color: #5cb85c;
    box-shadow: 0 0 0.625rem rgba(92, 184, 92, 0.4);
}
@keyframes togglePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

/* Nav line under menu (same as other pages) */
.nav-line {
    height: 0.125rem;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 2.1875rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 0.625rem 0;
    border-top: 0.125rem solid rgba(161, 124, 133, 0.4);
    background: linear-gradient(to bottom, transparent, rgba(161, 124, 133, 0.06));
}
.site-footer span {
    color: rgba(255, 255, 255, 0.65);
    font-family: 'HelveticaNeue', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.125rem;
    text-shadow: 0 0 12px rgba(161, 124, 133, 0.2);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile: reflow Home into centered single column (text first, then image) */
@media screen and (max-width: 45rem) {
    body { overflow-x: hidden; }
    body > div { width: 100% !important; overflow-x: hidden; }
    #body_content {
        width: 100% !important;
        max-width: 100vw;
        overflow: hidden;
    }
    /* Nav */
    #nav_layer { width: 100% !important; }
    #nav_layer .com-apple-iweb-widget-navbar {
        width: calc(100% - 2rem) !important;
        margin-left: 1rem !important;
    }
    .nav-line {
        margin: 0 1rem;
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }

    /* Header: center logo (shapeimage_1) */
    #header_layer {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        float: none !important;
        text-align: center;
        padding: 0.75rem 1rem;
        box-sizing: border-box;
    }
    #header_layer > div,
    #header_layer > div > div,
    #header_layer .shadow_0,
    #header_layer .shadow_0 > div {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    #header_layer .shadow_0 img {
        position: static !important;
        margin: 0 auto !important;
        display: block !important;
        max-width: 16.25rem;
        width: 60vw !important;
        height: auto !important;
    }
    #header_layer .shadow_0 img.hero-title-svg {
        max-width: 90vw !important;
        width: 90vw !important;
        height: auto !important;
        max-height: 120px;
    }

    /* Body: text first (order 1), then image (2), welcome (3), sound (4) */
    #body_layer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 1rem 0.625rem;
        box-sizing: border-box;
    }
    .home-intro {
        order: 1;
        margin: 0 auto 1rem;
        padding: 0 0.5rem;
    }
    .home-intro p { font-size: 1rem; }
    .home-hero { order: 2; }
    .home-hero__welcome { bottom: 0.5rem; left: 0.5rem; }
    .home-hero__welcome img { max-width: 16rem; min-width: 10rem; }
    .home-hero #sound-toggle { bottom: 0.5rem; right: 0.5rem; left: auto; }

    .spacer { display: none !important; }
    .bumper { display: none !important; }

    #footer_layer {
        height: auto !important;
        width: 100% !important;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
