.hidden,
.menu-icon,
.menu-toggle {
    display: none;
}
main ul,
nav ul {
    list-style: none;
}
body,
main ul {
    padding: 0;
    margin: 0;
}
body,
main a:hover::before,
nav ul,
table {
    width: 100%;
}
nav ul li,
th {
    text-align: center;
}
h1,
main a,
nav ul li a,
th {
    font-weight: 700;
}
th::after,
th::before {
    transform: translateX(-50%);
}
.menu-icon,
nav ul li a,
td {
    padding: 10px;
}
.gallery::after,
.gallery::before {
    right: 0;
    height: 1px;
    opacity: 0.3;
    left: 0;
}
.btn,
.gallery a,
.gallery-content h3,
.top-btn,
main a,
nav ul li a {
    text-decoration: none;
}
blockquote,
figure,
table {
    margin: 2rem 0;
}
.card-meta,
td {
    letter-spacing: 1px;
}
.card-testimonial .card-content,
blockquote,
figcaption,
h2,
h3,
h4 {
    font-style: italic;
}
.btn,
.gallery a {
    overflow: hidden;
}
.text-center,
.top-btn,
figure,
footer p,
h1,
nav ul li,
th {
    text-align: center;
}

* {
    box-sizing: border-box;
    font-smooth: never;
}

/* ===== CSS CUSTOM PROPERTIES FOR SMOOTH TRANSITIONS ===== */
:root {
    /* Typography scale */
    --step-0: 3.21px;
    --step-1: 4.28px;
    --step-2: 5.7px;
    --step-3: 7.6px;
    --step-4: 10.13px;
    --step-5: 13.5px;
    --step-6: 18px;
    --step-7: 23.99px;
    --step-8: 31.98px;
    --step-9: 42.63px;
    --step-10: 56.83px;
    --step-11: 75.76px;
    --step-12: 100.98px;

    /* Color system - Light mode base */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-tertiary: #fafafa;
    --bg-accent: #f8f8f8;
    --text-primary: #000000;
    --text-secondary: #2a2a2a;
    --text-muted: #666666;
    --text-light: #999999;
    --brand-primary: #7b0323;
    --brand-secondary: #b0b2a9;
    --brand-accent: #6a6c65;
    --border-light: #e0e0e0;
    --border-medium: #ddd;

    /* Dark mode colors */
    --bg-primary-dark: #2a2a2a;
    --bg-secondary-dark: #404040;
    --bg-tertiary-dark: #404040;
    --bg-accent-dark: #404040;
    --text-primary-dark: #e0e0e0;
    --text-secondary-dark: #e0e0e0;
    --text-muted-dark: #b0b0b0;
    --text-light-dark: #888888;
    --brand-primary-dark: #ff6b6b;
    --brand-secondary-dark: #6a6c65;
    --brand-accent-dark: #6a6c65;
    --border-light-dark: #555555;
    --border-medium-dark: #555555;

    /* Transition progress (0 = light, 1 = dark) */
    --dark-progress: 0;

    /* Computed colors using color-mix */
    --bg-primary-computed: color-mix(
        in srgb,
        var(--bg-primary) calc((1 - var(--dark-progress)) * 100%),
        var(--bg-primary-dark) calc(var(--dark-progress) * 100%)
    );
    --bg-secondary-computed: color-mix(
        in srgb,
        var(--bg-secondary) calc((1 - var(--dark-progress)) * 100%),
        var(--bg-secondary-dark) calc(var(--dark-progress) * 100%)
    );
    --bg-tertiary-computed: color-mix(
        in srgb,
        var(--bg-tertiary) calc((1 - var(--dark-progress)) * 100%),
        var(--bg-tertiary-dark) calc(var(--dark-progress) * 100%)
    );
    --bg-accent-computed: color-mix(
        in srgb,
        var(--bg-accent) calc((1 - var(--dark-progress)) * 100%),
        var(--bg-accent-dark) calc(var(--dark-progress) * 100%)
    );
    --text-primary-computed: color-mix(
        in srgb,
        var(--text-primary) calc((1 - var(--dark-progress)) * 100%),
        var(--text-primary-dark) calc(var(--dark-progress) * 100%)
    );
    --text-secondary-computed: color-mix(
        in srgb,
        var(--text-secondary) calc((1 - var(--dark-progress)) * 100%),
        var(--text-secondary-dark) calc(var(--dark-progress) * 100%)
    );
    --text-muted-computed: color-mix(
        in srgb,
        var(--text-muted) calc((1 - var(--dark-progress)) * 100%),
        var(--text-muted-dark) calc(var(--dark-progress) * 100%)
    );
    --text-light-computed: color-mix(
        in srgb,
        var(--text-light) calc((1 - var(--dark-progress)) * 100%),
        var(--text-light-dark) calc(var(--dark-progress) * 100%)
    );
    --brand-primary-computed: color-mix(
        in srgb,
        var(--brand-primary) calc((1 - var(--dark-progress)) * 100%),
        var(--brand-primary-dark) calc(var(--dark-progress) * 100%)
    );
    --brand-secondary-computed: color-mix(
        in srgb,
        var(--brand-secondary) calc((1 - var(--dark-progress)) * 100%),
        var(--brand-secondary-dark) calc(var(--dark-progress) * 100%)
    );
    --brand-accent-computed: color-mix(
        in srgb,
        var(--brand-accent) calc((1 - var(--dark-progress)) * 100%),
        var(--brand-accent-dark) calc(var(--dark-progress) * 100%)
    );
    --border-light-computed: color-mix(
        in srgb,
        var(--border-light) calc((1 - var(--dark-progress)) * 100%),
        var(--border-light-dark) calc(var(--dark-progress) * 100%)
    );
    --border-medium-computed: color-mix(
        in srgb,
        var(--border-medium) calc((1 - var(--dark-progress)) * 100%),
        var(--border-medium-dark) calc(var(--dark-progress) * 100%)
    );
}

