/* ==========================================================
   SticksPhoto — Clean Complete Stylesheet
   ========================================================== */


/* ----------------------------------------------------------
   Basic reset
   ---------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;

    color: white;
    background-color: #111;

    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* ----------------------------------------------------------
   Shared page settings
   ---------------------------------------------------------- */

.home-page,
.gallery-page,
.nature-page,
.birds-page {
    min-height: 100vh;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

main {
    width: 100%;
}


/* ==========================================================
   HOME PAGE
   ========================================================== */

.home-page {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.55)
        ),
        url("/images/AR508511.jpg");
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.hero-panel {
    width: min(700px, 100%);

    text-align: center;
}

.hero-panel h1 {
    margin: 0 0 35px;

    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.05;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}


/* Home-page plain-text buttons */

.button-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
    width: 100%;
}

.site-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 10px 15px;

    border: none;

    color: white;
    background: transparent;

    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-button:hover {
    transform: translateY(-2px);
    opacity: 0.72;
}

.site-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 5px;
}


/* ==========================================================
   PHOTO GALLERY PAGE
   ========================================================== */

.gallery-page {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 25px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.62)
        ),
        url("/images/AR508511.jpg");
}


/* ==========================================================
   NATURE PAGE
   ========================================================== */

.nature-page {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 25px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.62)
        ),
        url("/images/Avon NC.jpg");
}


/* ==========================================================
   STANDARD PAGE PANEL
   Used by layouts/_default
   ========================================================== */

.page-panel {
    width: min(850px, 100%);
    margin: 0 auto;

    text-align: center;
}

.page-panel h1 {
    margin: 0 0 34px;

    font-size: clamp(2.7rem, 7vw, 4.8rem);
    line-height: 1.1;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.page-content {
    width: 100%;
}


/* ----------------------------------------------------------
   Back link
   ---------------------------------------------------------- */

.back-link {
    display: inline-block;

    margin: 0 0 20px;

    color: white;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.back-link:hover {
    opacity: 0.75;
    transform: translateX(-3px);
}


/* ----------------------------------------------------------
   Nature category buttons
   ---------------------------------------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
    width: 100%;
}

.category-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 72px;
    padding: 16px 22px;

    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;

    color: white;
    background: rgba(0, 0, 0, 0.55);

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.category-button:hover {
    transform: translateY(-3px);

    border-color: white;
    background: rgba(255, 255, 255, 0.22);

    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.4);
}


/* ==========================================================
   AUTOMATIC PHOTO GALLERY PAGES
   ========================================================== */

.birds-page {
    min-height: 100vh;

    padding: 35px 25px 50px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.72)
        ),
        url("/images/Avon NC.jpg");
}

.gallery-content {
    width: min(1250px, 100%);
    margin: 0 auto;

    text-align: center;
}

.gallery-content h1 {
    margin: 5px 0 30px;

    font-size: clamp(2.6rem, 7vw, 4.8rem);
    line-height: 1.1;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85);
}


/* ----------------------------------------------------------
   Thumbnail grid
   ---------------------------------------------------------- */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

@media (max-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-item {
    display: block;

    width: 100%;
    padding: 0;

    overflow: hidden;

    border: none;
    border-radius: 12px;

    background: transparent;
    cursor: pointer;

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.38);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.photo-item:hover {
    transform: translateY(-3px);

    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.5);
}

.photo-item img {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 2;

    object-fit: cover;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.photo-item:hover img {
    transform: scale(1.035);
    opacity: 0.94;
}


/* ==========================================================
   FULL-SCREEN PHOTO VIEWER
   ========================================================== */

.photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;

    padding: 65px 30px 30px;

    overflow: hidden;

    background: rgba(0, 0, 0, 0.95);
}

.photo-viewer.viewer-open {
    display: flex;
}

.viewer-image {
    display: block;

    width: auto;
    height: auto;

    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 95px);

    object-fit: contain;
    cursor: pointer;
}

