/* Cream
#F9F8F6

Rose Quartz
#EFE9E3

Dusty Rose
#D9CFC7

Coral
#C9B59C


#C9B59C*/


@font-face {
    font-family: "WorkSans-Regular";
    src: url("/fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Lora";
    src: url("/fonts/Lora-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
}

:root {
    --color-bg: #F9F8F6;
    --color-section-light: #cb77344f;
    --color-neutral-1: #EFE9E3;
    --color-neutral-2: #D9CFC7;
    --color-accent: #C9B59C;
    --color-text: rgba(0, 0, 0, 0.8);
    --color-ink: #000000;
    --color-ink-muted: #555555;
    --color-white: #ffffff;
    --color-border-muted: #cccccc;
    --color-overlay-light: #00000008;
    --color-dropdown-bg: #f9f9f9;
    --color-dropdown-shadow: rgba(0, 0, 0, 0.2);
    --color-shadow-inset: rgba(0, 0, 0, 0.075);
    --color-pink-emphasis: #fff7f1;
    --color-newsletter-bg: pink;
    --color-newsletter-accent: blueviolet;
    --color-newsletter-accent-hover: rgb(163, 100, 221);
    --color-button-text: #5a0c24;
    --color-contact-emphasis: #8B5A3C;
    --color-shape-strong: #9e77577d;
    --color-shape-soft: #aa8f7a40;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --shadow-soft: 7px 7px 10px 0px rgba(0, 0, 0, 0.1);
    --shadow-pressed: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

.short-delimiter {
    width: 100px;
    border-top: solid var(--color-accent) 5px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background: var(--color-bg);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    min-height: 100%;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    font-family: "WorkSans-Regular";
    color: var(--color-text);
    /* background: url("assets/fabric_1.webp"); */
    -webkit-overflow-scrolling: touch;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--color-white);
    margin: 0;
    font: inherit;
    color: currentColor;
    min-width: 24px;
    height: 24px;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 1.5px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 2em 2em var(--color-ink);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.custom-shape-divider-top-1700123309 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-1700123309 svg {
    position: relative;
    display: block;
    width: calc(300% + 1.3px);
    height: 345px;
}

.custom-shape-divider-top-1700123309 .shape-fill {
    fill: var(--color-shape-strong);
}

.about-me__wrapper {
    position: relative;
    background: var(--color-section-light);
    padding: 0;
}

.custom-shape-divider-bottom-1700123553 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1700123553 svg {
    position: relative;
    display: block;
    width: calc(216% + 1.3px);
    height: 200px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1700123553 .shape-fill {
    fill: var(--color-shape-strong);
}


/* .background-wrapper {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: url('assets/bogdanow-21_crop0_resized.jpg');
    background-size: cover;

}

@media only screen and (max-width: 1000px) {
    .background-wrapper {
        background: url('assets/bogdanow-21_crop0_resized.jpg') -240px center;
        background-size: cover;
    }
} */

/* //@media only screen (min-width: 1001px) and (max-width: 1500px) {
//    .background-wrapper {
//        background: url('assets/bogdanow-21_crop0_resized.jpg') -30vw center;
//        background-size: cover;
//    }
//} */

.landing-photo {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 500px;
}


.landing-photo-photo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.landing-photo-photo .landing-photo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left;
}

.landing-photo-photo .landing-photo__img--mobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    .landing-photo-photo .landing-photo__img--desktop {
        display: none;
    }
    .landing-photo-photo .landing-photo__img--mobile {
        display: block;
    }
}

.landing-photo-text {
    position: absolute;
    top: 2rem;
    right: 3rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.landing-photo-text>h1 {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.12rem;
    margin: 0;
}

.landing-photo-text>h2 {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.15rem;
    margin: 0 0 1.8rem 0;
}

.landing-photo-text>.short-delimiter {
    border-color: var(--color-white);
    margin: 1.2rem 0;
    width: 70px;
}

.landing-photo-text>button {
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-photo-text>button:hover {
    background: var(--color-white);
    color: var(--color-ink);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 1rem;
    grid-template-areas: "logo menu";
}

.content {
    grid-area: content;
    /* width: 100%;
    max-width: 1000px; */
}

.header {
    padding: 0;
    height: 100px;
}

.header-content {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 4fr;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.logo {
    display: block;
    padding: 0.4rem;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    background-color: var(--color-bg);
    align-self: flex-start;
}

ul {
    list-style-type: none;
}

.socials {
    display: flex;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 60px;
}

.menu {
    font-family: WorkSans-Regular;
    display: flex;
    justify-content: flex-end;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
    color: var(--color-ink);
    font-weight: 500;
}

.menu li {
    display: flex;
    align-items: center;
}

.menu li a {
    display: inline-flex;
    align-items: center;
}

/* Hamburger: hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--color-ink);
    z-index: 1000;
}
.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

a {
    color: var(--color-ink);
    text-decoration: none;
}


/* Intro header - full width */
.intro-header {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro-heading {
    font-family: Lora, serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 2rem 0;
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    display: inline-block;
}

.intro-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0.5rem 0 0.5rem 1.8rem;
    color: var(--color-text);
    position: relative;
}

.intro-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-contact-emphasis);
    font-size: 1.2rem;
}

.intro-highlight {
    font-family: Lora, serif;
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-contact-emphasis);
    margin: 2rem 0 0 0;
}

/* Intro with photo section - 50/50 layout */
.intro-with-photo {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: stretch;
    padding: 3rem;
    max-width: 100%;
    margin: 0;
}

.intro-content {
    flex: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-bio {
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text);
    max-width: 500px;
}

.intro-bio p {
    margin: 0 0 1.2rem 0;
}

.intro-bio p:last-child {
    margin-bottom: 0;
}

.intro-bio strong {
    color: var(--color-ink);
}

.intro-photo {
    flex: 1;
    min-height: 520px;
    padding: 1rem;
}

.intro-photo .img-slot,
.intro-photo .picture-from-settings {
    height: 100%;
    min-height: 480px;
}

.intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
}

/* About me section (for other pages) */
.about-me {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background: var(--color-section-light);
    padding: 4rem 2rem;
}

.about-me-photo {
    flex: 0 0 auto;
}

.about-me-photo img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    display: block;
}