/* ===== BODY AND BACKGROUND ===== */
body {
    background-color: var(--bg-primary-computed);
    color: var(--text-secondary-computed);
    background-image: linear-gradient(
        var(--bg-primary-computed),
        var(--bg-primary-computed),
        color-mix(
            in srgb,
            rgba(46, 49, 49, 0.5) calc((1 - var(--dark-progress)) * 100%),
            rgba(255, 107, 107, 0.3) calc(var(--dark-progress) * 100%)
        )
    );
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: 100%;
    transition: all 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: var(--step-12);
    font-family: Corinthia, Script;
    line-height: 1rem;
    border-bottom: 20px solid var(--brand-secondary-computed);
    cursor: default;
    color: var(--text-secondary-computed);
}

h2 {
    font-size: var(--step-10);
}

h3 {
    font-size: var(--step-9);
}

h4 {
    font-size: var(--step-8);
}

nav ul li,
p {
    font-size: var(--step-7);
}

.gallery-content h3,
blockquote,
th {
    font-size: var(--step-6);
}

h2,
h3,
h4 {
    font-family: Playfair, serif;
    color: var(--brand-primary-computed);
    text-decoration: underline;
    text-underline-position: from-font;
    text-underline-offset: 22%;
    text-decoration-color: color-mix(
        in srgb,
        lightgrey calc((1 - var(--dark-progress)) * 100%),
        #666 calc(var(--dark-progress) * 100%)
    );
    text-decoration-thickness: 1px;
}

/* ===== LAYOUT ===== */
footer,
main {
    width: 55%;
    margin: 0 auto;
    font-family: "Source Serif 4", serif;
}

footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

footer a {
    color: lightgrey;
    font-size: var(--step-4);
}

footer a:hover {
    text-decoration: none;
}

footer p {
    font-size: var(--step-5);
}

main p {
    line-height: 150%;
    color: var(--text-secondary-computed);
}

/* ===== NAVIGATION ===== */
nav {
    position: relative;
    width: 50%;
    margin: 0 auto;
}

.menu-icon {
    cursor: pointer;
    font-size: 24px;
    color: var(--brand-primary-computed);
    position: absolute;
    right: 0;
    top: -10px;
    user-select: none;
}

nav ul {
    display: flex;
    flex-grow: 1;
    padding: 0;
    gap: 30px;
    margin-bottom: 70px;
}

nav ul li {
    flex: 1;
    font-family: Spectral, Serif;
    background-color: var(--bg-secondary-computed);
}

nav ul li a {
    text-transform: lowercase;
    display: block;
    position: relative;
    color: var(--brand-primary-computed);
    transition: background-color 0.3s ease;
}