.viewer-close {
    position: fixed;
    top: 10px;
    right: 18px;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    padding: 0;

    border: none;
    border-radius: 50%;

    color: white;
    background: rgba(0, 0, 0, 0.48);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 44px;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.viewer-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

body.viewer-active {
    overflow: hidden;
}


/* ----------------------------------------------------------
   Keyboard focus
   ---------------------------------------------------------- */

.category-button:focus-visible,
.photo-item:focus-visible,
.viewer-close:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}


/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */

@media (max-width: 800px) {

    .button-group,
    .category-grid {
        gap: 15px;
    }

    .site-button {
        font-size: 1.15rem;
    }

    .category-button {
        min-height: 65px;
        padding: 14px 16px;

        font-size: 1.05rem;
    }

    .photo-grid {
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(220px, 1fr)
            );

        gap: 16px;
    }
}


@media (max-width: 600px) {

    .home-page,
    .gallery-page,
    .nature-page {
        padding: 24px 16px;

        background-attachment: scroll;
    }

    .birds-page {
        padding: 22px 14px 35px;

        background-attachment: scroll;
    }

    .hero-panel h1,
    .page-panel h1,
    .gallery-content h1 {
        margin-bottom: 25px;
    }

    .button-group,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .photo-viewer {
        padding: 60px 10px 12px;
    }

    .viewer-image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 75px);
    }

    .viewer-close {
        top: 6px;
        right: 8px;

        width: 46px;
        height: 46px;

        font-size: 39px;
    }
}
/* ========================================
   Flickr-style photostream
======================================== */

.photo-stream {
    width: 100%;
}

.photo-stream-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    overflow: hidden;
}

.photo-stream-row-last {
    justify-content: flex-start;
}

.stream-photo {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    text-decoration: none;
}

.stream-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.stream-photo:hover img {
    opacity: 0.88;
}

/* Give photostream pages more usable width */

.gallery-page .gallery-content {
    width: calc(100% - 32px);
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

/* Smaller spacing on phones */

@media (max-width: 700px) {
    .gallery-page .gallery-content {
        width: calc(100% - 16px);
        padding-top: 12px;
    }

    .photo-stream-row {
        gap: 3px;
        margin-bottom: 3px;
    }
}
/* Improve photostream centering on narrow screens */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .gallery-page {
        margin: 0;
        overflow-x: hidden;
    }

    .gallery-page .gallery-content {
        width: 100%;
        max-width: 100%;
        padding: 12px 8px 40px;
        margin-left: auto;
        margin-right: auto;
    }

    .photo-stream {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .photo-stream-row-last {
        justify-content: center;
    }
}
/* ========================================
   Fixed photostream navigation bar
======================================== */

.photostream-page {
    margin: 0;
    overflow-x: hidden;
}

.photostream-bar {
    position: sticky;
    top: 0;
    z-index: 5000;

    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;

    background: rgba(20, 20, 20, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.photostream-breadcrumb {
    width: 100%;
    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    line-height: 1;
}

.photostream-breadcrumb a,
.photostream-breadcrumb span {
    color: #ffffff;
}

.photostream-breadcrumb a {
    text-decoration: none;
}

.photostream-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-divider {
    opacity: 0.55;
}

.breadcrumb-current {
    font-weight: 600;
}

/* Make the photographs nearly edge-to-edge */

.photostream-content {
    width: calc(100% - 16px);
    max-width: none;
    margin: 0 auto;
    padding: 8px 0 30px;
}

/* ========================================
   Large photograph viewer
======================================== */

.photostream-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.94);
}

.photostream-lightbox.is-open {
    display: flex;
}

.photostream-lightbox-image {
    display: block;

    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 60px);

    width: auto;
    height: auto;

    object-fit: contain;
}