.about-me-text {
    flex: 1;
    max-width: 600px;
    font-family: Lora;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-me-text p {
    margin: 0 0 1.2rem 0;
}

.btn-primary {
    display: inline-block;
    margin-top: 2rem;
    padding: 14px 32px;
    background: transparent;
    color: var(--color-contact-emphasis);
    font-family: Lora, serif;
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02rem;
    text-decoration: none;
    border: 1px solid var(--color-contact-emphasis);
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-contact-emphasis);
    color: var(--color-white);
}

.about-header {
    font-size: 3rem;
    color: var(--color-ink);
    margin: 0 0 2rem 0;
}


.about-me-text {
    padding: 3rem 2rem;
    width: 535px;
    max-width: 100%;
    font-family: Lora;
    font-size: 1.3rem;
    grid-area: text;
    align-self: center;
    z-index: 1;
}

.about-me div {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 735px;
    max-height: 750px;
    height: 90%;
    width: 90%;
}

.about-header-wrapper {
    margin: auto;
    flex-direction: column;
}

.about-me-delimiter {
    padding-bottom: 2rem;
    width: 100px !important;
}

.about-me div img {
    max-width: 735px;
    max-height: 750px;
    height: 90%;
    width: 90%;
    object-fit: contain;
    z-index: 1;
}


.bold {
    font-weight: 600;
}

.text {
    font-size: 1.2rem;
    color: var(--color-ink);
    font-family: "Lora", serif;
}

.text-biggest-emphasis {
    font-size: 3rem;
}

.text-big-emphasis {
    font-weight: 300;
    font-size: 1.6rem;
}

.text-pink-emphasis {
    color: var(--color-pink-emphasis);
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: ". content .";
    position: relative;
}

.newsletter .content {
    background-color: var(--color-newsletter-bg);
    padding: 30px;
    grid-area: content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image text";
    gap: 15px;
}

.newsletter .content .image {
    grid-area: image;
}

.newsletter .content .text {
    grid-area: text;
}

.newsletter .text .email-input-consent-wrapper {
    display: grid;
    grid-template-rows: 30px 100%;
    gap: 15px;
    padding: 20px;
}

.newsletter .text .email-input-consent-wrapper .consent-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter .text .email-input-consent-wrapper .consent-wrapper .checkbox {
    flex-grow: 60px;
    color: var(--color-newsletter-accent);
    background-color: var(--color-newsletter-bg)
}


.newsletter .text .email-input-consent-wrapper .email-input-wrapper {
    display: flex;
    justify-content: center;
}

.newsletter .text .email-input-consent-wrapper .email-input-wrapper input {
    border: 0;
    outline: solid 2px var(--color-newsletter-accent);
    width: 240px;
    background: url(assets/mail.svg) no-repeat scroll 3px;
    padding-left: 30px;
}

