:root {
    --ink: #2d2523;
    --muted: #73635f;

    --paper: #fffaf7;
    --paper-soft: #fff5f1;
    --soft-white: #fffdfb;
    --cream: #f9eee8;

    --rose: #9a626c;
    --rose-dark: #70434b;
    --rose-soft: #ead0d3;

    --salmon: #e99a8f;
    --salmon-dark: #ce786f;
    --salmon-light: #f6c2b9;
    --salmon-pale: #fbe3de;
    --salmon-wash: rgba(238, 164, 153, 0.12);
    --salmon-fade: rgba(238, 164, 153, 0.22);

    --line: #ead3cc;
    --line-strong: #d9b8b0;

    --card: rgba(255, 253, 251, 0.94);
    --shadow-soft: 0 16px 38px rgba(112, 67, 75, 0.08);
    --shadow-hover: 0 20px 44px rgba(112, 67, 75, 0.14);

    --image-radius: 24px;
    --max: 1160px;
}

/* Reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(246, 194, 185, 0.16),
            transparent 28rem
        ),
        radial-gradient(
            circle at 88% 22%,
            rgba(234, 208, 211, 0.14),
            transparent 32rem
        ),
        var(--paper);

    color: var(--ink);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

a {
    color: var(--rose-dark);
    text-underline-offset: 3px;
}

h1,
h2,
h3 {
    margin-top: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5.7rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.5rem;
}

/* Shared image treatment */

main img:not(.intro-heart) {
    display: block;

    border: 8px solid transparent;
    border-radius: var(--image-radius);

    background:
        linear-gradient(var(--paper), var(--paper)) padding-box,
        linear-gradient(
            145deg,
            var(--salmon) 0%,
            var(--salmon-light) 48%,
            rgba(255, 253, 249, 0.2) 100%
        ) border-box;

    box-shadow:
        0 24px 55px rgba(39, 35, 31, 0.14),
        0 10px 28px var(--salmon-fade);
}

/* Page-load animation */

.reveal {
    opacity: 0;
    transform: translateY(28px);
}

body.page-loaded .reveal {
    animation: revealText 0.9s ease-out forwards;
}

body.page-loaded .reveal-delay-1 {
    animation-delay: 0.2s;
}

body.page-loaded .reveal-delay-2 {
    animation-delay: 0.4s;
}

body.page-loaded .reveal-delay-3 {
    animation-delay: 0.6s;
}

body.page-loaded .portrait-placeholder.reveal {
    animation-name: revealPortrait;
    animation-duration: 1.1s;
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealPortrait {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */

.site-header {
    position: relative;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    width: calc(100% - 2rem);
    max-width: 1400px;
    margin: 1rem auto 0;
    padding: 1rem 2rem;

    overflow: visible;

    border: 1px solid rgba(233, 154, 143, 0.28);
    border-radius: 22px;
    background: rgba(255, 253, 251, 0.96);

    box-shadow: 0 12px 32px rgba(112, 67, 75, 0.06);
    backdrop-filter: blur(14px);
}

/* Logo */

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

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;

    width: fit-content;
    max-width: min(470px, 100%);

    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    display: block;

    width: clamp(310px, 34vw, 440px);
    max-width: 100%;
    height: auto;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    object-fit: contain;
    object-position: left center;
}

/* Main navigation */

.primary-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.primary-navigation a {
    padding: 0.55rem 0.9rem;

    border: 1px solid transparent;
    border-radius: 999px;

    color: var(--ink);
    font-size: 1.1rem;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.primary-navigation a:hover {
    border-color: var(--salmon-light);
    background: var(--salmon-pale);
    color: var(--rose-dark);

    transform: translateY(-1px);
}

.primary-navigation a.active,
.primary-navigation a[aria-current="page"] {
    border-color: var(--rose-dark);
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));
    color: #ffffff;

    box-shadow: 0 8px 18px rgba(112, 67, 75, 0.18);
}

/* Hamburger button */

.menu-toggle {
    display: none;
    flex: 0 0 auto;

    width: 44px;
    height: 44px;
    padding: 9px;

    border: 1px solid var(--salmon-light);
    border-radius: 12px;
    background: var(--paper-soft);

    color: var(--rose-dark);
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    border-radius: 999px;
    background: currentColor;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle:focus-visible {
    outline: 3px solid rgba(141, 91, 98, 0.2);
    outline-offset: 3px;
}

/* Main content */

main {
    position: relative;
    z-index: 0;

    min-height: 70vh;
}

/* Homepage hero */

.hero {
    position: relative;
    z-index: 0;

    display: block;

    max-width: var(--max);
    margin: 1.5rem auto 0;
    padding:
        clamp(2.5rem, 5vw, 4.25rem)
        2rem
        clamp(4.25rem, 7vw, 6rem);

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 253, 251, 0.96),
            rgba(251, 227, 222, 0.64)
        );

    box-shadow:
        inset 0 0 0 1px rgba(233, 154, 143, 0.18);
}

.hero::after {
    position: absolute;
    top: -8rem;
    right: -6rem;

    width: 24rem;
    height: 24rem;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(233, 154, 143, 0.24),
        rgba(246, 194, 185, 0.08) 52%,
        transparent 72%
    );

    pointer-events: none;
    content: "";
}

.hero-wide {
    display: block;
}

.hero-copy {
    position: relative;
    z-index: 1;

    max-width: 1040px;
}

.hero-copy h1 {
    max-width: 1000px;
    margin-bottom: 1.75rem;
}

.hero-copy .lead {
    max-width: 820px;

    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.7;
}

.hero-copy .actions {
    margin-top: 2.25rem;
}

.lead {
    max-width: 700px;

    color: var(--muted);
    font-size: 1.2rem;
}

/* Legacy portrait styling */

.portrait-placeholder {
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    margin-inline: auto;

    overflow: visible;

    border-radius: var(--image-radius);
    background: transparent;
}

.portrait-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;
}

/* Heart and rose icons */

.intro-heading-with-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.intro-heart {
    width: 28px;
    height: auto;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    object-fit: contain;
    flex: 0 0 auto;
    transform: translateY(2px);
}

.heading-heart-below {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-right: 0;
    margin-left: 0;

    text-align: center;
}

.heading-heart-below .intro-heart {
    display: block;
    margin-top: 0.55rem;
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;

    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 0.9rem 1.3rem;

    border: 1px solid var(--rose-dark);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));

    color: #ffffff;
    cursor: pointer;

    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 10px 24px rgba(112, 67, 75, 0.16);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    border-color: var(--salmon-dark);
    background: linear-gradient(135deg, var(--salmon-dark), var(--salmon));
    color: #ffffff;

    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(206, 120, 111, 0.24);
}

.button.secondary {
    border-color: var(--salmon);
    background: rgba(255, 253, 251, 0.74);
    color: var(--rose-dark);

    box-shadow: none;
}

.button.secondary:hover {
    border-color: var(--salmon-dark);
    background: var(--salmon-pale);
    color: var(--rose-dark);
}

/* Sections */

.section {
    max-width: var(--max);
    margin: auto;
    padding: 5rem 2rem;
}