.photostream-lightbox-close {
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 10001;

    padding: 0;
    border: 0;

    color: #ffffff;
    background: transparent;

    font-size: 48px;
    line-height: 1;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .photostream-bar {
        min-height: 46px;
    }

    .photostream-breadcrumb {
        padding: 0 10px;
        gap: 7px;
        font-size: 15px;
    }

    .photostream-content {
        width: calc(100% - 6px);
        padding-top: 3px;
    }

    .photostream-lightbox {
        padding: 8px;
    }

    .photostream-lightbox-image {
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .photostream-lightbox-close {
        top: 8px;
        right: 12px;
        font-size: 44px;
    }
}
/* Lightbox previous and next arrows */

.photostream-lightbox-arrow {
    position: fixed;
    top: 50%;
    z-index: 10001;

    width: 60px;
    height: 90px;

    padding: 0;
    border: 0;

    color: #ffffff;
    background: rgba(0, 0, 0, 0.25);

    font-size: 52px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);
}

.photostream-lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.photostream-lightbox-previous {
    left: 8px;
}

.photostream-lightbox-next {
    right: 8px;
}

@media (max-width: 700px) {
    .photostream-lightbox-arrow {
        width: 44px;
        height: 70px;
        font-size: 40px;
        background: rgba(0, 0, 0, 0.4);
    }

    .photostream-lightbox-previous {
        left: 0;
    }

    .photostream-lightbox-next {
        right: 0;
    }
}
/* Photostream information panel */

.photostream-lightbox-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10003;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    min-height: 58px;
    padding: 0 18px;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.photostream-info-button {
    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);

    font-size: 15px;
    cursor: pointer;
}

.photostream-info-button:hover,
.photostream-info-button[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.25);
}

.photostream-lightbox-toolbar .photostream-lightbox-close {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;

    font-size: 36px;
    line-height: 40px;
}

.photostream-lightbox-viewer {
    position: fixed;
    top: 58px;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: stretch;
}

.photostream-lightbox-image-area {
    flex: 1 1 auto;

    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 0;
    padding: 20px 85px;
}

