/* ===============================================================
   KEYBOARD ACCESSIBILITY
   Skip link, focus indicators and the focus target for <main>.
   =============================================================== */

/* Off-screen until focused, then pinned to the top-left of the viewport. */
.skip-link {
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    left: 0.5rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.25rem;
    position: fixed;
    text-transform: uppercase;
    top: 0.5rem;
    transform: translateY(-200%);
    z-index: 2000;
}

.skip-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(0);
}

/* <main> is focused programmatically by the skip link, so it must not draw a
   ring of its own. */
#main-content:focus {
    outline: none;
}

/* Bootstrap 5.1 clears the outline on .btn:focus and relies on a box-shadow
   ring that several of the custom button styles below flatten. Restore a
   single, consistent indicator for every focusable control. Specificity is
   matched to the theme's rules and custom.css loads last, so these win. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn:focus-visible:active,
.sidebar-link:focus-visible,
.reset-anchor:focus-visible,
.mobile-menu-link:focus-visible,
.menu-toggle:focus-visible,
.mobile-menu-close:focus-visible,
.back-link:focus-visible,
.home-cta-btn:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

/* The red ring disappears against the dark jumbotron and footer. */
.showtrak-jumbotron a:focus-visible,
.showtrak-jumbotron .btn:focus-visible,
footer a:focus-visible,
footer .btn:focus-visible {
    outline-color: #fff;
}

/* The skip link's own chip is already primary-coloured, so inset a white ring
   instead of stacking red on red. */
.skip-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -6px;
}

/* Containers that only take focus programmatically (the offcanvas menu and the
   lightbox dialog) should not draw the control ring around the whole panel. */
.offcanvas:focus-visible,
.glightbox-container:focus-visible {
    outline: none;
}

/* Anchors the .stretched-link overlay on the project/album cards so the whole
   card stays clickable without a JS onclick handler on a non-focusable div. */
.listing-item {
    position: relative;
}

/* Mirror the theme's :hover treatment so a keyboard user gets the same
   "this card is active" feedback a mouse user does. */
.listing-item:focus-within .listing-img-holder::before {
    border: 10px solid white;
}

.listing-item:focus-within .listing-item-heading {
    color: var(--bs-primary);
}

.listing-item:focus-within .listing-btn {
    opacity: 1;
    transform: none;
}

.paragraph {
    font-size: 1.2rem;
    text-align: justify;
}

.text-justify {
    text-align: justify;
}

.sidebar {
    background-color: rgb(255, 232, 190) !important;
    border-right: solid var(--bs-primary) 4px;
}

.sidebar-inner {
    background-color: transparent !important;
}

/* Matches the 32px below the social links (their ul mb-3 + the block's pb) */
.sidebar-brand {
    padding-top: 2rem;
}

.btn {
    border-radius: 0 !important;
}

.sidebar-link:hover {
    background-color: transparent !important;
}

.showtrak-jumbotron {
    background: radial-gradient(circle at 20% 80%, #0c091c 0%, #151232 100%);
}

@media (max-width: 575.98px) {
    .page-holder .container-fluid {
        --bs-gutter-x: 1rem;
    }
}

/* Below lg the sidebar is replaced by the full-screen mobile menu */
@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }

    .page-holder,
    .page-holder.active {
        margin-left: 0;
        width: 100%;
    }
}