main > .section:nth-of-type(even):not(.about-intro):not(.contact-layout) {
    border-radius: 28px;

    background: linear-gradient(
        135deg,
        rgba(255, 253, 251, 0.82),
        rgba(251, 227, 222, 0.38)
    );
}

.section.intro {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.section.intro .heading-heart-below {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;

    text-align: center;
}

.section.intro > p {
    width: 100%;
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.page-hero {
    max-width: var(--max);
    margin: 1.5rem auto 0;
    padding:
        clamp(2.5rem, 5vw, 4.25rem)
        2rem
        clamp(4.25rem, 7vw, 6rem);

    border-radius: 28px;

    background: linear-gradient(
        135deg,
        rgba(255, 253, 251, 0.94),
        rgba(246, 194, 185, 0.34)
    );

    box-shadow:
        inset 0 0 0 1px rgba(233, 154, 143, 0.16);
}

.page-hero.narrow {
    max-width: 900px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;

    margin-bottom: 2rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

/* Cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.card {
    padding: 1.7rem;

    border: 1px solid rgba(233, 154, 143, 0.32);
    border-radius: 20px;

    background: linear-gradient(
        145deg,
        var(--card),
        rgba(251, 227, 222, 0.44)
    );

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    border-color: var(--salmon);

    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card p {
    color: var(--muted);
}

/* Callout */

.callout {
    margin: 4rem auto 0;
    padding: 5rem 2rem;

    border-top: 1px solid rgba(233, 154, 143, 0.24);
    border-bottom: 1px solid rgba(233, 154, 143, 0.24);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(246, 194, 185, 0.34),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            var(--salmon-pale),
            var(--paper-soft)
        );

    text-align: center;
}

.callout p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

/* Text content */

.prose {
    max-width: 820px;
    font-size: 1.08rem;
}

.note {
    padding: 1rem;

    border-left: 4px solid var(--salmon-dark);
    border-radius: 0 14px 14px 0;

    background: linear-gradient(
        135deg,
        var(--salmon-pale),
        var(--soft-white)
    );
}

.service-description strong {
    font-weight: 700;
}

.service-description em {
    font-style: italic;
}

/* Forms */

.form-wrap {
    max-width: 760px;
}

.form-wrap.compact {
    max-width: 520px;
}

.form-card {
    display: grid;
    gap: 1.15rem;

    padding: 2rem;

    border: 1px solid rgba(233, 154, 143, 0.34);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.36)
    );

    box-shadow: var(--shadow-soft);
}

.form-card label {
    display: grid;
    gap: 0.35rem;

    font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 0.85rem;

    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255, 253, 251, 0.92);

    color: var(--ink);
    font: inherit;
}

.form-card textarea {
    resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--salmon-dark);
    outline: 3px solid rgba(233, 154, 143, 0.2);
}

.checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 0.6rem;
}

.checkbox input {
    width: auto;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* Admin formatting help */

.form-help {
    margin: -0.35rem 0 1.25rem;

    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.formatting-help {
    margin: -0.35rem 0 1.5rem;
    padding: 1rem 1.15rem;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        var(--salmon-pale),
        var(--soft-white)
    );

    color: var(--muted);
    font-size: 0.88rem;
}

.formatting-help strong {
    display: block;
    margin-bottom: 0.55rem;

    color: var(--ink);
}

.formatting-help p {
    margin: 0.35rem 0;
}

.formatting-help code {
    padding: 0.12rem 0.35rem;

    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--rose-dark);
}

.formatting-example code {
    display: block;

    margin-top: 0.4rem;
    padding: 0.65rem 0.75rem;

    white-space: normal;
}

/* Alerts */

.alert {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;

    border-radius: 12px;
}

.alert.success {
    border: 1px solid #c9ddca;
    background: #edf6ee;
}

.alert.error {
    border: 1px solid var(--salmon-light);
    background: var(--salmon-pale);
}

/* Footer */

.quiet-admin-link {
    color: inherit;
    text-decoration: none;
}

.quiet-admin-link:hover,
.quiet-admin-link:focus {
    color: inherit;
    text-decoration: none;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;

    max-width: var(--max);
    margin: 2rem auto 1rem;
    padding: 3rem 2rem;

    border: 1px solid rgba(233, 154, 143, 0.24);
    border-radius: 24px;

    background: linear-gradient(
        135deg,
        rgba(255, 253, 251, 0.94),
        rgba(251, 227, 222, 0.52)
    );

    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.site-footer small {
    grid-column: 1 / -1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.footer-brand a {
    display: inline-flex;
    width: fit-content;
    text-decoration: none;
}

.footer-logo {
    display: block;

    width: clamp(170px, 22vw, 240px);
    height: auto;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    object-fit: contain;
}

/* Tables */

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;

    border: 1px solid var(--line);
    border-collapse: collapse;
    border-radius: 18px;

    background: var(--soft-white);

    box-shadow: var(--shadow-soft);
}

th,
td {
    padding: 1rem;

    border-bottom: 1px solid var(--line);
    text-align: left;
}

/* Admin */

/* Add below the compact admin artwork heading rules in site.css. */

.admin-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-heading-actions > a:not(.button) {
    font-weight: 700;
    text-decoration: none;
}

.admin-services-section {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 2rem;
}

.admin-service-order {
    margin-left: 0.35rem;
    color: var(--muted);
    font-size: 0.88rem;
    white-space: nowrap;
}

.admin-artwork-order-section {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    border-top: 1px solid var(--line);
}

.admin-artwork-order-section .section-heading {
    align-items: center;
}

.admin-artwork-order-section .section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.artwork-order-form {
    margin: 0;
}

.artwork-order-list {
    display: grid;
    gap: 0.65rem;
}

.artwork-order-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;

    padding: 0.65rem 0.8rem;

    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft-white);

    box-shadow: var(--shadow-soft);
}

main .artwork-order-thumbnail {
    width: 64px;
    height: 52px;
    padding: 0;

    border: 0;
    border-radius: 8px;
    background: transparent;

    box-shadow: none;
    object-fit: cover;
}

.artwork-order-copy,
.artwork-order-title {
    min-width: 0;
}