nav ul li a::after {
    background-color: var(--brand-primary-computed);
    left: 50%;
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: color-mix(
        in srgb,
        #e0e0e0 calc((1 - var(--dark-progress)) * 100%),
        #555 calc(var(--dark-progress) * 100%)
    );
    filter: grayscale();
    opacity: 0.2;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* ===== LINKS ===== */
main a {
    color: var(--brand-primary-computed);
    border-bottom: 2px solid var(--text-primary-computed);
    position: relative;
    transition: all 0.4s ease;
}

main a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary-computed));
    transition: width 0.3s;
}

main a:hover {
    color: var(--text-primary-computed);
    border-bottom-color: transparent;
}

main a:hover::before {
    width: 100%;
}

main a[href^="//"]::after,
main a[href^="https://"]::after,
main a[href^=http]::after {
    content: " \002197";
    font-size: 0.8em;
    color: var(--brand-primary-computed);
    transition: transform 0.3s;
}

main a[href^="//"]:hover::after,
main a[href^="https://"]:hover::after,
main a[href^=http]:hover::after {
    transform: translate(2px, -2px);
    color: var(--text-primary-computed);
}

/* ===== LISTS ===== */
main ul li {
    padding-left: 1rem;
    text-indent: -0.7rem;
    line-height: 200%;
    font-size: var(--step-7);
}

main ul li::before {
    content: "\1F940";
    background-color: var(--bg-primary-computed);
    border-radius: 30px;
    margin: 7px;
}

/* ===== TABLES ===== */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

th {
    background-color: var(--bg-secondary-computed);
    border-top: 4px solid var(--brand-secondary-computed);
    border-bottom: 2px solid var(--brand-primary-computed);
    position: relative;
    color: var(--brand-primary-computed);
    font-family: Spectral, serif;
}

th::before {
    background-color: var(--brand-primary-computed);
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 100;
    left: 50%;
    content: "";
    position: absolute;
}

th::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: var(--brand-secondary-computed);
}

td {
    border-right: 1px solid var(--border-light-computed);
    border-left: 1px solid var(--border-light-computed);
    background-color: var(--bg-tertiary-computed);
    transition: background-color 0.3s;
    font-family: Outfit, sans-serif;
    font-weight: 200;
    color: var(--text-secondary-computed);
}

tbody tr:last-child td {
    border-bottom: 1px solid var(--brand-primary-computed);
    position: relative;
}

tbody tr:last-child td::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    background: linear-gradient(
        to right,
        var(--brand-secondary-computed),
        var(--brand-primary-computed),
        var(--brand-secondary-computed)
    );
}

tbody tr:hover td {
    background-color: color-mix(
        in srgb,
        rgba(123, 3, 35, 0.05) calc((1 - var(--dark-progress)) * 100%),
        rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
    );
}

/* ===== GALLERY ===== */
.gallery {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 3%;
    background: linear-gradient(
        to bottom,
        transparent,
        color-mix(
            in srgb,
            rgba(46, 49, 49, 0.05) calc((1 - var(--dark-progress)) * 100%),
            rgba(255, 107, 107, 0.05) calc(var(--dark-progress) * 100%)
        ),
        transparent
    );
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.gallery::before,
.gallery::after {
    content: "";
    position: absolute;
    background: linear-gradient(to right, transparent, var(--brand-primary-computed), transparent);
}

.gallery::before {
    top: 0;
}

.gallery::after {
    bottom: 0;
}

.gallery a {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 20px;
    color: inherit;
    background: color-mix(
        in srgb,
        rgba(244, 244, 244, 0.6) calc((1 - var(--dark-progress)) * 100%),
        rgba(64, 64, 64, 0.3) calc(var(--dark-progress) * 100%)
    );
    border: none;
    transition: all 0.6s ease;
    position: relative;
}

.gallery a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(
            in srgb,
            rgba(123, 3, 35, 0.1) calc((1 - var(--dark-progress)) * 100%),
            rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
        ),
        transparent
    );
    transition: left 0.6s;
}

.gallery a:hover {
    transform: scale(1.03);
    background: color-mix(
        in srgb,
        rgba(123, 3, 35, 0.08) calc((1 - var(--dark-progress)) * 100%),
        rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
    );
    border-color: var(--brand-primary-computed);
}