.photostream-lightbox-image-area .photostream-lightbox-image {
    position: static;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.photostream-info-panel {
    flex: 0 0 340px;

    width: 340px;
    max-width: 36vw;
    padding: 24px;

    overflow-y: auto;

    color: #ffffff;
    background: rgba(22, 22, 22, 0.97);

    border-left: 1px solid rgba(255, 255, 255, 0.15);

    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;

    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.photostream-lightbox.information-open .photostream-info-panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.photostream-info-panel h2 {
    margin: 0 0 22px;

    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
}

.photostream-info-list {
    margin: 0;
}

.photostream-info-row {
    padding: 11px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.photostream-info-row dt {
    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.photostream-info-row dd {
    margin: 0;

    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.photostream-no-info {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .photostream-lightbox-toolbar {
        padding: 0 10px;
    }

    .photostream-info-button {
        padding: 8px 11px;
        font-size: 14px;
    }

    .photostream-lightbox-image-area {
        padding: 15px 50px;
    }

    .photostream-info-panel {
        position: fixed;
        top: 58px;
        right: 0;
        bottom: 0;

        width: min(85vw, 340px);
        max-width: none;
    }
}
/* Photostream sorting control */

.photostream-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.photostream-sort-control {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;

    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
}

.photostream-sort-control label {
    color: rgba(255, 255, 255, 0.78);
}

.photostream-sort-control select {
    min-width: 215px;
    padding: 7px 32px 7px 10px;

    color: #ffffff;
    background-color: #333333;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;

    font-size: 14px;
    cursor: pointer;
}

.photostream-sort-control select:hover {
    background-color: #444444;
    border-color: rgba(255, 255, 255, 0.65);
}

.photostream-sort-control select:focus {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

.photostream-sort-control option {
    color: #ffffff;
    background: #333333;
}

@media (max-width: 720px) {
    .photostream-bar {
        flex-wrap: wrap;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .photostream-sort-control {
        width: 100%;
        margin-left: 0;
    }

    .photostream-sort-control select {
        flex: 1;
        min-width: 0;
    }
}
/* Lightbox breadcrumb and toolbar */

.photostream-lightbox-toolbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 58px;
    padding: 0 18px;

    background: rgba(20, 20, 20, 0.96);
    box-sizing: border-box;
}

.photostream-lightbox-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;

    color: #ffffff;
    font-size: 16px;
    white-space: nowrap;
}

.photostream-lightbox-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.photostream-lightbox-breadcrumb a:hover {
    text-decoration: underline;
}

.photostream-lightbox-breadcrumb .breadcrumb-divider {
    color: rgba(255, 255, 255, 0.5);
}

.photostream-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.photostream-lightbox-viewer {
    padding-top: 58px;
    box-sizing: border-box;
}

@media (max-width: 650px) {
    .photostream-lightbox-toolbar {
        min-height: 52px;
        padding: 0 10px;
        gap: 8px;
    }

    .photostream-lightbox-breadcrumb {
        gap: 6px;
        overflow: hidden;
        font-size: 14px;
    }

    .photostream-lightbox-breadcrumb a {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .photostream-lightbox-actions {
        gap: 5px;
    }

    .photostream-info-button {
        font-size: 0;
    }

    .photostream-info-button::before {
        content: "\24D8";
        font-size: 23px;
    }

    .photostream-lightbox-viewer {
        padding-top: 52px;
    }
}
/* =========================================================
   SITE COLORS
   ========================================================= */

:root {
    --site-background: #f4f4f4;
    --site-surface: #ffffff;
    --site-surface-secondary: #eeeeee;

    --site-text: #202020;
    --site-muted-text: #686868;

    --site-border: #d7d7d7;
    --site-hover: #e5e5e5;

    --site-header-background: #ffffff;
    --site-header-text: #202020;

    --site-menu-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);

    --site-accent: #2d6ca2;
    --site-accent-text: #ffffff;
}

html[data-theme="dark"] {
    --site-background: #121212;
    --site-surface: #1d1d1d;
    --site-surface-secondary: #292929;

    --site-text: #f2f2f2;
    --site-muted-text: #b8b8b8;

    --site-border: #3e3e3e;
    --site-hover: #333333;

    --site-header-background: #191919;
    --site-header-text: #ffffff;

    --site-menu-shadow:
        0 10px 35px rgba(0, 0, 0, 0.55);

    --site-accent: #4b8ec7;
    --site-accent-text: #ffffff;
}

html,
body {
    background: var(--site-background);
    color: var(--site-text);
}

body,
button,
input,
select,
textarea {
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

/* =========================================================
   SITE HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--site-header-background);
    color: var(--site-header-text);

    border-bottom: 1px solid var(--site-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 62px;

    padding: 0 22px;
    box-sizing: border-box;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;

    color: var(--site-header-text);
    text-decoration: none;

    font-size: 21px;
    font-weight: 700;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand-icon {
    font-size: 24px;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-left: auto;
}

.site-navigation-link,
.site-dropdown-button,
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 0 13px;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: var(--site-header-text);

    font: inherit;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.site-navigation-link:hover,
.site-dropdown-button:hover,
.theme-toggle:hover {
    background: var(--site-hover);
    text-decoration: none;
}

.site-clients-link {
    color: var(--site-accent);
}

.site-menu-item {
    position: relative;
}

.site-menu-arrow {
    font-size: 11px;
}

.site-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    display: none;

    width: 230px;
    padding: 8px;

    background: var(--site-surface);
    color: var(--site-text);

    border: 1px solid var(--site-border);
    border-radius: 9px;

    box-shadow: var(--site-menu-shadow);
}

.site-menu-dropdown.menu-open > .site-dropdown-menu {
    display: block;
}

.site-dropdown-link,
.site-submenu-button,
.site-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 40px;

    padding: 8px 11px;
    box-sizing: border-box;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: var(--site-text);

    font: inherit;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.site-dropdown-link:hover,
.site-submenu-button:hover,
.site-submenu a:hover {
    background: var(--site-hover);
    text-decoration: none;
}

.site-submenu-item {
    position: relative;
}

.site-submenu {
    position: absolute;
    top: -8px;
    left: calc(100% + 8px);

    display: none;

    width: 240px;
    padding: 8px;

    background: var(--site-surface);

    border: 1px solid var(--site-border);
    border-radius: 9px;

    box-shadow: var(--site-menu-shadow);
}

.site-submenu-item.submenu-open > .site-submenu {
    display: block;
}

.theme-toggle {
    border: 1px solid var(--site-border);
}

.theme-toggle-icon {
    width: 20px;
    font-size: 19px;
    line-height: 1;
}

/* =========================================================
   MOBILE HEADER
   ========================================================= */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 42px;

    margin-left: auto;
    padding: 9px;

    border: 1px solid var(--site-border);
    border-radius: 6px;

    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--site-header-text);
}

@media (max-width: 850px) {
    .site-header-inner {
        flex-wrap: wrap;
        min-height: 58px;
        padding: 8px 12px;
    }

    .mobile-menu-button {
        display: block;
    }

    .site-navigation {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;

        width: 100%;
        margin: 8px 0 0;
        padding-top: 8px;

        border-top: 1px solid var(--site-border);
    }

    .site-navigation.site-navigation-open {
        display: flex;
    }

    .site-navigation-link,
    .site-dropdown-button,
    .theme-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .site-dropdown-menu {
        position: static;

        width: auto;
        margin: 4px 0 4px 14px;

        box-shadow: none;
    }

    .site-submenu {
        position: static;

        width: auto;
        margin: 4px 0 4px 14px;

        box-shadow: none;
    }
}
/* Keep the SticksPhoto logo readable in the site header */

.site-header .site-brand,
.site-header .site-brand:link,
.site-header .site-brand:visited,
.site-header .site-brand:hover,
.site-header .site-brand:active {
    color: var(--site-header-text) !important;
    text-decoration: none;
}

.site-header .site-brand-name,
.site-header .site-brand-icon {
    color: inherit;
}
/* =========================================================
   HOME PAGE WITH SITE HEADER
   Keep header at top and hero beneath it
   ========================================================= */

body.home-page {
    display: block !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header spans the full top of the Home page */

body.home-page .site-header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;
    margin: 0;

    box-sizing: border-box;
}

/* Center only the Home-page hero area */

body.home-page .hero {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: calc(100vh - 63px);

    margin: 0;
    padding: 30px 20px;

    box-sizing: border-box;
}

/* Prevent the existing panel from being pushed sideways */

body.home-page .hero-panel {
    width: min(700px, 100%);
    margin: 0 auto;

    box-sizing: border-box;
}
/* ==========================================================
   BIRDS LIGHTBOX ZOOM
   ========================================================== */

.photostream-lightbox-image-area {
    overflow: hidden;
    touch-action: none;
}

.photostream-lightbox-image {
    transform-origin: center center;
    transition: transform 180ms ease;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.photostream-lightbox-image.is-zoomed {
    cursor: grab;
    transition: none;
}

.photostream-lightbox-image.is-dragging {
    cursor: grabbing;
}

/* Automatic video gallery items */

.stream-video {
    position: relative;
    overflow: hidden;
    background: #111;
}

.stream-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    padding-left: 5px;

    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;

    color: white;
    background: rgba(0, 0, 0, 0.6);

    font-size: 30px;
    line-height: 1;

    pointer-events: none;
}

.stream-video:hover .stream-video-play {
    background: rgba(0, 0, 0, 0.85);
    transform: translate(-50%, -50%) scale(1.08);
}

/* Video tiles in the photograph stream */

.stream-video {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.stream-video-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    background: #111;
}

.stream-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    padding-left: 5px;

    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;

    color: white;
    background: rgba(0, 0, 0, 0.62);

    font-size: 30px;
    line-height: 1;

    pointer-events: none;
    z-index: 2;
}

.stream-video:hover .stream-video-play {
    background: rgba(0, 0, 0, 0.85);
    transform: translate(-50%, -50%) scale(1.08);
}

.photostream-lightbox-video {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 110px);
    width: auto;
    height: auto;
    margin: auto;
    background: black;
}

.photostream-lightbox-video[hidden],
.photostream-lightbox-image[hidden] {
    display: none !important;
}

/* STICKSPHOTO APP HELP START */
.sticks-app-back {
    width: min(1400px, calc(100% - 32px));
    margin: 18px auto 4px;
}
.sticks-app-back a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    background: rgba(127,127,127,.10);
}
.sticks-app-help {
    width: min(1100px, calc(100% - 32px));
    margin: 22px auto 34px;
}
.sticks-app-help details {
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 12px;
    background: rgba(127,127,127,.06);
    overflow: hidden;
}
.sticks-app-help summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
}
.sticks-app-help-body {
    padding: 0 18px 16px;
    line-height: 1.6;
}
.sticks-app-help-body ol {
    margin: 0;
    padding-left: 1.35rem;
}
.sticks-app-help-body li + li {
    margin-top: 6px;
}
@media (max-width: 650px) {
    .sticks-app-back,
    .sticks-app-help {
        width: min(100% - 18px, 1100px);
    }
}
/* STICKSPHOTO APP HELP END */