.artwork-order-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.artwork-order-meta {
    overflow: hidden;

    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artwork-order-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;

    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.artwork-order-field input {
    width: 82px;
    margin: 0;
    padding: 0.48rem 0.55rem;
    text-align: center;
}

.artwork-order-field input[readonly] {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    cursor: default;
}

.artwork-order-edit-link {
    padding: 0.48rem 0.72rem;
    font-size: 0.82rem;
    line-height: 1.2;
}

.artwork-order-actions {
    margin: 0 0 1rem;
}

@media (max-width: 620px) {
    .admin-artwork-order-section .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-artwork-order-section .section-heading .button {
        align-self: flex-start;
    }

    .artwork-order-row {
        grid-template-columns: 48px minmax(0, 1fr) 64px;
        gap: 0.4rem 0.65rem;
        padding: 0.5rem 0.6rem;
    }

    main .artwork-order-thumbnail {
        grid-row: 1 / 3;

        width: 48px;
        height: 48px;
    }

    .artwork-order-field {
        grid-column: 3;
        grid-row: 1 / 3;

        align-items: stretch;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;

        padding: 0;
        border: 0;
        text-align: center;
    }

    .artwork-order-field input {
        width: 64px;
        padding: 0.38rem 0.3rem;
    }

    .artwork-order-meta {
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .artwork-order-edit-link {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;

        padding: 0.34rem 0.58rem;
        font-size: 0.76rem;
    }

    .artwork-order-actions:not([hidden]) {
        position: sticky;
        top: 0.75rem;
        z-index: 20;

        padding: 0.65rem;

        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--soft-white);

        box-shadow: var(--shadow-hover);
        backdrop-filter: blur(12px);
    }

    .artwork-order-actions .button {
        padding: 0.58rem 0.72rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 620px) {
    .admin-heading-actions {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .admin-services-section {
        max-width: none;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow: visible;
    }

    .admin-services-section table,
    .admin-services-section tbody,
    .admin-services-section tr,
    .admin-services-section td {
        display: block;
        width: 100%;
    }

    .admin-services-section table {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .admin-services-section thead {
        position: absolute;

        width: 1px;
        height: 1px;
        overflow: hidden;

        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .admin-services-section tbody {
        display: grid;
        gap: 0.85rem;
    }

    .admin-services-section tr {
        padding: 1rem;

        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--soft-white);

        box-shadow: var(--shadow-soft);
    }

    .admin-services-section td {
        padding: 0.25rem 0;
        border: 0;
    }

    .admin-services-section td:first-child {
        margin-bottom: 0.45rem;
        padding-bottom: 0.65rem;
        border-bottom: 1px solid var(--line);
    }

    .admin-services-section td:nth-child(2)::before {
        content: "Status: ";
        color: var(--muted);
        font-weight: 700;
    }

    .admin-services-section td:nth-child(3)::before {
        content: "Homepage: ";
        color: var(--muted);
        font-weight: 700;
    }

    .admin-services-section td:last-child {
        margin-top: 0.45rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--line);
    }
}


/* Compact administration dashboard. */

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;

    max-width: var(--max);
    margin: 1.25rem auto 0;
    padding: 0.7rem 2rem;

    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.admin-toolbar strong {
    color: var(--ink);
}

.admin-toolbar a {
    font-weight: 700;
}

.admin-dashboard-section {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
}

.admin-dashboard-section > h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.admin-dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-settings-section {
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-toolbar {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery pagination */

.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-pagination[hidden] {
    display: none;
}

.gallery-pagination .button {
    margin: 0;
}

.gallery-pagination .button[disabled] {
    opacity: 0.65;
    cursor: default;
}

.gallery-pagination #gallery-page-status {
    min-width: 7rem;

    color: var(--rose-dark);
    text-align: center;
    font-weight: 700;
}

@media (max-width: 480px) {
    .gallery-pagination {
        gap: 0.65rem;
    }

    .gallery-pagination .button {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
}





.admin-grid .linked {
    display: flex;
    flex-direction: column;

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

.admin-grid strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
}

.inquiry-list {
    display: grid;
    gap: 1rem;
}

.unread {
    border-left: 5px solid var(--rose);
}

/* Compact artwork administration page. */

.admin-artwork-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;

    max-width: var(--max);
    margin: 1.25rem auto 0;
    padding: 1.25rem 2rem;

    border-bottom: 1px solid var(--line);
}

.admin-artwork-heading h1 {
    margin-bottom: 0.35rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.admin-artwork-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-artwork-heading > a {
    flex: 0 0 auto;
    font-weight: 700;
    text-decoration: none;
}

.admin-artwork-form-section {
    padding-top: 2rem;
}

.artwork-danger-zone {
    max-width: 520px;
    margin-top: 1.5rem;
    padding: 1.25rem;
    gap: 0.75rem;

    border-color: rgba(159, 66, 60, 0.45);
    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(159, 66, 60, 0.08)
    );
}

.artwork-danger-zone h2 {
    margin: 0;
    font-size: 1.4rem;
}

.artwork-danger-zone p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.artwork-danger-zone .button {
    width: fit-content;
    margin-top: 0.25rem;
}

:root[data-theme="dark"] .artwork-danger-zone {
    border-color: rgba(196, 90, 82, 0.55);
    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(159, 66, 60, 0.14)
    );
}

@media (max-width: 620px) {
    .admin-artwork-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }
}







/* Inquires */

.inquiry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;

    margin-top: 1.25rem;
}

.inquiry-actions form {
    margin: 0;
}

.small-button {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
}

.button.danger {
    border-color: #9f423c;
    background: linear-gradient(135deg, #9f423c, #c45a52);
    color: #ffffff;
}

.button.danger:hover {
    border-color: #7f312d;
    background: linear-gradient(135deg, #7f312d, #b94d45);
    color: #ffffff;
}








/* Inline code */

code {
    padding: 0.15rem 0.35rem;

    border-radius: 5px;
    background: var(--cream);
}

/* About page */

.about-intro {
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.about-portrait {
    position: relative;

    width: 100%;
    max-width: 390px;
    aspect-ratio: 4 / 5;
    margin-inline: auto;

    border-radius: var(--image-radius);
}

.about-portrait::before {
    position: absolute;
    inset: -18px;
    z-index: -1;

    border-radius: 34px;

    background: radial-gradient(
        circle at center,
        rgba(238, 164, 153, 0.24) 0%,
        rgba(246, 194, 185, 0.14) 44%,
        rgba(255, 253, 249, 0) 76%
    );

    content: "";
    filter: blur(10px);
}

.about-portrait img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 18%;
}

.about-intro-copy {
    max-width: 650px;
}

.about-opening {
    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.5;
}

.about-story h2 {
    margin-top: 4rem;
}

.about-story h2:first-child {
    margin-top: 0;
}

.about-quote {
    margin: 3.5rem 0;
    padding: 2rem 2.5rem;

    border-left: 5px solid var(--salmon-dark);
    border-radius: 0 22px 22px 0;

    background: linear-gradient(
        135deg,
        var(--salmon-pale),
        var(--soft-white)
    );

    color: var(--rose-dark);

    box-shadow: 0 12px 30px rgba(112, 67, 75, 0.07);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.5;
}

/* About-page decorative rose separator. */

.about-rose-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 3rem 0;
}

.about-rose-divider .intro-heart {
    display: block;
    margin: 0;
}

@media (max-width: 520px) {
    .about-rose-divider {
        margin: 2.25rem 0;
    }
}





/* Artwork administration */

.artwork-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.artwork-admin-card {
    overflow: hidden;
    padding: 0;
}

.artwork-admin-card img {
    width: calc(100% - 1rem);
    aspect-ratio: 4 / 3;
    margin: 0.5rem;

    object-fit: cover;
}

.artwork-admin-card > div {
    padding: 1.4rem;
}

.artwork-admin-card h3 {
    margin-bottom: 0.5rem;
}

.artwork-admin-card p {
    margin: 0.25rem 0;
}

.artwork-status {
    color: var(--rose-dark) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-card small {
    color: var(--muted);
    font-weight: 400;
}

.artwork-admin-link {
    display: block;

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

.artwork-admin-link:hover {
    color: var(--ink);
}

.artwork-edit-label {
    display: inline-block;
    margin-top: 0.75rem;

    color: var(--rose-dark);
    font-weight: 700;
}

/* Homepage lifestyle image */

.home-story-image {
    position: relative;

    max-width: 1020px;
    min-height: 520px;
    margin: 1rem auto 5rem;

    overflow: visible;

    border-radius: var(--image-radius);
}

.home-story-image::before {
    position: absolute;
    inset: -18px;
    z-index: -1;

    border-radius: 34px;

    background: radial-gradient(
        circle at center,
        rgba(238, 164, 153, 0.22) 0%,
        rgba(246, 194, 185, 0.12) 46%,
        rgba(255, 253, 249, 0) 78%
    );

    content: "";
    filter: blur(12px);
}

.home-story-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;

    object-fit: cover;
    object-position: center 42%;
}

.home-story-image::after {
    display: none;
}

/* Contact page */

#contact-form {
    scroll-margin-top: 2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-photo-column {
    position: sticky;
    top: 2rem;
}

.contact-photo {
    position: relative;

    overflow: visible;

    border-radius: var(--image-radius);
    background: transparent;
}

.contact-photo::before {
    position: absolute;
    inset: -16px;
    z-index: -1;

    border-radius: 32px;

    background: radial-gradient(
        circle at center,
        rgba(238, 164, 153, 0.22) 0%,
        rgba(246, 194, 185, 0.12) 44%,
        rgba(255, 253, 249, 0) 76%
    );

    content: "";
    filter: blur(10px);
}

.contact-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center top;
}

.contact-photo-copy {
    margin-top: 2rem;
}

.contact-photo-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-photo-copy p:last-child {
    color: var(--muted);
}

.contact-form-column {
    min-width: 0;
}

.contact-form-column .form-card {
    width: 100%;
}

/* Select clients */

.clients-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;

    color: var(--muted);
    font-size: 1.08rem;
}

.client-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.34)
    );

    box-shadow: var(--shadow-soft);
}