.gallery a:hover::before {
    left: 100%;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
    filter: grayscale(20%);
    transition: filter 0.5s;
}

.gallery a:hover img,
figure img:hover {
    filter: grayscale(0%);
}

.gallery-content h3 {
    margin: 0 0 5px;
    font-family: Playfair, serif;
    color: var(--brand-primary-computed);
}

.gallery-content p {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: var(--step-5);
    color: var(--text-muted-computed);
}

/* ===== BUTTONS ===== */
.top-btn {
    color: var(--bg-secondary);
    display: block;
    margin: 0 auto;
    background-color: var(--brand-primary-computed);
    width: fit-content;
    padding: 10px 20px;
    border-radius: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-style: italic;
    position: relative;
    transition: 0.3s;
}

.top-btn:before {
    content: "\27A4";
    display: block;
    rotate: 270deg;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    font-style: normal;
}

.top-btn:hover {
    top: 2px;
    background-color: var(--dark-progress);
    border: 0;
    box-shadow: 0 0 0 transparent;
}

.btn {
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    display: inline-block;
    cursor: pointer;
    margin: 5px;
    font-family: Spectral, serif;
    font-size: var(--step-5);
    transition: 0.3s;
}

.btn-primary {
    background: var(--brand-primary-computed);
    color: color-mix(
        in srgb,
        var(--bg-secondary) calc((1 - var(--dark-progress)) * 100%),
        var(--text-secondary-dark) calc(var(--dark-progress) * 100%)
    );
}

.btn-primary:hover {
    background: color-mix(
        in srgb,
        #5a0219 calc((1 - var(--dark-progress)) * 100%),
        #ff5252 calc(var(--dark-progress) * 100%)
    );
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-secondary-computed);
    color: var(--brand-primary-computed);
}

.btn-secondary:hover {
    background: color-mix(
        in srgb,
        #e8e8e8 calc((1 - var(--dark-progress)) * 100%),
        #555 calc(var(--dark-progress) * 100%)
    );
    color: color-mix(
        in srgb,
        #5a0219 calc((1 - var(--dark-progress)) * 100%),
        var(--brand-primary-dark) calc(var(--dark-progress) * 100%)
    );
}

.btn-ghost {
    background: transparent;
    color: var(--brand-primary-computed);
    border: 1px solid var(--brand-secondary-computed);
}

.btn-ghost:hover {
    background: color-mix(
        in srgb,
        rgba(123, 3, 35, 0.05) calc((1 - var(--dark-progress)) * 100%),
        rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
    );
    border-color: var(--brand-primary-computed);
}

.btn-disabled {
    background: var(--border-light-computed);
    color: var(--text-light-computed);
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
}

/* ===== FORMS ===== */
.form-group,
.mb-2 {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: Playfair, serif;
    color: var(--brand-primary-computed);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: var(--step-5);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: "Source Serif 4", serif;
    font-size: var(--step-5);
    background: var(--bg-tertiary-computed);
    border: 1px solid var(--brand-secondary-computed);
    transition: all 0.4s ease;
    resize: vertical;
    color: var(--text-secondary-computed);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 0;
    background: var(--bg-primary-computed);
    border-color: var(--brand-primary-computed);
    box-shadow: 0 0 0 2px
        color-mix(
            in srgb,
            rgba(123, 3, 35, 0.1) calc((1 - var(--dark-progress)) * 100%),
            rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
        );
}

.form-textarea {
    min-height: 120px;
}

.form-error {
    color: #d32f2f;
    font-size: var(--step-4);
    margin-top: 4px;
}

/* ===== BLOCKQUOTES ===== */
blockquote {
    padding: 20px 30px;
    background: var(--bg-accent-computed);
    line-height: 1.6;
    color: var(--text-secondary-computed);
    font-family: Playfair, serif;
    position: relative;
}

blockquote cite,
figcaption {
    font-size: var(--step-4);
    color: var(--text-muted-computed);
}

blockquote::before {
    content: "\00201C";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: var(--step-12);
    color: var(--brand-primary-computed);
    font-family: "Source Serif 4", script;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-family: "Source Serif 4", serif;
    font-style: normal;
}

blockquote cite::before {
    content: "\2014 ";
}

blockquote h4 {
    font-family: "Outfit", sans-serif;
    font-style: normal;
    font-size: var(--step-6);
    font-weight: 500;
}