/* STICKSPHOTO APP CONSISTENCY START */

.sticks-app-back {
    width: min(1400px, calc(100% - 32px));
    margin: 18px auto 6px;
}

.sticks-app-back a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    background: rgba(127,127,127,.10);
}

.sticks-app-back a:hover,
.sticks-app-back a:focus-visible {
    background: rgba(127,127,127,.18);
}

.sticks-app-kicker {
    margin: 0 0 7px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    opacity: .66;
}

.sticks-app-help {
    width: min(1100px, calc(100% - 32px));
    margin: 28px auto 38px;
}

.sticks-app-help details {
    border: 1px solid rgba(127,127,127,.28);
    border-radius: 12px;
    background: rgba(127,127,127,.06);
    overflow: hidden;
}

.sticks-app-help summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
}

.sticks-app-help-body {
    padding: 0 18px 16px;
    line-height: 1.6;
}

.sticks-app-help-body ol {
    margin: 0;
    padding-left: 1.35rem;
}

.sticks-app-help-body li + li {
    margin-top: 6px;
}

@media (max-width: 650px) {
    .sticks-app-back,
    .sticks-app-help {
        width: min(100% - 18px, 1100px);
    }

    .sticks-app-back {
        margin-top: 10px;
    }

    .sticks-app-back a {
        min-height: 46px;
    }
}

/* STICKSPHOTO APP CONSISTENCY END */

/* STICKSPHOTO ACCESSIBLE H1 START */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* STICKSPHOTO ACCESSIBLE H1 END */

/* About page */

.about-page {
    max-width: 1100px;
    margin: 0 auto;
}

.about-hero {
    position: relative;
    min-height: 360px;
    margin: 20px 0 40px;
    overflow: hidden;
    border-radius: 18px;

    background-image: url("/images/about/about-hero.jpg");
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.about-hero-content {
    position: relative;
    z-index: 1;

    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
    text-align: center;
}

.about-hero-content h1 {
    margin: 0;
    color: white;
    font-size: clamp(38px, 7vw, 72px);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
}

@media (max-width: 700px) {
    .about-hero,
    .about-hero-content {
        min-height: 260px;
    }
}