.client-name {
    padding: 0.9rem 1.1rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client-name:nth-child(3n) {
    border-right: 0;
}

.client-disclaimer {
    margin-top: 1.25rem;

    color: var(--muted);
    font-size: 0.82rem;
}

/* Testimonials */

.testimonials-section {
    position: relative;
}

.testimonials-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;

    color: var(--muted);
    font-size: 1.08rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
}

.testimonial-card {
    position: relative;

    overflow: hidden;
    padding: 2rem;

    border: 1px solid rgba(233, 154, 143, 0.3);
    border-radius: 24px;

    background: linear-gradient(
        145deg,
        rgba(255, 253, 251, 0.98),
        rgba(251, 227, 222, 0.52)
    );

    box-shadow: var(--shadow-soft);
}

.testimonial-mark {
    position: absolute;
    top: 0.35rem;
    right: 1.25rem;

    color: rgba(150, 69, 73, 0.13);

    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;

    margin: 0;
    padding: 0;

    border: 0;

    color: var(--ink);
    font-style: normal;
}

.testimonial-card blockquote p {
    margin: 0 0 1rem;
    line-height: 1.72;
}

.testimonial-card blockquote p:last-child {
    margin-bottom: 0;
}

.testimonial-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;

    margin-top: 1.5rem;
    padding-top: 1.1rem;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 0.93rem;
}

.testimonial-attribution strong {
    color: var(--rose-dark);
    font-size: 1rem;
}

.testimonial-profession {
    font-style: italic;
}

.testimonial-disclaimer {
    max-width: 850px;
    margin: 3rem auto 0;
    padding: 1.75rem 2rem;

    border-left: 4px solid var(--salmon-dark);
    border-radius: 0 18px 18px 0;

    background: linear-gradient(
        135deg,
        var(--salmon-pale),
        var(--soft-white)
    );
}

.testimonial-disclaimer h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.testimonial-disclaimer p {
    margin-bottom: 0.8rem;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.testimonial-disclaimer p:last-child {
    margin-bottom: 0;
}

.testimonial-actions {
    justify-content: center;
    margin-top: 2rem;
}

/* Experience page */

.experience-intro {
    display: block;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.experience-intro .experience-highlight {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.experience-intro-copy {
    max-width: 720px;
}

.experience-highlight {
    position: relative;

    overflow: hidden;
    padding: 2.25rem;

    border: 1px solid rgba(233, 154, 143, 0.32);
    border-radius: 24px;

    background: linear-gradient(
        145deg,
        rgba(255, 253, 251, 0.98),
        rgba(251, 227, 222, 0.56)
    );

    box-shadow: var(--shadow-soft);
}

.experience-highlight-mark {
    position: absolute;
    top: 0.2rem;
    right: 1rem;

    color: rgba(150, 69, 73, 0.14);

    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
}

.experience-highlight p {
    position: relative;
    z-index: 1;

    margin: 0 0 1.25rem;

    font-family: Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.6;
}

.experience-highlight strong {
    color: var(--rose-dark);
}

.experience-testimonials,
.experience-clients {
    border-top: 1px solid var(--line);
}

.text-link {
    flex-shrink: 0;

    color: var(--rose-dark);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.experience-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.experience-testimonial-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 100%;
    overflow: hidden;
    padding: 1.75rem;

    border: 1px solid rgba(233, 154, 143, 0.28);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.4)
    );

    box-shadow: var(--shadow-soft);
}

.experience-quote-mark {
    position: absolute;
    top: 0.1rem;
    right: 0.9rem;

    color: rgba(150, 69, 73, 0.12);

    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
}

.experience-testimonial-card blockquote {
    position: relative;
    z-index: 1;

    flex: 1;

    margin: 0;
    padding: 0;

    border: 0;

    color: var(--ink);
    font-style: normal;
    line-height: 1.7;
}

.experience-testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;

    margin-top: 1.4rem;
    padding-top: 1rem;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 0.9rem;
}

.experience-testimonial-card footer strong {
    color: var(--rose-dark);
}

.experience-clients-copy {
    max-width: 760px;
    margin-bottom: 2rem;

    color: var(--muted);
    font-size: 1.05rem;
}

.experience-client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.34)
    );

    box-shadow: var(--shadow-soft);
}

.experience-client-name {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 76px;
    padding: 1rem;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    text-align: center;
    font-weight: 600;
}

.experience-client-name:nth-child(5n) {
    border-right: 0;
}

.experience-client-name:nth-last-child(-n + 5) {
    border-bottom: 0;
}

.experience-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    border: 1px solid rgba(233, 154, 143, 0.3);
    border-radius: 26px;

    background: linear-gradient(
        135deg,
        var(--salmon-pale),
        var(--soft-white)
    );

    box-shadow: var(--shadow-soft);
}

.experience-cta > div:first-child {
    max-width: 650px;
}

.experience-cta h2 {
    margin-bottom: 0.7rem;
}

