.logo {
    display: block;
    width: min(200px, 45vw);
    height: auto;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem;
    background-color: black;
    border-bottom: 2px solid rgb(132, 101, 172);
}

.site-header > a {
    grid-column: 2;
    grid-row: 1;
}

.menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 11;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 1rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgb(132,101,172);
    border-radius: 999px;
    background-color: white;
    color: rgb(132,101,172);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background-color: rgb(248, 231, 244);
}

.cupcake-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.site-header-wrapper {
    position: relative;
}

.header-sprinkles {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    padding: 0.55rem 1rem 0.7rem;
    background-color: black;
    border-bottom: 1px solid rgb(238, 205, 222);
}

.header-sprinkles span {
    display: block;
    width: 1.35rem;
    height: 0.3rem;
    border-radius: 999px;
    background-color: rgb(158, 110, 176);
    box-shadow: 0 1px 2px rgb(110 72 126 / 20%);
    transform: rotate(-20deg);
}

.header-sprinkles span:nth-child(2n) {
    background-color: rgb(224, 126, 151);
    transform: rotate(25deg);
}

.header-sprinkles span:nth-child(3n) {
    background-color: rgb(228, 187, 110);
    transform: rotate(-8deg);
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 25vw;
    height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
    background: rgb(255, 246, 250);
    border: 2px solid rgb(158, 110, 176);
    border-right: 0;
    border-radius: 1.5rem 0 0 1.5rem;
    box-shadow: -10px 12px 28px rgb(42 24 48 / 25%);

    opacity: 0;
    visibility: hidden;
    transform: translateX(105%);
    transition: opacity 0.25s ease, transform 0.25s ease,
        visibility 0.25s ease;
}

.menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.menu a {
    color: rgb(158, 110, 176);
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateX(1rem);
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.3s ease,
        transform 0.3s ease;
}

.menu.open a {
    opacity: 1;
    transform: translateX(0);
}

.menu.open a:nth-child(1) {
    transition-delay: 0.08s;
}

.menu.open a:nth-child(2) {
    transition-delay: 0.13s;
}

.menu.open a:nth-child(3) {
    transition-delay: 0.18s;
}

.menu.open a:nth-child(4) {
    transition-delay: 0.23s;
}

.menu.open a:nth-child(5) {
    transition-delay: 0.28s;
}

.menu a:hover,
.menu a:focus-visible {
    background-color: rgb(248, 224, 237);
    color: rgb(110, 72, 126);
}