.newsletter .text .email-input-consent-wrapper .email-input-wrapper button {
    background: var(--color-newsletter-accent);
    outline: solid 2px var(--color-newsletter-accent);
    border: 0;
    cursor: pointer;
}

.newsletter .text .email-input-consent-wrapper .email-input-wrapper button:hover {
    background: var(--color-newsletter-accent-hover);
    outline: solid 2px var(--color-newsletter-accent);
    border: 0;
    cursor: pointer;
}

.custom-shape-divider-top-1696155936 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1696155936 svg {
    position: relative;
    display: block;
    width: calc(300% + 1.3px);
    height: 225px;
}

.custom-shape-divider-top-1696155936 .shape-fill {
    fill: var(--color-shape-soft);
}

.footer {
    display: grid;
    height: 200px;
}

.footer .divider {
    width: 70%;
    margin: auto;
    border-top: 1.5px solid var(--color-ink);
}

.contact-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: WorkSans-Regular;
    padding-bottom: 2rem;
    /* background: #00000060; */
}

.contact-wrapper>.short-delimiter {
    padding-bottom: 3rem;
}

.contact-header {
    font-size: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-data-city {
    font-size: 1.6rem;
    align-self: center;
    margin: 0;
}

.contact-data-phone,
.contact-data-phone>a {
    color: var(--color-contact-emphasis);
    font-size: 1.4rem;
    align-self: center;
}

.contact-data-mail,
.contact-data-mail>a,
.contact-data-facebook,
.contact-data-facebook>a {
    margin: 0;
    color: var(--color-contact-emphasis);
    font-size: 1.5rem;
}

.contact-form {
    display: grid;
    width: 30rem;
    max-width: 100%;
    /* grid-template-columns: 1fr 1fr; */
}

.contact-form>form>input,
.contact-form>form>textarea {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.42857143;
    margin: 0.2rem 0;
    color: var(--color-ink-muted);
    background-color: var(--color-white);
    background-image: none;
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-sm);
    -webkit-box-shadow: inset 0 1px 1px var(--color-shadow-inset);
    box-shadow: inset 0 1px 1px var(--color-shadow-inset);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.contact-form>form>textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    border-color: var(--color-accent);
    color: var(--color-button-text);
    width: 80%;
    height: 34px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    background-color: var(--color-accent);
    opacity: 0.9;
    border: 2px solid;
    border-radius: var(--radius-xs);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
}

.contact-form>form>button {
    width: 100%;
}

button:enabled:active {
    transform: scale(0.98);
    /* Scaling button to 0.98 to its original size */
    box-shadow: var(--shadow-pressed);
    /* Lowering the shadow */
}

button:disabled {
    opacity: 0.7;
}

/* .contact-data */