.experience-cta p {
    margin-bottom: 0;
    color: var(--muted);
}

.experience-cta .actions {
    flex-shrink: 0;
    margin-top: 0;
}

/* Service cards */

.service-card-grid {
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;
}

.service-card h3 {
    margin-bottom: 1rem;

    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.025em;

    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
}

.service-card-image-link {
    display: block;
    margin-bottom: 1.15rem;

    color: inherit;
    text-decoration: none;
}

.service-card-image-link .service-card-image {
    margin-bottom: 0;
}

.service-card-image-link:hover .service-card-image {
    transform: translateY(-2px);
}

.service-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.15rem;

    object-fit: cover;
    object-position: center;

    transition: transform 0.2s ease;
}

.service-card p {
    flex: 1;
    margin-top: 0;

    overflow-wrap: anywhere;
}

/* Service image on service page */

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.service-hero-copy {
    min-width: 0;
}

.service-hero-image-wrap {
    width: 100%;
}

.service-hero-image {
    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center;
}

.service-detail-content {
    padding-top: 4rem;
}

.service-inline-photo {
    width: min(100%, 620px);
    aspect-ratio: 4 / 3;
    margin: 3rem auto 2.5rem;

    object-fit: cover;
    object-position: center;
}

/* Tablet */

@media (max-width: 900px) {
    .experience-intro {
        grid-template-columns: 1fr;
    }

    .experience-highlight {
        max-width: 620px;
    }

    .experience-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .experience-client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .experience-client-name:nth-child(5n) {
        border-right: 1px solid var(--line);
    }

    .experience-client-name:nth-child(3n) {
        border-right: 0;
    }

    .experience-client-name:nth-last-child(-n + 5) {
        border-bottom: 1px solid var(--line);
    }

    .experience-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 800px) {
    .hero,
    .page-hero {
        padding-top: 2.5rem;
        padding-bottom: 3.75rem;
    }

    .hero-copy {
        max-width: 100%;
    }

    .portrait-placeholder {
        width: 100%;
        max-width: 360px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        max-width: 330px;
    }

    .about-intro-copy {
        max-width: none;
    }

    .about-quote {
        padding: 1.5rem;
    }

    .artwork-admin-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-photo-column {
        position: static;

        display: grid;
        grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }

    .contact-photo-copy {
        margin-top: 0;
    }

    .client-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-name:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .client-name:nth-child(2n) {
        border-right: 0;
    }

    h1 {
        font-size: clamp(2.5rem, 13vw, 4.3rem);
    }
}

/* Hamburger navigation */

@media (max-width: 1250px) and (min-width: 1101px) {
    .site-header {
        gap: 1rem;
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .brand-logo {
        flex: 0 0 240px;
        max-width: 240px;
    }

    .brand-logo img {
        width: 240px;
        max-width: 100%;
    }

    .primary-navigation {
        gap: 0.1rem;
    }

    .primary-navigation a {
        padding: 0.45rem 0.55rem;
    }
}

@media (max-width: 1100px) {
    .site-header {
        z-index: 2000;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;

        margin-right: 1rem;
        margin-left: 1rem;
        padding: 0.8rem 1.25rem;

        overflow: visible;
    }

    .brand-logo {
        flex: 1 1 auto;

        width: auto;
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .brand-logo img {
        width: min(330px, 100%);
        max-width: 100%;
        max-height: 62px;
        height: auto;
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        z-index: 2100;

        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.25rem;

        width: auto;
        margin-left: 0;
        padding: 0.75rem;

        border: 1px solid var(--salmon-light);
        border-radius: 16px;
        background: rgba(255, 250, 247, 0.99);

        box-shadow: 0 18px 40px rgba(112, 67, 75, 0.22);
        backdrop-filter: blur(16px);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        display: block;
        flex: none;

        width: 100%;
        padding: 0.7rem 0.85rem;

        border-radius: 10px;
        text-align: left;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 760px) {
    .service-hero {
        grid-template-columns: 1fr;
    }

    .service-hero-image {
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 620px) {
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .experience-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-client-name:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .experience-client-name:nth-child(2n) {
        border-right: 0;
    }

    .experience-highlight {
        padding: 1.6rem;
    }

    .experience-highlight p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .home-story-image {
        min-height: 580px;
        margin-right: 1.25rem;
        margin-left: 1.25rem;

        border-radius: 22px;
    }

    .home-story-image img {
        min-height: 580px;
        object-position: 56% center;
    }
}

@media (max-width: 580px) {
    .contact-photo-column {
        grid-template-columns: 1fr;
    }

    .contact-photo {
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
    }

    .contact-photo-copy {
        text-align: center;
    }
}

/* Small phones */

@media (max-width: 520px) {
    .hero,
    .section,
    .page-hero,
    .site-footer {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .hero,
    .page-hero {
        padding-top: 2rem;
        padding-bottom: 3.25rem;
    }

    .hero-copy h1 {
        margin-bottom: 1.35rem;
    }

    .hero-copy .lead {
        font-size: 1.08rem;
    }

    .actions {
        flex-direction: column;
    }

    .actions .button {
        width: 100%;
        text-align: center;
    }

    .form-card {
        padding: 1.35rem;
    }

    .client-columns {
        grid-template-columns: 1fr;
    }

    .client-name,
    .client-name:nth-child(2n),
    .client-name:nth-child(3n) {
        border-right: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.35rem;
        border-radius: 20px;
    }

    .testimonial-mark {
        right: 0.8rem;
        font-size: 4.5rem;
    }

    .testimonial-disclaimer {
        padding: 1.35rem;
    }
}

@media (max-width: 420px) {
    .experience-client-grid {
        grid-template-columns: 1fr;
    }

    .experience-client-name,
    .experience-client-name:nth-child(2n),
    .experience-client-name:nth-child(3n),
    .experience-client-name:nth-child(5n) {
        border-right: 0;
    }
}

/* Theme details */

::selection {
    background: var(--salmon-light);
    color: var(--ink);
}

a:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(233, 154, 143, 0.3);
    outline-offset: 3px;
}

hr {
    height: 1px;
    margin: 3rem 0;

    border: 0;

    background: linear-gradient(
        90deg,
        transparent,
        var(--salmon-light),
        transparent
    );
}

/* Accessibility: reduced motion */

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

    .reveal,
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3,
    .portrait-placeholder.reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .primary-navigation a,
    .menu-toggle span,
    .button,
    .card {
        transition: none;
    }
}

/* =========================================================
   Dark mode
   Activated with: <html data-theme="dark">
   ========================================================= */

:root[data-theme="dark"] {
    --ink: #f5e9e5;
    --muted: #c8b5af;

    --paper: #1b1516;
    --paper-soft: #241b1d;
    --soft-white: #2a2022;
    --cream: #302326;

    --rose: #d59aa4;
    --rose-dark: #efb7bf;
    --rose-soft: #50383e;

    --salmon: #e99a8f;
    --salmon-dark: #f2aaa0;
    --salmon-light: #8a5955;
    --salmon-pale: #382528;
    --salmon-wash: rgba(233, 154, 143, 0.08);
    --salmon-fade: rgba(233, 154, 143, 0.16);

    --line: #533b3f;
    --line-strong: #705057;

    --card: rgba(42, 32, 34, 0.96);
    --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.28);
    --shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.4);

    color-scheme: dark;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(233, 154, 143, 0.1),
            transparent 28rem
        ),
        radial-gradient(
            circle at 88% 22%,
            rgba(154, 98, 108, 0.1),
            transparent 32rem
        ),
        var(--paper);

    color: var(--ink);
}