@media (max-width: 650px) {
    .menu {
        width: 75vw;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu,
    .menu a {
        transition: none;
    }
}

.branding {
    color: rgb(132, 101, 172);
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: rgb(132, 101, 172);
    color: white;
}

.footer-page-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.footer-page-links a {
    display: inline-block;
    width: auto;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.footer-page-links a:last-child {
    border-bottom: none;
}

.footer-page-links a:hover,
.footer-page-links a:focus-visible {
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.footer-tagline-frame {
    width: min(170px, 45vw);
    height: auto;
    margin-top: 0.2rem;
}

.footer-tagline {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.facebook-link {
    justify-self: end;
    line-height: 0;
}

.facebook-icon {
    width: 24px;
    height: 24px;
    fill: white;
}


.page-content {
    width: min(100% - 2rem, 900px);
    margin: 0 auto;
    padding: 2rem 0;
}

.page-content h1,
.page-content h2 {
    text-align: center;
}

.home-content {
    width: min(100% - 2rem, 1100px);
    padding-top: 2.5rem;
}

.home-hero-intro {
    max-width: 620px;
    margin: 2.5rem auto 0;
    text-align: center;
}

.home-hero-intro h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.75rem, 7vw, 5rem);
    line-height: 0.95;
}

.home-hero-intro > p:not(.home-eyebrow) {
    color: rgb(77, 58, 81);
    line-height: 1.7;
}

.home-eyebrow {
    margin-bottom: 0.75rem;
    color: rgb(158, 110, 176);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-invitation {
    margin: 3rem auto 1.5rem;
    color: rgb(132, 101, 172);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.home-category-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 auto 1rem;
}

.home-category-links a {
    padding: 0.65rem 0.9rem;
    border: 1px solid rgb(158, 110, 176);
    color: rgb(132, 101, 172);
    font-weight: 700;
    text-decoration: none;
}

.home-category-links a:hover,
.home-category-links a:focus-visible {
    background-color: rgb(248, 224, 237);
}

.birthday-cake-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
    max-width: 900px;
    margin: 1.5rem auto;
}

.birthday-cake-grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.birthday-content {
    color: rgb(132, 101, 172);
}

.birthday-hero,
.birthday-section,
.birthday-cupcake-section {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: 900px;
    margin: 4rem auto;
}

.birthday-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    min-height: 540px;
}

.birthday-hero-copy {
    padding: 2rem 1.25rem 2rem 0;
}

.birthday-hero h1 {
    margin: 0 0 1rem;
    text-align: left;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
}

.birthday-eyebrow {
    margin-bottom: 0.75rem;
    color: rgb(158, 110, 176) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.birthday-hero-copy > p:not(.birthday-eyebrow),
.birthday-section-copy p,
.birthday-inquiry p {
    color: rgb(77, 58, 81);
    line-height: 1.7;
}

.birthday-hero-image,
.birthday-section-image,
.birthday-supporting-images img,
.birthday-cupcake-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid rgb(132, 101, 172);
    box-shadow: 0 8px 24px rgb(76 42 82 / 12%);
}

.birthday-hero-image {
    max-height: 650px;
    object-fit: cover;
}

.birthday-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.birthday-section-reverse > .birthday-section-image {
    order: 2;
}

.birthday-section h2,
.birthday-inquiry h2 {
    margin-top: 0;
    text-align: left;
}

.birthday-supporting-images {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    max-width: 180px;
    margin-top: 1.5rem;
}

.birthday-supporting-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 360px;
}

.birthday-supporting-images img {
    height: 150px;
    object-fit: cover;
}

.birthday-adult-cake-pair img {
    object-fit: contain;
    object-position: center;
    background-color: rgb(255, 250, 252);
}

.birthday-cupcake-section {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    padding: 3rem 0;
}

.birthday-cupcake-gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: repeat(2, 150px);
    gap: 1rem;
}

.birthday-cupcake-gallery img {
    height: 100%;
    object-fit: cover;
}

.birthday-cupcake-gallery img:first-child {
    grid-row: 1 / -1;
}

.birthday-inquiry {
    max-width: 700px;
    margin: 5rem auto 2rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid rgb(77, 58, 81 / 50%);
    border-bottom: 1px solid rgb(77, 58, 81 / 50%);
    text-align: center;
}

.birthday-inquiry h2 {
    text-align: center;
}

.wedding-dessert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
    max-width: 900px;
    margin: 1.5rem auto;
}

.wedding-dessert-grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.wedding-hero,
.wedding-section,
.wedding-dessert-feature {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: 900px;
    margin: 4rem auto;
}

.wedding-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(5rem, 9vw, 7rem);
    min-height: 540px;
}

.wedding-hero-copy {
    padding: 2rem 1.25rem 2rem 0;
}

.wedding-hero h1 {
    margin: 0 0 1rem;
    text-align: left;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
}

.wedding-hero-copy > p:not(.wedding-eyebrow),
.wedding-section p,
.wedding-dessert-feature p,
.wedding-inquiry p {
    color: rgb(77, 58, 81);
    line-height: 1.7;
}

.wedding-eyebrow {
    margin-bottom: 0.75rem;
    color: rgb(158, 110, 176) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wedding-hero-image,
.wedding-section > img,
.wedding-dessert-images img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid rgb(158, 110, 176);
    box-shadow: 0 8px 24px rgb(76 42 82 / 14%);
}

.wedding-hero-image {
    max-height: 650px;
    object-fit: cover;
    object-position: center;
}