@media only screen and (max-width: 1000px) {
    html {
        font-size: 62.5%;
    }

    .landing-photo {
        height: calc(100vh - 60px);
        min-height: 400px;
    }

    .landing-photo-text {
        top: 1.5rem;
        right: 1.5rem;
    }

    .landing-photo-text>h1 {
        font-size: 2.2rem;
    }

    .landing-photo-text>h2 {
        font-size: 1.1rem;
    }

    .landing-photo-text>button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .header {
        height: 60px;
        background: var(--color-overlay-light);
    }

    .header-content {
        padding: 0.5rem;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
    }

    .logo {
        border-radius: 50%;
        width: 48px;
        height: 48px;
        padding: 6px;
    }

    .menu {
        justify-content: center;
        gap: 0.75rem 1.25rem;
    }

    .intro-header {
        padding: 2.5rem 1.5rem 2rem;
    }

    .intro-heading {
        font-size: 1.8rem;
    }

    .intro-list li {
        font-size: 1rem;
    }

    .intro-highlight {
        font-size: 1.15rem;
    }

    .intro-with-photo {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .intro-photo {
        flex: none;
        width: 100%;
        min-height: 340px;
        padding: 1rem;
    }

    .intro-photo .img-slot,
    .intro-photo .picture-from-settings {
        min-height: 300px;
    }

    .intro-photo img {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: contain;
        border-radius: var(--radius-lg);
    }

    .intro-content {
        max-width: 100%;
        padding: 1rem 0;
    }

    .intro-bio {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .about-me {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .about-me-photo img {
        max-width: 300px;
    }

    .about-me-text {
        max-width: 100%;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 700px) {
    .custom-shape-divider-top-1700123309 {
        display: none;
    }

    .header {
        position: relative;
    }

    .header-content {
        padding: 0.5rem 1rem;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: start;
        gap: 0.75rem;
    }

    .logo {
        align-self: center;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
    }

    .header-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--color-bg);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 998;
        padding: 0.5rem 0 1rem 0;
    }

    body.menu-open .header-nav {
        display: block;
    }

    body.menu-open .menu-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.menu-open .menu-toggle__bar:nth-child(2) {
        opacity: 0;
    }
    body.menu-open .menu-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .menu-toggle__bar {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .menu {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .menu li {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .menu li:last-child {
        border-bottom: none;
    }

    .menu li a {
        display: block;
        padding: 0.75rem 1rem;
        min-height: 44px;
        line-height: 1.4;
        text-align: left;
        -webkit-tap-highlight-color: transparent;
    }

    .landing-photo {
        grid-template-columns: 1fr;
    }

    .landing-photo-text {
        padding: 2rem;
    }

    .contact-header {
        font-size: 2rem;
        text-align: center;
    }

    .contact-data-city,
    .contact-data-phone,
    .contact-data-mail,
    .contact-data-facebook {
        text-align: center;
    }

    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        padding: 0.5rem 0;
    }
}

.dropdown {
    position: relative;
    display: flex;
    justify-content: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 20px;
    background-color: var(--color-dropdown-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px var(--color-dropdown-shadow);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.dropdown:focus-within .dropdown-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.dropdown > a {
    cursor: pointer;
}

/* Portfolio Preview Section */
.portfolio-preview {
    background: var(--color-bg);
    padding: 4rem 2rem;
    text-align: center;
}

.portfolio-preview__photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}

.portfolio-preview__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.portfolio-preview__photo .img-slot {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.portfolio-preview__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-preview__photo .img-slot img {
    object-fit: contain;
}

.portfolio-preview__photo:hover img {
    transform: scale(1.05);
}

.portfolio-preview__btn {
    display: inline-block;
    font-family: Lora, serif;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.05rem;
    color: var(--color-contact-emphasis);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-contact-emphasis);
    transition: all 0.3s ease;
}

.portfolio-preview__btn:hover {
    background: var(--color-contact-emphasis);
    color: var(--color-white);
}

@media only screen and (max-width: 900px) {
    .portfolio-preview {
        padding: 2rem 1rem;
    }

    .portfolio-preview__photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .portfolio-preview__btn {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }
}

/* Portfolio Page */
.portfolio-page {
    background: var(--color-section-light);
    min-height: 100vh;
}

.portfolio-page__header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
}

.portfolio-page__title {
    font-family: "DM Serif Display", "Lora", serif;
    font-size: 4.5rem;
    letter-spacing: 0;
    margin: 0;
    text-transform: none;
    color: var(--color-ink);
    line-height: 1.1;
}

.portfolio-page__title { font-weight: 400; }

.portfolio-page__gallery {
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-page__column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-page__photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--color-neutral-1);
}

/* picture-from-settings fills the cell; contain respects aspect ratio so pan/zoom framing is consistent on all screen sizes */
.portfolio-page__photo .picture-from-settings {
    position: absolute;
    inset: 0;
}

.portfolio-page__photo .picture-from-settings img,
.portfolio-page__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

/* No hover transform so pan/zoom from pan_zoom_settings is preserved */
.picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Inline gallery: one image + prev/next arrows, cycles through assets/nowe */
.inline-gallery {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.picture-from-settings {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
.picture-from-settings__img,
.picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.picture-from-settings__reset {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
}

.gallery-reset {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.9;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
.gallery-reset:hover { opacity: 1; }

/* Undo button: fixed top-left */
.gallery-undo {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}
.gallery-undo:hover { opacity: 1; }
.gallery-undo:disabled { opacity: 0.5; cursor: not-allowed; }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #333;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.9;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.gallery-arrow:hover { opacity: 1; }
.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }

/* Draggable gallery image and drop target */
.inline-gallery .gallery-img[draggable="true"] { cursor: grab; }
.inline-gallery .gallery-img[draggable="true"]:active { cursor: grabbing; }
.inline-gallery.gallery-drag-over { outline: 2px dashed var(--color-contact-emphasis, #8B5A3C); outline-offset: 4px; }

/* Expandable carousel overlay */
.gallery-carousel-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-carousel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}
.gallery-carousel-panel {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.gallery-carousel-preview {
    min-height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.gallery-carousel-preview img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}
.gallery-carousel-hint {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    color: var(--color-ink-muted, #555);
}
.gallery-carousel-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}
.gallery-carousel-thumb {
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.gallery-carousel-thumb img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
}
.gallery-carousel-thumb.selected { border-color: var(--color-contact-emphasis); }
.gallery-carousel-thumb:hover { border-color: var(--color-accent); }
.gallery-carousel-done {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-contact-emphasis);
    background: var(--color-contact-emphasis);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.gallery-carousel-done:hover { filter: brightness(1.1); }

/* Varied photo heights */
.portfolio-page__photo--tall {
    aspect-ratio: 3 / 5;
}

.portfolio-page__photo--half-tall {
    aspect-ratio: 6 / 5;
}

.portfolio-page__photo--medium {
    aspect-ratio: 3 / 4;
}

.portfolio-page__photo--short {
    aspect-ratio: 4 / 3;
}

@media only screen and (max-width: 900px) {
    .portfolio-page__title {
        font-size: 3.3rem;
        letter-spacing: 0;
    }

    /* On phone: 1 column, order = entry1 col1 → entry1 col2 → entry1 col3 → entry2 col1 → … */
    .portfolio-page__gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(0, auto);
        gap: 0.5rem;
        padding: 0 0.5rem 2rem 0.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .portfolio-page__column {
        display: contents;
    }

    .portfolio-page__column .portfolio-page__photo {
        min-height: 0;
    }

    /* Col1: rows 1, 4, 7, … (entry k → row (k-1)*3+1) */
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(1) { grid-area: 1 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(2) { grid-area: 4 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(3) { grid-area: 7 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(4) { grid-area: 10 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(5) { grid-area: 13 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(6) { grid-area: 16 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(7) { grid-area: 19 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(8) { grid-area: 22 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(9) { grid-area: 25 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(10) { grid-area: 28 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(11) { grid-area: 31 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(12) { grid-area: 34 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(13) { grid-area: 37 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(14) { grid-area: 40 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(15) { grid-area: 43 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(16) { grid-area: 46 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(17) { grid-area: 49 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(18) { grid-area: 52 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(19) { grid-area: 55 / 1; }
    .portfolio-page__column:nth-child(1) .portfolio-page__photo:nth-child(20) { grid-area: 58 / 1; }
    /* Col2: rows 2, 5, 8, … */
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(1) { grid-area: 2 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(2) { grid-area: 5 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(3) { grid-area: 8 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(4) { grid-area: 11 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(5) { grid-area: 14 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(6) { grid-area: 17 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(7) { grid-area: 20 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(8) { grid-area: 23 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(9) { grid-area: 26 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(10) { grid-area: 29 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(11) { grid-area: 32 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(12) { grid-area: 35 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(13) { grid-area: 38 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(14) { grid-area: 41 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(15) { grid-area: 44 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(16) { grid-area: 47 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(17) { grid-area: 50 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(18) { grid-area: 53 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(19) { grid-area: 56 / 1; }
    .portfolio-page__column:nth-child(2) .portfolio-page__photo:nth-child(20) { grid-area: 59 / 1; }
    /* Col3: rows 3, 6, 9, … */
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(1) { grid-area: 3 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(2) { grid-area: 6 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(3) { grid-area: 9 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(4) { grid-area: 12 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(5) { grid-area: 15 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(6) { grid-area: 18 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(7) { grid-area: 21 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(8) { grid-area: 24 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(9) { grid-area: 27 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(10) { grid-area: 30 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(11) { grid-area: 33 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(12) { grid-area: 36 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(13) { grid-area: 39 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(14) { grid-area: 42 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(15) { grid-area: 45 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(16) { grid-area: 48 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(17) { grid-area: 51 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(18) { grid-area: 54 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(19) { grid-area: 57 / 1; }
    .portfolio-page__column:nth-child(3) .portfolio-page__photo:nth-child(20) { grid-area: 60 / 1; }

    /* Uniform cell size so every gap is identical */
    .portfolio-page__photo--tall,
    .portfolio-page__photo--half-tall,
    .portfolio-page__photo--medium,
    .portfolio-page__photo--short {
        aspect-ratio: 3 / 4;
    }

    /* Fill every cell on mobile: no letterboxing, no pan/zoom = no blank spaces, only even gaps */
    .portfolio-page__photo .picture-from-settings img,
    .portfolio-page__photo .picture-from-settings__img,
    .portfolio-page__photo img {
        object-fit: cover !important;
        object-position: center center;
    }
}

/* ========================================
   Personal Branding Page
   ======================================== */

.branding-page {
    background: var(--color-bg);
    min-height: 100vh;
}

/* Hero Section */
.branding-hero {
    background: var(--color-section-light);
    padding: 5rem 2rem 4rem 2rem;
    text-align: center;
}

.branding-hero__title {
    font-family: "DM Serif Display", "Lora", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-ink);
    margin: 0 0 0.5rem 0;
    line-height: 1.15;
}

.branding-hero__subtitle {
    font-family: "WorkSans-Regular";
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.15rem;
    color: var(--color-ink-muted);
    margin: 0;
    text-transform: uppercase;
}

/* General Section Styling */
.branding-section {
    padding: 4rem 15vw;
}

.branding-section__heading {
    font-family: "Lora", serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.branding-section__subheading {
    font-family: "Lora", serif;
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-contact-emphasis);
    margin: 2rem 0 0 0;
    text-align: center;
}

.branding-section__text {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 1.2rem 0;
}

.branding-section__text:last-of-type {
    margin-bottom: 0;
}

/* About You Section */
.branding-about-you {
    background: var(--color-bg);
    text-align: center;
}

/* Imagine Section */
.branding-imagine {
    background: var(--color-neutral-1);
}

/* What Makes Me Stand Out Section */
.branding-standout {
    background: var(--color-bg);
}

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

.branding-standout__list li {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    padding: 1rem 0 1rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--color-neutral-2);
}

.branding-standout__list li:last-child {
    border-bottom: none;
}

.branding-standout__list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-contact-emphasis);
    font-size: 0.9rem;
}

/* Packages Section */
.branding-packages {
    background: var(--color-section-light);
}

.branding-packages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.branding-package {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.branding-package--featured {
    background: var(--color-ink);
    color: var(--color-white);
    transform: scale(1.05);
}

.branding-package__name {
    font-family: "Lora", serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin: 0 0 1.5rem 0;
    color: var(--color-ink);
}

.branding-package--featured .branding-package__name {
    color: var(--color-white);
}

.branding-package__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.branding-package__features li {
    font-family: "WorkSans-Regular";
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-neutral-2);
    color: var(--color-text);
}

.branding-package--featured .branding-package__features li {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.branding-package__features li:last-child {
    border-bottom: none;
}

.branding-package__price {
    font-family: "DM Serif Display", "Lora", serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-contact-emphasis);
    margin-bottom: 1.5rem;
}

.branding-package--featured .branding-package__price {
    color: var(--color-white);
}

.branding-package__btn {
    display: inline-block;
    font-family: "WorkSans-Regular";
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--color-contact-emphasis);
    color: var(--color-contact-emphasis);
    background: transparent;
    transition: all 0.3s ease;
}

.branding-package__btn:hover {
    background: var(--color-contact-emphasis);
    color: var(--color-white);
}

.branding-package--featured .branding-package__btn {
    border-color: var(--color-white);
    color: var(--color-white);
}

.branding-package--featured .branding-package__btn:hover {
    background: var(--color-white);
    color: var(--color-ink);
}

.branding-packages__note {
    font-family: "WorkSans-Regular";
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-ink-muted);
    text-align: center;
    margin: 0;
}

/* FAQ Section */
.branding-faq {
    background: var(--color-bg);
}

.branding-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.branding-faq__item {
    border-bottom: 1px solid var(--color-neutral-2);
    padding: 1rem 0;
}

.branding-faq__item summary {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-ink);
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branding-faq__item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--color-contact-emphasis);
    transition: transform 0.3s ease;
}

.branding-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.branding-faq__item p {
    font-family: "WorkSans-Regular";
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0.75rem 0 0.5rem 0;
    padding-right: 2rem;
}

/* Mobile Responsive */
@media only screen and (max-width: 900px) {
    .branding-hero {
        padding: 3rem 1.5rem 2.5rem 1.5rem;
    }

    .branding-hero__title {
        font-size: 2.2rem;
    }

    .branding-hero__subtitle {
        font-size: 1rem;
    }

    .branding-section {
        padding: 2.5rem 1.5rem;
    }

    .branding-section__heading {
        font-size: 1.5rem;
    }

    .branding-section__subheading {
        font-size: 1.15rem;
    }

    .branding-section__text {
        font-size: 0.95rem;
    }

    .branding-packages__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .branding-package--featured {
        transform: none;
        order: -1;
    }

    .branding-faq__item summary {
        font-size: 1rem;
    }
}

/* ========================================
   Events Page
   ======================================== */

.events-page {
    background: var(--color-bg);
    min-height: 100vh;
}

/* Hero Section */
.events-hero {
    background: var(--color-section-light);
    padding: 5rem 2rem 4rem 2rem;
    text-align: center;
}

/* Hero with full-bleed background image */
.events-hero--with-image {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 70vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.events-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.events-hero__bg .picture-from-settings {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.events-hero__bg img,
.events-hero__bg .picture-from-settings__img,
.events-hero__bg .picture-from-settings img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    object-fit: contain;
    transform-origin: center center;
    transform: translate(8px, 261px) scale(4) !important;
}

.events-hero__overlay {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 900px;
}

.events-hero--with-image .events-hero__tagline {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
}

.events-hero--with-image .events-hero__title {
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.events-hero__tagline {
    font-family: "WorkSans-Regular";
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    color: var(--color-ink-muted);
    margin: 0 0 2rem 0;
    text-transform: uppercase;
}

.events-hero__tagline em {
    font-style: italic;
    font-weight: 300;
}

.events-hero__title {
    font-family: "DM Serif Display", "Lora", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-ink);
    margin: 0;
    line-height: 1.15;
}

/* General Section Styling */
.events-section {
    padding: 4rem 15vw;
}

.events-section__heading {
    font-family: "Lora", serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.events-section__heading em {
    font-style: italic;
    font-weight: 400;
}

.events-section__subheading {
    font-family: "Lora", serif;
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-contact-emphasis);
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.events-section__text {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 1.2rem 0;
}

.events-section__text:last-of-type {
    margin-bottom: 0;
}

/* Intro Section with Background Image - full screen wide */
.events-intro {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 60vh;
    padding: 4rem 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.events-intro__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-intro__bg .picture-from-settings {
    width: 100%;
    height: 100%;
}

.events-intro__bg img,
.events-intro__bg .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.events-intro__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem 5vw;
}

.events-intro__content .events-section__heading,
.events-intro__content .events-section__text {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Intro: no side padding so bg is full width (overrides .events-section) */
.events-section.events-intro {
    padding-left: 0;
    padding-right: 0;
}

/* Not Typical Section with image */
.events-not-typical {
    background: var(--color-neutral-1);
    text-align: center;
}

.events-not-typical__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.events-not-typical__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4 / 5;
    min-height: 380px;
}

.events-not-typical__image .picture-from-settings {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-not-typical__image img,
.events-not-typical__image .picture-from-settings__img,
.events-not-typical__image .picture-from-settings img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media only screen and (min-width: 901px) {
    .events-not-typical__image img,
    .events-not-typical__image .picture-from-settings__img,
    .events-not-typical__image .picture-from-settings img {
        transform-origin: center center;
        transform: translate(0px, 0px) scale(0.870517) !important;
    }
}

.events-not-typical__content .events-section__heading {
    text-align: left;
}

.events-not-typical__content .events-section__subheading {
    text-align: left;
}

.events-not-typical__punch {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--color-ink-muted);
}

.events-not-typical__punch-sub {
    text-align: center;
    margin-top: 1rem;
}

/* Approach Section with Image on Right */
.events-approach {
    background: var(--color-bg);
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
}

.events-approach__content {
    flex: 1;
}

.events-approach__image {
    flex: 0 0 40%;
    min-height: 400px;
}

.events-approach__image .picture-from-settings {
    height: 100%;
}

.events-approach__image img,
.events-approach__image .picture-from-settings__img,
.events-approach__image .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
}

/* What Makes Me Stand Out Section */
.events-standout {
    background: var(--color-bg);
}

.events-standout__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.events-standout__list li {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    padding: 1rem 0 1rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--color-neutral-2);
}

.events-standout__list li:last-child {
    border-bottom: none;
}

.events-standout__list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-contact-emphasis);
    font-size: 0.9rem;
}

/* Process Section with Background Image */
.events-process {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.events-process__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-process__bg .picture-from-settings {
    width: 100%;
    height: 100%;
}

.events-process__bg img,
.events-process__bg .picture-from-settings__img,
.events-process__bg .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.4;
}

.events-process__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.events-process__content .events-section__heading,
.events-process__content .events-process__step-title,
.events-process__content .events-process__step-text {
    color: var(--color-ink);
}

.events-process__step {
    margin-bottom: 2.5rem;
}

.events-process__step:last-child {
    margin-bottom: 0;
}

.events-process__step-title {
    font-family: "Lora", serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 0.75rem 0;
}

.events-process__step-text {
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* Gallery Section with Background Image */
.events-gallery {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.events-gallery__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-gallery__bg .picture-from-settings {
    width: 100%;
    height: 100%;
}

.events-gallery__bg img,
.events-gallery__bg .picture-from-settings__img,
.events-gallery__bg .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.25;
}

.events-gallery__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.events-gallery__intro {
    text-align: center;
    margin-bottom: 2rem;
}

.events-gallery__sub {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--color-ink-muted);
}

/* Interactive gallery block: pan, zoom, undo, reset */
.events-gallery__interactive {
    margin-bottom: 2rem;
}

.events-gallery__viewer {
    min-height: 420px;
    aspect-ratio: 4 / 3;
    max-height: 70vh;
    background: var(--color-neutral-1);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.events-gallery__viewer .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.events-gallery__hint {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    background: var(--color-neutral-1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-ink-muted);
}

.events-gallery__hint-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.events-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.events-gallery__item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.events-gallery__item .picture-from-settings {
    height: 100%;
}

.events-gallery__item img,
.events-gallery__item .picture-from-settings__img,
.events-gallery__item .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: none;
}

/* FAQ Section */
.events-faq {
    background: var(--color-bg);
}

/* CTA Section with Background Image */
.events-cta {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.events-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.events-cta__bg .picture-from-settings {
    width: 100%;
    height: 100%;
}

.events-cta__bg img,
.events-cta__bg .picture-from-settings__img,
.events-cta__bg .picture-from-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
}

.events-cta__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
}

.events-cta__btn {
    display: inline-block;
    font-family: "WorkSans-Regular";
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.25rem 3rem;
    border: 1px solid var(--color-contact-emphasis);
    color: var(--color-contact-emphasis);
    background: transparent;
    transition: all 0.3s ease;
}

.events-cta__btn:hover {
    background: var(--color-contact-emphasis);
    color: var(--color-white);
}

.events-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.events-faq__item {
    border-bottom: 1px solid var(--color-neutral-2);
    padding: 1rem 0;
}

.events-faq__item summary {
    font-family: "Lora", serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-ink);
    cursor: pointer;
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.events-faq__item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--color-contact-emphasis);
    transition: transform 0.3s ease;
}

.events-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.events-faq__item p {
    font-family: "WorkSans-Regular";
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0.75rem 0 0.5rem 0;
    padding-right: 2rem;
}

.events-faq__item p:last-child {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media only screen and (max-width: 900px) {
    .events-hero {
        padding: 3rem 1.5rem 2.5rem 1.5rem;
    }

    .events-hero--with-image {
        min-height: 55vh;
    }

    .events-hero__overlay {
        padding: 2rem 1.5rem;
    }

    .events-hero__title {
        font-size: 2.2rem;
    }

    .events-hero__tagline {
        font-size: 0.8rem;
    }

    .events-section {
        padding: 2.5rem 1.5rem;
    }

    .events-section__heading {
        font-size: 1.5rem;
    }

    .events-section__subheading {
        font-size: 1.15rem;
    }

    .events-section__text {
        font-size: 0.95rem;
    }

    .events-not-typical__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .events-not-typical__image {
        order: -1;
    }

    .events-not-typical__image .picture-from-settings {
        min-height: 280px;
    }

    .events-not-typical__image img,
    .events-not-typical__image .picture-from-settings__img,
    .events-not-typical__image .picture-from-settings img {
        min-height: 280px;
    }

    .events-not-typical__content .events-section__heading,
    .events-not-typical__content .events-section__subheading {
        text-align: center;
    }

    .events-intro {
        min-height: 50vh;
        padding: 2.5rem 0;
    }

    .events-section.events-intro {
        padding-left: 0;
        padding-right: 0;
    }

    .events-intro__content {
        padding: 1.5rem 1.5rem;
    }

    .events-approach {
        flex-direction: column;
    }

    .events-approach__image {
        flex: 1;
        min-height: 300px;
        width: 100%;
    }

    .events-process {
        min-height: 60vh;
    }

    .events-process__content {
        padding: 1.5rem;
    }

    .events-gallery {
        min-height: 60vh;
    }

    .events-gallery__content {
        padding: 1.5rem;
    }

    .events-gallery__viewer {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .events-gallery__hint {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .events-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .events-testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .events-cta {
        min-height: 40vh;
    }

    .events-cta__content {
        padding: 2rem;
    }

    .events-cta__btn {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }

    .events-process__step {
        margin-bottom: 2rem;
    }

    .events-process__step-title {
        font-size: 1.15rem;
    }

    .events-faq__item summary {
        font-size: 1rem;
    }
}