/* Dark header and navigation */

:root[data-theme="dark"] .site-header {
    border-color: rgba(233, 154, 143, 0.18);
    background: rgba(36, 27, 29, 0.96);

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

:root[data-theme="dark"] .primary-navigation a {
    color: var(--ink);
}

:root[data-theme="dark"] .primary-navigation a:hover {
    border-color: var(--salmon-light);
    background: rgba(233, 154, 143, 0.12);
    color: var(--rose-dark);
}

:root[data-theme="dark"] .primary-navigation a.active,
:root[data-theme="dark"] .primary-navigation a[aria-current="page"] {
    border-color: var(--rose);
    background: linear-gradient(135deg, #8c5660, #a86c76);
    color: #ffffff;
}

:root[data-theme="dark"] .menu-toggle {
    border-color: var(--line-strong);
    background: var(--paper-soft);
    color: var(--ink);
}

/* Dark hero and page headers */

:root[data-theme="dark"] .hero {
    background:
        linear-gradient(
            135deg,
            rgba(42, 32, 34, 0.98),
            rgba(56, 37, 40, 0.9)
        );

    box-shadow:
        inset 0 0 0 1px rgba(233, 154, 143, 0.14);
}

:root[data-theme="dark"] .hero::after {
    background: radial-gradient(
        circle,
        rgba(233, 154, 143, 0.16),
        rgba(233, 154, 143, 0.05) 52%,
        transparent 72%
    );
}

:root[data-theme="dark"] .page-hero {
    background: linear-gradient(
        135deg,
        rgba(42, 32, 34, 0.96),
        rgba(56, 37, 40, 0.82)
    );

    box-shadow:
        inset 0 0 0 1px rgba(233, 154, 143, 0.14);
}

:root[data-theme="dark"]
main > .section:nth-of-type(even):not(.about-intro):not(.contact-layout) {
    background: linear-gradient(
        135deg,
        rgba(42, 32, 34, 0.72),
        rgba(56, 37, 40, 0.4)
    );
}

/* Dark cards */

:root[data-theme="dark"] .card,
:root[data-theme="dark"] .testimonial-card,
:root[data-theme="dark"] .experience-highlight,
:root[data-theme="dark"] .experience-testimonial-card {
    border-color: rgba(233, 154, 143, 0.2);

    background: linear-gradient(
        145deg,
        rgba(42, 32, 34, 0.98),
        rgba(56, 37, 40, 0.84)
    );

    box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .card:hover {
    border-color: var(--salmon);
    box-shadow: var(--shadow-hover);
}

/* Dark forms */

:root[data-theme="dark"] .form-card {
    border-color: rgba(233, 154, 143, 0.22);

    background: linear-gradient(
        145deg,
        rgba(42, 32, 34, 0.98),
        rgba(56, 37, 40, 0.72)
    );
}

:root[data-theme="dark"] .form-card input,
:root[data-theme="dark"] .form-card select,
:root[data-theme="dark"] .form-card textarea {
    border-color: var(--line-strong);
    background: #21191b;
    color: var(--ink);
}

:root[data-theme="dark"] .form-card input::placeholder,
:root[data-theme="dark"] .form-card textarea::placeholder {
    color: #9f8b86;
}

/* Dark buttons */

:root[data-theme="dark"] .button {
    border-color: #b97782;
    background: linear-gradient(135deg, #87515b, #a56671);
    color: #ffffff;
}

:root[data-theme="dark"] .button:hover {
    border-color: var(--salmon);
    background: linear-gradient(135deg, #b86f68, #df9187);
}

:root[data-theme="dark"] .button.secondary {
    border-color: var(--salmon-light);
    background: rgba(42, 32, 34, 0.74);
    color: var(--rose-dark);
}

:root[data-theme="dark"] .button.secondary:hover {
    border-color: var(--salmon);
    background: rgba(233, 154, 143, 0.14);
    color: var(--ink);
}

/* Dark notes and callouts */

:root[data-theme="dark"] .callout {
    border-color: rgba(233, 154, 143, 0.18);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(233, 154, 143, 0.14),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            #342326,
            #241b1d
        );
}

:root[data-theme="dark"] .note,
:root[data-theme="dark"] .about-quote,
:root[data-theme="dark"] .testimonial-disclaimer,
:root[data-theme="dark"] .experience-cta,
:root[data-theme="dark"] .formatting-help {
    border-color: var(--salmon-dark);

    background: linear-gradient(
        135deg,
        rgba(56, 37, 40, 0.98),
        rgba(42, 32, 34, 0.98)
    );
}

/* Dark client lists */

:root[data-theme="dark"] .client-columns,
:root[data-theme="dark"] .experience-client-grid {
    border-color: var(--line);

    background: linear-gradient(
        145deg,
        rgba(42, 32, 34, 0.98),
        rgba(56, 37, 40, 0.78)
    );
}

/* Dark tables */

:root[data-theme="dark"] table {
    border-color: var(--line);
    background: var(--soft-white);
}

:root[data-theme="dark"] th,
:root[data-theme="dark"] td {
    border-color: var(--line);
}

/* Dark footer */

:root[data-theme="dark"] .site-footer {
    border-color: rgba(233, 154, 143, 0.18);

    background: linear-gradient(
        135deg,
        rgba(42, 32, 34, 0.98),
        rgba(56, 37, 40, 0.78)
    );
}

/* Dark image framing */

:root[data-theme="dark"] main img:not(.intro-heart) {
    background:
        linear-gradient(var(--paper-soft), var(--paper-soft)) padding-box,
        linear-gradient(
            145deg,
            var(--salmon-dark),
            var(--rose),
            rgba(255, 255, 255, 0.08)
        ) border-box;

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.34),
        0 10px 28px rgba(233, 154, 143, 0.12);
}

/* Dark alerts */

:root[data-theme="dark"] .alert.success {
    border-color: #46664d;
    background: #243b29;
    color: #d9efdd;
}

:root[data-theme="dark"] .alert.error {
    border-color: #88534f;
    background: #452b2d;
    color: #f3d7d4;
}

/* Dark mobile navigation */

@media (max-width: 1100px) {
    :root[data-theme="dark"] .primary-navigation {
        border-color: var(--line-strong);
        background: rgba(36, 27, 29, 0.99);

        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.46);
    }
}



/* BANNER */

.site-notice {
    padding: 0.65rem 1rem;

    background: var(--salmon-pale);
    color: var(--rose-dark);

    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;

    border-bottom: 1px solid var(--rose-soft);
}

[data-theme="dark"] .site-notice {
    background: rgba(233, 154, 143, 0.14);
    color: #f8d8d3;
    border-bottom-color: rgba(246, 194, 185, 0.25);
    
}
 
 
/* Gallery */

.gallery-section {
    padding-top: clamp(3rem, 6vw, 5rem);
}

.gallery-intro {
    display: block;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.gallery-intro .experience-highlight {
    max-width: 760px;
    margin-inline: auto;
}

.quote-signature,
.gallery-quote-signature {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.quote-signature .intro-heart,
.gallery-quote-signature .intro-heart {
    width: 24px;
    margin: 0;
    transform: none;
}

.gallery-controls {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-category-filters {
    min-width: 0;
    margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
    padding: 0;

    border: 0;
}

.gallery-category-filters legend {
    margin-bottom: 0.75rem;
    padding: 0;

    color: var(--rose-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-category-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.gallery-filter-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-sort-control {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;

    color: var(--rose-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.gallery-sort-control select {
    min-height: 42px;
    padding: 0.5rem 2.2rem 0.5rem 0.75rem;

    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background-color: var(--soft-white);
    color: var(--ink);

    cursor: pointer;
    font: inherit;

    box-shadow: var(--shadow-soft);
}

.gallery-sort-control select:focus-visible {
    border-color: var(--rose);
    outline: 3px solid rgba(233, 154, 143, 0.3);
    outline-offset: 2px;
}

.gallery-category-option {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    min-height: 42px;
    padding: 0.55rem 0.85rem;

    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--soft-white);
    color: var(--rose-dark);

    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: var(--shadow-soft);
}

.gallery-category-option:hover {
    border-color: var(--salmon);
    background: var(--salmon-pale);
}

.gallery-category-option:has(input:checked) {
    border-color: var(--rose-dark);
    background: var(--rose-dark);
    color: #fffaf7;
}

.gallery-category-option input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--rose-dark);
}

.gallery-category-option:focus-within {
    outline: 3px solid rgba(233, 154, 143, 0.4);
    outline-offset: 2px;
}

.gallery-search {
    flex: 1 1 auto;
    width: min(500px, 100%);
    max-width: 500px;
}

.gallery-search > label {
    display: block;
    margin-bottom: 0.4rem;

    color: var(--rose-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-search-field {
    display: flex;
    gap: 0.55rem;
}

.gallery-search-field input {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0.55rem 0.8rem;

    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--soft-white);
    color: var(--ink);

    font: inherit;
    line-height: 1.2;

    box-shadow: var(--shadow-soft);
}

.gallery-search-field input:focus {
    border-color: var(--rose);
    outline: 3px solid rgba(233, 154, 143, 0.22);
    outline-offset: 1px;
}

.gallery-search-clear {
    flex: 0 0 auto;
    height: 44px;
    padding: 0.55rem 0.9rem;

    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--paper-soft);
    color: var(--rose-dark);

    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
}

.gallery-search-clear:hover {
    border-color: var(--salmon);
    background: var(--salmon-pale);
}

.gallery-search-clear:focus-visible {
    outline: 3px solid rgba(233, 154, 143, 0.4);
    outline-offset: 2px;
}

.gallery-content-control {
    width: fit-content;
    margin-left: auto;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    padding: 0.75rem 1rem;

    border: 1px solid rgba(233, 154, 143, 0.3);
    border-radius: 20px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.4)
    );

    box-shadow: var(--shadow-soft);
}

.gallery-controls .gallery-content-control {
    flex: 0 1 auto;
    align-self: flex-end;
    margin-bottom: 0;
}

.gallery-content-toggle {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 0.65rem;

    color: var(--rose-dark);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-content-toggle input {
    flex: 0 0 auto;

    width: 1.15rem;
    height: 1.15rem;
    margin: 0.08rem 0 0;

    accent-color: var(--rose-dark);
}

.gallery-content-toggle input:focus-visible {
    outline: 3px solid rgba(233, 154, 143, 0.4);
    outline-offset: 3px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 2.4vw, 2rem);
    align-items: start;
}

.gallery-card {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 0;
}

.gallery-card-featured {
    flex-grow: 0;
}

.gallery-featured-title {
    display: table;

    width: fit-content;
    margin: 1rem auto 0;
    padding: 0.08em 0.65em 0.14em;

    color: var(--ink);
    font-family: Georgia, serif;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;

    text-shadow:
        0 0 10px rgba(233, 154, 143, 0.58),
        0 0 22px rgba(233, 154, 143, 0.34),
        0 5px 15px rgba(150, 69, 73, 0.16);
}

:root[data-theme="dark"] .gallery-featured-title {
    text-shadow:
        0 0 10px rgba(233, 154, 143, 0.45),
        0 0 22px rgba(233, 154, 143, 0.24);
}

.gallery-card-image-button,
.gallery-card-image-static {
    display: block;
    width: 100%;
    padding: 0;

    border: 0;
    background: transparent;

    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-decoration: none;
}

.gallery-card-image-button:focus-visible {
    border-radius: var(--image-radius);
    outline: 3px solid rgba(233, 154, 143, 0.4);
    outline-offset: 5px;
}

.gallery-card-image-static {
    cursor: default;
}

.gallery-card-image-wrap {
    position: relative;
    width: 100%;
}

.gallery-card-image {
    display: block;
    width: 100%;
    height: auto;

    transition:
        filter 0.22s ease,
        opacity 0.22s ease,
        transform 0.2s ease;
}

.gallery-card-image-button:hover
.gallery-card-image {
    transform: scale(1.015);
}

.gallery-card.is-showing-details .gallery-card-image {
    filter: saturate(0.58) brightness(1.04) blur(1.5px);
    opacity: 0.7;
    transform: none;
}

.gallery-card.is-showing-details .gallery-card-image-button {
    pointer-events: none;
}

.gallery-card.is-showing-details .gallery-featured-title {
    visibility: hidden;
}

.gallery-card-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    place-items: center;
    padding: 1.5rem;

    border: 1px solid rgba(233, 154, 143, 0.3);
    border-radius: var(--image-radius);

    background: linear-gradient(
        145deg,
        var(--salmon-pale),
        var(--cream)
    );

    color: var(--rose-dark);
    text-align: center;
}

.gallery-card-placeholder span {
    max-width: 9rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.gallery-details-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;

    width: auto;
    min-width: 2.15rem;
    height: 2.15rem;
    margin: 0.8rem 0.25rem 0 auto;
    padding: 0 0.8rem;

    border: 1px solid var(--salmon);
    border-radius: 10px;
    background: var(--soft-white);

    color: var(--rose-dark);
    cursor: pointer;
    font: inherit;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.gallery-details-toggle:hover,
.gallery-details-toggle[aria-expanded="true"] {
    border-color: var(--rose-dark);
    background: var(--rose-dark);
    color: #ffffff;
}

.gallery-details-toggle:hover {
    transform: translateY(-1px);
}

.gallery-details-toggle:focus-visible {
    outline: 3px solid rgba(233, 154, 143, 0.4);
    outline-offset: 3px;
}

.gallery-details-icon {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

.gallery-details-label {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.gallery-card-body {
    position: absolute;
    inset: 0;
    z-index: 5;

    overflow: auto;
    padding: 1.25rem;

    border: 1px solid var(--line);
    border-radius: var(--image-radius);
    background: rgba(255, 250, 247, 0.72);

    box-shadow: var(--shadow-soft);

    animation: gallery-details-overlay-in 0.22s ease-out;
    -webkit-overflow-scrolling: touch;
}

.gallery-card-body[hidden] {
    display: none;
}

@keyframes gallery-details-overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gallery-card-body h2 {
    margin: 0;

    color: var(--ink);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.25;
}

.gallery-card-meta,
.gallery-card-dimensions,
.gallery-card-availability {
    margin: 0;
}

.gallery-card-meta,
.gallery-card-dimensions {
    margin-top: 0.4rem;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.gallery-card-availability {
    margin-top: 0.55rem;

    color: var(--rose-dark);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-card-description {
    margin: 1rem 0 0;

    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gallery-watermark,
.gallery-lightbox-watermark {
    position: absolute;
    top: 1.25rem;
    right: 0.45rem;
    z-index: 2;

    padding: 0.38rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 4px;
    background: rgba(112, 67, 75, 0.9);

    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;

    box-shadow: 0 5px 14px rgba(45, 37, 35, 0.24);
    pointer-events: none;
    transform: rotate(45deg);
}

.gallery-watermark-sold {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(165, 51, 45, 0.96);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    box-shadow: 0 5px 16px rgba(114, 28, 24, 0.4);
}

.gallery-watermark-private {
    background: rgba(112, 67, 75, 0.94);
}

.gallery-card .gallery-watermark-private {
    top: 1.25rem;
    right: -0.2rem;
    transform: translateY(0.75rem) rotate(45deg);
}

.gallery-watermark-commissioned {
    background: rgba(143, 94, 48, 0.94);
}

.gallery-empty {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;

    border: 1px solid rgba(233, 154, 143, 0.3);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        var(--soft-white),
        rgba(251, 227, 222, 0.4)
    );

    color: var(--muted);
    text-align: center;

    box-shadow: var(--shadow-soft);
}

.gallery-empty p {
    margin: 0;
    font-size: 1.05rem;
}

.gallery-search-empty {
    margin-top: 1.5rem;
}

.gallery-commission-cta {
    margin-top: 0;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;

    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: clamp(1rem, 3vw, 2.5rem);
    overflow: auto;

    border: 0;
    background: #1b1516;
    color: #fffaf7;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.gallery-lightbox::backdrop {
    background: #1b1516;
}

.gallery-lightbox[open] {
    display: grid;
    place-items: center;
}

.gallery-lightbox-panel {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;
    min-height: 0;
    margin-inline: auto;
}

.gallery-lightbox-image-wrap {
    position: relative;

    display: grid;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    place-items: center;
}

.gallery-lightbox-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;

    cursor: zoom-out;
    object-fit: contain;
}

.gallery-lightbox-watermark {
    position: fixed;
    top: auto;
    right: auto;
}

.gallery-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1;

    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0 0 0.12rem;

    border: 1px solid rgba(255, 250, 247, 0.5);
    border-radius: 50%;
    background: rgba(27, 21, 22, 0.72);

    color: #fffaf7;
    cursor: pointer;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
}

.gallery-lightbox-close:hover {
    border-color: var(--salmon-light);
    background: var(--rose-dark);
}

.gallery-lightbox-close:focus-visible {
    outline: 3px solid var(--salmon-light);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}

@media (max-width: 1000px) {
    .gallery-card {
        flex-basis: calc(50% - 1rem);
    }
}

@media (max-width: 760px) {
    .gallery-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-search {
        flex-basis: auto;
        width: 100%;
        max-width: none;
    }

    .gallery-controls .gallery-content-control {
        order: -1;
        align-self: stretch;
        width: 100%;
        margin-left: 0;
    }

    .gallery-filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-sort-control {
        justify-content: space-between;
    }

    .gallery-sort-control select {
        flex: 1 1 auto;
        max-width: 220px;
    }

}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 1.5rem;
    }

    .gallery-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
    }

    .gallery-card-featured {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-card-image,
    .gallery-details-toggle {
        transition: none;
    }
}

:root[data-theme="dark"] .gallery-card-placeholder,
:root[data-theme="dark"] .gallery-card-body,
:root[data-theme="dark"] .gallery-empty,
:root[data-theme="dark"] .gallery-content-control,
:root[data-theme="dark"] .gallery-category-option {
    border-color: rgba(233, 154, 143, 0.2);

    background: linear-gradient(
        145deg,
        rgba(42, 32, 34, 0.98),
        rgba(56, 37, 40, 0.8)
    );
}

:root[data-theme="dark"] .gallery-card-body {
    background: rgba(36, 27, 29, 0.78);
}

:root[data-theme="dark"] .gallery-category-option:has(input:checked) {
    border-color: var(--salmon);
    background: var(--rose-dark);
    color: #fffaf7;
}

:root[data-theme="dark"] .gallery-search-field input,
:root[data-theme="dark"] .gallery-search-clear,
:root[data-theme="dark"] .gallery-sort-control select {
    border-color: var(--line-strong);
    background: #241b1d;
    color: var(--ink);
}

:root[data-theme="dark"] .gallery-search-clear:hover {
    border-color: var(--salmon);
    background: rgba(233, 154, 143, 0.14);
}

/*
 * Keep the current page visible while another same-site page loads.
 * This prevents a blank document between PHP page navigations.
 */

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.22s;
    animation-timing-function: ease-out;
}
/* Admin service image fields */

.service-image-panel {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: var(--paper-soft);
}

.service-image-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    width: 100%;
    padding: 1rem 1.25rem;

    border: 0;
    background: transparent;

    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.service-image-toggle:hover {
    background: var(--salmon-wash);
}

.service-image-toggle:focus-visible {
    outline: 3px solid rgba(233, 154, 143, 0.32);
    outline-offset: -3px;
}

.service-image-toggle > span:first-child {
    display: grid;
    gap: 0.1rem;
}

.service-image-toggle small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.service-image-toggle-action {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex: 0 0 auto;

    color: var(--rose-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.service-image-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 2rem;

    border: 1px solid var(--line-strong);
    border-radius: 50%;

    font-size: 1.25rem;
    line-height: 1;

    transition: transform 0.2s ease;
}

.service-image-toggle[aria-expanded="true"]
    .service-image-toggle-icon {
    transform: rotate(45deg);
}

.service-image-field {
    display: grid;
    gap: 1rem;

    margin: 0;
    padding: 1.25rem;

    border-top: 1px solid var(--line);

    background: var(--soft-white);
}

.service-image-field[hidden] {
    display: none;
}

.admin-service-image-preview {
    display: block;

    width: auto;
    max-width: min(100%, 250px);
    max-height: 200px;



    border: 1px solid var(--line);
    border-radius: 14px;

    object-fit: contain;
}

.service-image-field .form-help {
    margin: -0.35rem 0 0;
}

@media (max-width: 520px) {
    .service-image-toggle {
        align-items: flex-start;
    }

    .service-image-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