.wedding-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.wedding-section-reverse > img {
    order: 2;
}

.wedding-section h2,
.wedding-dessert-feature h2,
.wedding-inquiry h2 {
    margin-top: 0;
    text-align: left;
}

.wedding-dessert-feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    padding: 3rem 0;
}

.wedding-dessert-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wedding-dessert-images img {
    height: 260px;
    object-fit: cover;
}

.wedding-inquiry {
    max-width: 700px;
    margin: 5rem auto 2rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid rgb(158 110 176 / 45%);
    border-bottom: 1px solid rgb(158 110 176 / 45%);
    text-align: center;
}

.wedding-inquiry h2 {
    text-align: center;
}

.cookies-feature-photo {
    display: block;
    width: 100%;
    height: auto;
    margin: 3rem auto 0;
    border: 2px solid rgb(158, 110, 176);
}

.cookies-content h3 {
    color: rgb(132, 101, 172);
}

.cookies-content p {
    color: black;
}

.hero-image-wrapper {
    position: relative;
    box-sizing: border-box;
    margin: 2rem auto 0;
    border: 2px solid rgba(0, 0, 0, 0.35);
    animation: hero-reveal 0.8s ease-out both;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-hotspots {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.hero-hotspots a {
    cursor: pointer;
}

.hero-hotspot-shape {
    fill: transparent;
    stroke: transparent;
    cursor: pointer;
}

@keyframes hero-reveal {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-wrapper {
        animation: none;
        opacity: 1;
    }
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto;
}

.about-content > h1 {
    margin-bottom: 0.5rem;
}

.about-intro-heading {
    margin: 0;
}

.about-content p {
    color: black;
}

.about-story-copy h2 {
    text-align: left;
}

.about-family-photo {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 3px solid rgb(158, 110, 176);
    box-shadow: 0 0 14px 3px rgb(158 110 176 / 28%);
    transform: rotate(-3deg);
}

.sisters-heading {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: left !important;
}

.sister-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.sister-profile img {
    flex: 0 0 200px;
    width: 200px;
    height: auto;
}

.sister-profile h3 {
    margin-top: 0;
}

@media (max-width: 650px) {
    .birthday-cake-grid {
        grid-template-columns: 1fr;
    }

    .birthday-hero,
    .birthday-section,
    .birthday-cupcake-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem auto;
    }

    .birthday-hero {
        min-height: 0;
    }

    .birthday-hero-copy {
        padding: 0;
    }

    .birthday-hero h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .birthday-section-reverse > .birthday-section-image {
        order: 0;
    }

    .birthday-cupcake-section {
        padding: 1rem 0;
    }

    .birthday-cupcake-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 140px;
    }

    .birthday-supporting-pair {
        max-width: none;
    }

    .wedding-dessert-grid {
        grid-template-columns: 1fr;
    }

    .wedding-hero,
    .wedding-section,
    .wedding-dessert-feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem auto;
    }

    .wedding-hero {
        min-height: 0;
    }

    .wedding-hero-copy {
        padding: 0;
    }

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

    .wedding-section-reverse > img {
        order: 0;
    }

    .wedding-dessert-feature {
        padding: 1rem 0;
    }

    .wedding-dessert-images {
        grid-template-columns: 1fr;
    }

    .wedding-dessert-images img {
        height: auto;
    }

    .wedding-inquiry {
        margin-top: 3rem;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-family-photo {
        transform: rotate(-2deg);
    }

    .about-story-copy h2 {
        text-align: center;
    }

    .sisters-heading {
        text-align: center !important;
    }

    .sister-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .sister-profile img {
        flex-basis: auto;
    }
}

.sister-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    border: 4px solid rgb(158, 110, 176);
    border-radius: 50%;
    overflow: hidden;
}

.sister-photo img {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.01);
    transform-origin: center top;
}

@media (max-width: 650px) {
    .sister-photo {
        flex-basis: 220px;
    }
}