.menu-toggle {
    color: var(--bs-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.menu-toggle:hover,
.menu-toggle:focus {
    color: var(--bs-primary);
}

.menu-toggle i {
    font-size: 1.15rem;
}

.mobile-menu {
    background: rgb(255, 232, 190);
    width: 100%;
}

.mobile-menu-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1.25rem;
}

.mobile-menu-close {
    color: var(--bs-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    color: var(--bs-primary);
}

.mobile-menu-body {
    padding: 1.5rem 1.25rem 2rem;
}

.mobile-menu-brand {
    display: block;
    margin: 0 auto 1.75rem;
    max-width: 13rem;
    width: 100%;
}

.mobile-menu-logo {
    display: block;
    height: auto;
    width: 100%;
}

.mobile-menu-link {
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #120e18;
    display: flex;
    justify-content: center;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    font-weight: 700;
    gap: 0.6rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    padding: 0.85rem 0;
    text-transform: uppercase;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    color: var(--bs-primary);
    text-decoration: none;
}

.mobile-menu-link-icon {
    font-size: 0.85rem;
    opacity: 0.55;
}

.mobile-menu-social {
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.25rem;
    text-align: center;
}

.mobile-menu-social .list-inline-item:not(:last-child) {
    margin-right: 1.5rem;
}

.mobile-menu-social a {
    align-items: center;
    color: #120e18;
    display: inline-flex;
    font-weight: 600;
    gap: 0.5rem;
}

.mobile-menu-social a:hover,
.mobile-menu-social a:focus {
    color: var(--bs-primary);
}

.back-link {
    background: transparent;
    border-color: transparent;
    color: var(--bs-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0;
    text-transform: uppercase;
}

.back-link:hover,
.back-link:focus,
.back-link:active {
    background: transparent;
    border-color: transparent;
    color: var(--bs-primary);
    text-decoration: underline;
}

.back-link i {
    font-size: 0.9em;
}

/* Three tracks so the logo centres on the viewport, not on the free space
   left over beside the menu button */
.mobile-header {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0.5rem 0;
}

.mobile-header-brand {
    display: block;
    justify-self: center;
    line-height: 0;
}

.mobile-header-logo {
    display: block;
    height: 2.75rem;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.mobile-header .menu-toggle {
    justify-self: end;
}

.showtrak-jumbotron-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 3vw, 1.25rem);
    width: 100%;
}

.showtrak-jumbotron-logo {
    width: 80px;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .showtrak-jumbotron-logos {
        justify-content: flex-end;
    }
}

.home-cta-banner {
    background: rgb(255, 232, 190);
    color: var(--bs-body-color);
    border-bottom: 4px solid var(--bs-primary);
}

.home-cta-eyebrow {
    color: #f5b40d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-cta-text {
    color: rgba(var(--bs-body-color-rgb), 0.88);
    line-height: 1.55;
    max-width: 52rem;
}

.home-cta-btn {
    border: 2px solid #f5b40d;
    font-weight: 700;
    white-space: nowrap;
}

.home-cta-btn:hover,
.home-cta-btn:focus {
    background-color: #ffc53d;
    border-color: #ffc53d;
}

.btn-xxl {
    padding: 1rem 1.5rem;
    font-size: 1.85rem;
    align-items: center;
    border-radius: 0.3rem;
}

.album-header-banner {
    aspect-ratio: 16/7;
    object-fit: cover;
}


/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .album-header-banner {
        aspect-ratio: 16/5;
    }
}

@media (max-width: 991.98px) {
    .home-cta-btn {
        width: 100%;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .album-header-banner {
        aspect-ratio: 16/4;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .album-header-banner {
        aspect-ratio: 16/3;
    }
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .album-header-banner {
        aspect-ratio: 16/2;
    }
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .album-header-banner {
        aspect-ratio: 16/2;
    }
}

.photography-4-3 {
    aspect-ratio: 3/4;
    object-fit: cover;
}

.company-logo-container {
    transition-duration: 300ms;
    background: rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    height: 7rem;
}

.company-logo-container:hover {
    background: rgba(0,0,0,0.1);
}

.company-text {
    font-size: 1.5rem;
    color: black;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.img-mask-to-black {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="white" width="100" height="100"/></svg>');
    filter: brightness(0);
}

.img-mask-to-white {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="white" width="100" height="100"/></svg>');
    filter: brightness(0) invert(1);
}

.about-page {
    --about-ink: #161616;
    --about-muted: #666;
    --about-surface: #f7f4ef;
    --about-border: rgba(0, 0, 0, 0.1);
}

.about-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #f4fbff 52%, #ffffff 100%);
    border: 1px solid var(--about-border);
    padding: clamp(1.5rem, 4vw, 4.5rem);
}

.about-kicker {
    color: var(--bs-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-title {
    color: var(--about-ink);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 0.94;
}

.about-statement {
    color: var(--about-muted);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.55;
    max-width: 56rem;
}

.about-actions .btn {
    min-height: 2.75rem;
    padding-inline: 1rem;
}

.about-profile-panel {
    display: grid;
    gap: 1rem;
    margin-left: auto;
    max-width: 26rem;
}

.about-profile-image {
    aspect-ratio: 4/5;
    border: 1px solid var(--about-border);
    max-height: 32rem;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.about-profile-meta {
    display: grid;
    gap: 0.75rem;
}

.about-profile-meta span {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--about-border);
    color: var(--about-ink);
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.about-profile-meta i {
    color: var(--bs-primary);
    width: 1rem;
}

.about-stat {
    background: var(--about-surface);
    border-left: 4px solid var(--bs-primary);
    min-height: 100%;
    padding: 1.25rem;
}

.about-stat-number {
    color: var(--about-ink);
    display: block;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
}

.about-stat-label {
    color: var(--about-muted);
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

.about-section-heading {
    margin-bottom: 1.5rem;
}

.about-experience-card {
    background: #fff;
    border: 1px solid var(--about-border);
    border-top: 4px solid var(--bs-primary);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.05);
    height: 100%;
    padding: 1.2rem;
}

.about-experience-card .h4 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.about-experience-card .h5 {
    font-size: 1.12rem;
    line-height: 1.25;
}

.about-experience-company,
.about-experience-date {
    color: var(--about-muted);
    font-size: 0.92rem;
}

.about-experience-list {
    color: var(--about-ink);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    padding-left: 1.1rem;
}

.about-experience-list li + li {
    margin-top: 0.45rem;
}

.about-experience-links .btn {
    font-size: 0.86rem;
    font-weight: 700;
}

.about-capabilities {
    border-top: 1px solid var(--about-border);
    padding-top: 3rem;
}

.about-skill-group {
    background: var(--about-surface);
    border: 1px solid var(--about-border);
    padding: 1.25rem;
}

.about-tag-list,
.about-cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.about-tag,
.about-cert-list span {
    background: #fff;
    border: 1px solid var(--about-border);
    color: var(--about-ink);
    display: inline-flex;
    font-size: 0.95rem;
    line-height: 1.25;
    padding: 0.55rem 0.75rem;
}

.about-tag-strong {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 700;
}

@media (min-width: 1200px) {
    .about-capabilities .sticky-xl-top {
        top: 2rem;
        z-index: 1;
    }
}

@media (max-width: 575.98px) {
    .about-page .container-fluid {
        overflow-x: hidden;
    }

    .about-hero {
        border-left: 0;
        border-right: 0;
        margin-left: calc(-0.5 * var(--bs-gutter-x));
        margin-right: calc(-0.5 * var(--bs-gutter-x));
    }

    .about-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .about-stat {
        padding: 1rem 0.75rem;
    }

    .about-stat-label {
        font-size: 0.76rem;
        overflow-wrap: anywhere;
    }
}