/* ===== FIGURES ===== */
figure img {
    max-width: 100%;
    height: auto;
    filter: grayscale(10%);
    transition: filter 0.3s;
}

figcaption {
    margin-top: 10px;
    font-family: Outfit, sans-serif;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-tertiary-computed);
    padding: 25px;
    margin: 20px 0;
    transition: all 0.4s ease;
}

.card:hover {
    background: var(--bg-secondary-computed);
    transform: translateY(-2px);
}

.card-title {
    margin: 0 0 15px;
    font-family: Playfair, serif;
    font-size: var(--step-7);
    color: var(--brand-primary-computed);
}

.card-content {
    font-family: "Source Serif 4", serif;
    font-size: var(--step-5);
    line-height: 1.5;
    color: var(--text-secondary-computed);
}

.card-meta {
    margin-top: 15px;
    font-family: Outfit, sans-serif;
    font-size: var(--step-4);
    font-weight: 600;
    color: var(--text-muted-computed);
    text-transform: uppercase;
}

.card-testimonial {
    background: linear-gradient(135deg, var(--bg-accent-computed), var(--bg-secondary-computed));
    border-left: 4px solid var(--brand-primary-computed);
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== ACCORDION ===== */
.accordion {
    margin: 20px 0;
}

.accordion-item {
    background: var(--bg-tertiary-computed);
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    font-family: Playfair, serif;
    font-size: var(--step-7);
    color: var(--brand-primary-computed);
    transition: color 0.3s;
    font-weight: 700;
    position: relative;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: var(--step-7);
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content-inner {
    padding: 0 20px 20px;
    font-family: "Source Serif 4", serif;
    font-size: var(--step-6);
    line-height: 1.5;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary-computed);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    font-family: "Source Serif 4", serif;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-family: "Playfair", serif;
    font-size: var(--step-8);
    color: var(--brand-primary-computed);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: var(--step-8);
    cursor: pointer;
    color: var(--text-muted-computed);
    transition: color 0.3s;
}

.modal-close:hover,
.text-primary {
    color: var(--brand-primary-computed);
}

/* ===== UTILITY CLASSES ===== */
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-secondary {
    color: var(--text-muted-computed);
}

.text-muted {
    color: var(--text-light-computed);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.visible {
    display: block;
}

/* ===== SITEMAP STYLING ===== */
.sitemap {
    margin: 2rem 0;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light-computed);
    transition: background-color 0.3s ease;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list li:hover {
    background-color: color-mix(
        in srgb,
        rgba(123, 3, 35, 0.05) calc((1 - var(--dark-progress)) * 100%),
        rgba(255, 107, 107, 0.1) calc(var(--dark-progress) * 100%)
    );
    padding-left: 10px;
}

.sitemap-list li::before {
    content: "\1F4C4";
    margin-right: 10px;
}

.sitemap-list a {
    color: var(--brand-primary-computed);
    text-decoration: none;
    font-family: "Source Serif 4", serif;
    font-size: var(--step-5);
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: color-mix(
        in srgb,
        #5a0219 calc((1 - var(--dark-progress)) * 100%),
        #ff8a8a calc(var(--dark-progress) * 100%)
    );
    border-bottom: none;
}

.sitemap-info {
    background: var(--bg-accent-computed);
    padding: 15px;
    margin-top: 30px;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 560px) {
    .menu-icon,
    .visible-mobile,
    nav ul li {
        display: block;
    }
    nav ul,
    nav ul li {
        width: 100%;
    }
    .hidden-mobile,
    nav ul {
        display: none;
    }
    h1 {
        font-size: var(--step-11);
    }
    nav {
        width: 100%;
    }
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin-left: 0;
        background-color: var(--bg-secondary-computed);
    }
    .menu-toggle:checked ~ ul {
        display: flex;
    }
    nav ul li {
        margin: 0;
        border-bottom: 1px solid var(--border-medium-computed);
    }
    nav ul li:last-child {
        border-bottom: none;
    }
    nav ul li a {
        padding: 15px 20px;
    }
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .gallery a {
        max-width: 100%;
        min-width: 100%;
    }
}

@media screen and (min-width: 561px) {
    .hidden-desktop {
        display: none;
    }
    .visible-desktop {
        display: block;
    }
}
