:root {
    --page-background: #F3F0E8;
    --page-text: #1E211C;
    --accent: #B8914A;
    --hover-olive: #58624A;
    --nav-height: 82px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    margin: 0;
    background: var(--page-background);
    color: var(--page-text);
    font-family: Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility;
}

img,
video,
.hero-section {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: var(--page-text);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

#mainNavbar {
    min-height: var(--nav-height);
    padding: 0;
    border-bottom: 1px solid rgba(30, 33, 28, 0.14);
    background: rgba(243, 240, 232, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 220ms ease, border-color 220ms ease;
}

#mainNavbar.is-scrolled,
#mainNavbar:has(.navbar-collapse.show) {
    background: rgba(243, 240, 232, 0.96);
    border-color: rgba(30, 33, 28, 0.1);
}

.navbar-shell,
.content-shell {
    padding-right: clamp(1.25rem, 4vw, 4.5rem);
    padding-left: clamp(1.25rem, 4vw, 4.5rem);
}

.navbar-brand {
    margin: 0;
    padding: 0;
    color: var(--page-text);
    font-size: clamp(0.78rem, 1.05vw, 0.94rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.navbar-brand:hover,
.navbar-brand:focus-visible {
    color: var(--accent);
}

.navbar-nav {
    gap: clamp(1rem, 2.5vw, 2.75rem);
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.4rem 0 !important;
    color: rgba(30, 33, 28, 0.68);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    transition: color 180ms ease;
}

.navbar-nav .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-tools,
.social-icons {
    display: flex;
    align-items: center;
}

.navbar-tools {
    gap: 0.8rem;
    margin-left: auto;
}

.social-icons {
    gap: 0.45rem;
}

.social-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--page-text);
    place-items: center;
    text-decoration: none;
    transition: color 180ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
    color: var(--accent);
}

.social-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.social-icon .icon-dot {
    fill: currentColor;
    stroke: none;
}

.site-footer {
    border-top: 1px solid rgba(243, 240, 232, 0.14);
    background: var(--page-text);
    color: var(--page-background);
}

.footer-inner,
.footer-socials,
.footer-top-link {
    align-items: center;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 6.5rem;
}

.footer-copyright {
    margin: 0;
    color: rgba(243, 240, 232, 0.64);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.footer-socials {
    display: flex;
    gap: 0.35rem;
    justify-self: end;
}

.footer-social-icon {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    color: rgba(243, 240, 232, 0.72);
    place-items: center;
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-social-icon:hover,
.footer-social-icon:focus-visible {
    color: var(--accent);
}

.footer-social-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.footer-social-icon .icon-dot {
    fill: currentColor;
    stroke: none;
}

.footer-top-link {
    display: flex;
    justify-self: center;
    color: rgba(243, 240, 232, 0.64);
    font-size: 0.56rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-top-link:hover,
.footer-top-link:focus-visible {
    color: var(--accent);
    transform: translateY(-0.12rem);
}

.navbar-toggler {
    padding: 0.25rem;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-image:
        linear-gradient(var(--page-text), var(--page-text)),
        linear-gradient(var(--page-text), var(--page-text)),
        linear-gradient(var(--page-text), var(--page-text));
    background-repeat: no-repeat;
    background-position: center 22%, center 50%, center 78%;
    background-size: 100% 1.5px;
}

.hero-section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    padding-top: var(--nav-height);
    background-color: var(--page-text);
    isolation: isolate;
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    content: "";
}

.hero-section::before {
    z-index: 0;
    inset: -2%;
    background-image: url("media/imgCompressed/siteCompressed/HERO.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: hero-image-settle 5.5s cubic-bezier(0.22, 0.78, 0.28, 1) forwards;
    transform: scale(1.03);
    will-change: transform;
}

.hero-section::after {
    z-index: 1;
    inset: 0;
    background: rgba(30, 33, 28, 0.68);
    animation: hero-exposure-settle 4.5s cubic-bezier(0.45, 0, 0.2, 1) 300ms both;
    will-change: opacity;
}

.hero-copy {
    padding-bottom: 0;
    color: var(--page-background);
    text-shadow: 0 2px 24px rgba(30, 33, 28, 0.28);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: calc(100svh - var(--nav-height));
    align-items: center;
}

.viewfinder-guides,
.exposure-meter,
.scroll-cue {
    position: absolute;
    z-index: 2;
}

.viewfinder-guides {
    inset: 0;
    pointer-events: none;
}

.viewfinder-corner {
    position: absolute;
    width: clamp(1.35rem, 2.4vw, 1.9rem);
    height: clamp(1.35rem, 2.4vw, 1.9rem);
    border-color: rgba(243, 240, 232, 0.58);
    border-style: solid;
    border-width: 0;
}

.viewfinder-corner-top-left,
.viewfinder-corner-top-right {
    top: calc(var(--nav-height) + clamp(1.25rem, 2.5vw, 2.25rem));
    border-top-width: 1px;
}

.viewfinder-corner-bottom-left,
.viewfinder-corner-bottom-right {
    bottom: clamp(1.25rem, 2.5vw, 2.25rem);
    border-bottom-width: 1px;
}

.viewfinder-corner-top-left,
.viewfinder-corner-bottom-left {
    left: clamp(1.25rem, 2.5vw, 2.25rem);
    border-left-width: 1px;
}

.viewfinder-corner-top-right,
.viewfinder-corner-bottom-right {
    right: clamp(1.25rem, 2.5vw, 2.25rem);
    border-right-width: 1px;
}

.exposure-meter {
    top: calc(50% + var(--nav-height) / 2);
    right: clamp(2.5rem, 4vw, 4.5rem);
    width: 3.5rem;
    color: rgba(243, 240, 232, 0.62);
    transform: translateY(-50%);
}

.exposure-meter-title {
    display: block;
    margin: 0 0 0.75rem;
    padding-right: 0.05rem;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: right;
}

.exposure-scale {
    position: relative;
    display: grid;
    gap: 0.72rem;
}

.exposure-scale::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: rgba(243, 240, 232, 0.25);
    content: "";
}

.exposure-tick {
    position: relative;
    display: flex;
    min-height: 1px;
    align-items: center;
    justify-content: flex-end;
}

.exposure-tick::before {
    position: absolute;
    right: 1.65rem;
    color: rgba(243, 240, 232, 0.48);
    content: attr(data-value);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.exposure-tick::after {
    position: relative;
    z-index: 1;
    width: 0.55rem;
    height: 1px;
    background: rgba(243, 240, 232, 0.48);
    content: "";
}

.exposure-tick-major::after {
    width: 1rem;
    background: rgba(243, 240, 232, 0.72);
}

.exposure-tick-zero::after {
    width: 1.4rem;
    height: 2px;
    animation: exposure-reading-settle 4.5s cubic-bezier(0.45, 0, 0.2, 1) 300ms both;
    background: var(--hover-olive);
    box-shadow: 0 0 0 1px rgba(243, 240, 232, 0.2);
    will-change: transform;
}

.exposure-tick-zero::before {
    color: var(--page-background);
}

.scroll-cue {
    bottom: clamp(1.25rem, 2.5vw, 2.25rem);
    left: 50%;
    display: flex;
    align-items: center;
    color: rgba(243, 240, 232, 0.68);
    flex-direction: column;
    font-size: 0.54rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.18em;
    text-decoration: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
    color: var(--page-background);
}

.scroll-cue-line {
    width: 1px;
    height: clamp(1.6rem, 3vw, 2.25rem);
    background: rgba(243, 240, 232, 0.58);
    transition: background-color 200ms ease, transform 200ms ease;
}

.scroll-cue:hover .scroll-cue-line,
.scroll-cue:focus-visible .scroll-cue-line {
    background: var(--hover-olive);
    transform: translateY(0.2rem);
}

.section-kicker {
    margin: 0 0 0.9rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.75rem, 6.5vw, 5.75rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.hero-title-line {
    display: block;
    overflow: hidden;
    padding: 0 0.06em 0.08em 0;
    margin: 0 -0.06em -0.08em 0;
}

.hero-title-line > span {
    display: block;
    opacity: 0;
    transform: translateY(115%);
    animation: hero-title-reveal 3.05s cubic-bezier(0.22, 0.85, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.hero-title-line:nth-child(1) > span {
    animation-delay: 300ms;
}

.hero-title-line:nth-child(2) > span {
    animation-delay: 300ms;
}

.hero-role {
    margin: 1.25rem 0 0;
    padding: 0;
    opacity: 0;
    text-align: left;
    transform: translateY(0.65rem);
    animation: hero-role-reveal 1.4s cubic-bezier(0.22, 0.85, 0.3, 1) 300ms forwards;
}

.hero-role [data-letter-swap] {
    display: inline-block;
    font-variant-ligatures: none;
    white-space: nowrap;
}

.letter-swap-character {
    display: inline-block;
}

.letter-swap-character.is-animating {
    will-change: transform;
}

@keyframes hero-title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-role-reveal {
    from {
        opacity: 0;
        transform: translateY(0.65rem);
    }

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

@keyframes hero-image-settle {
    to {
        transform: scale(1);
    }
}

@keyframes hero-exposure-settle {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.265;
    }
}

@keyframes exposure-reading-settle {
    from {
        transform: translateY(calc(4.32rem + 6px));
    }

    to {
        transform: translateY(0);
    }
}

.content-section h2 {
    margin: 0;
    font-size: clamp(2.25rem, 5.5vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.content-section {
    display: flex;
    min-height: 56svh;
    align-items: flex-end;
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    border-top: 1px solid rgba(30, 33, 28, 0.12);
}

.photography-section {
    min-height: auto;
    align-items: stretch;
}

.photography-grid {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.photo-card {
    position: relative;
    display: block;
    height: clamp(17rem, 34vw, 28rem);
    overflow: hidden;
    background: var(--page-text);
    color: var(--page-background);
    text-decoration: none;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease, filter 300ms ease;
}

.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(30, 33, 28, 0.72) 100%);
    transition: background-color 300ms ease;
}

.photo-card-title {
    position: absolute;
    right: 7rem;
    bottom: 1.15rem;
    left: 1.25rem;
    font-size: clamp(0.78rem, 1.3vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.14em;
}

.photo-card-view {
    position: absolute;
    right: 1.25rem;
    bottom: 1.18rem;
    color: var(--page-background);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 220ms ease, transform 220ms ease;
    white-space: nowrap;
}

.photo-card:hover,
.photo-card:focus-visible {
    color: var(--page-background);
    outline: 2px solid var(--hover-olive);
    outline-offset: 4px;
}

.photo-card:hover img,
.photo-card:focus-visible img {
    filter: saturate(1.06);
    transform: scale(1.035);
}

.photo-card:hover .photo-card-overlay,
.photo-card:focus-visible .photo-card-overlay {
    background-color: rgba(88, 98, 74, 0.22);
}

.photo-card:hover .photo-card-view,
.photo-card:focus-visible .photo-card-view {
    opacity: 1;
    transform: translateY(0);
}

.films-section {
    min-height: auto;
    align-items: stretch;
}

.section-heading-row,
.section-explore-link {
    display: flex;
    align-items: flex-end;
}

.section-heading-row {
    justify-content: space-between;
    gap: 2rem;
}

.section-explore-link {
    padding-bottom: 0.15rem;
    color: rgba(30, 33, 28, 0.62);
    font-size: 0.58rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.films-section .section-explore-link {
    color: rgba(243, 240, 232, 0.66);
}

.section-explore-link:hover,
.section-explore-link:focus-visible,
.films-section .section-explore-link:hover,
.films-section .section-explore-link:focus-visible {
    color: var(--accent);
    transform: translateY(-0.12rem);
}

.films-grid {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.film-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #11130F;
    color: var(--page-background);
    aspect-ratio: 16 / 9;
    text-decoration: none;
}

.film-card-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 300ms ease, transform 600ms ease;
}

.film-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(30, 33, 28, 0.05) 35%, rgba(30, 33, 28, 0.78) 100%),
        rgba(88, 98, 74, 0);
    transition: background-color 300ms ease;
}

.film-card-title,
.film-card-view {
    position: absolute;
    bottom: 1.15rem;
    font-weight: 700;
}

.film-card-title {
    right: 7rem;
    left: 1.25rem;
    font-size: clamp(0.72rem, 1.3vw, 1rem);
    letter-spacing: 0.12em;
}

.film-card-view {
    right: 1.25rem;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 220ms ease, transform 220ms ease;
    white-space: nowrap;
}

.film-card:hover,
.film-card:focus-visible {
    color: var(--page-background);
    outline: 2px solid var(--hover-olive);
    outline-offset: 4px;
}

.film-card:hover .film-card-video,
.film-card:focus-visible .film-card-video {
    filter: saturate(1.05);
    transform: scale(1.015);
}

.film-card:hover .film-card-overlay,
.film-card:focus-visible .film-card-overlay {
    background-color: rgba(88, 98, 74, 0.18);
}

.film-card:hover .film-card-view,
.film-card:focus-visible .film-card-view {
    opacity: 1;
    transform: translateY(0);
}

.about-section {
    min-height: auto;
    align-items: stretch;
}

.about-layout {
    display: grid;
    grid-template-areas:
        "heading ."
        "copy portrait"
        "contact .";
    grid-template-columns: minmax(18rem, 32rem) minmax(0, 42rem);
    align-items: start;
    justify-content: space-between;
    column-gap: clamp(3rem, 8vw, 9rem);
    row-gap: 0;
}

.about-heading {
    grid-area: heading;
}

.about-portrait {
    position: relative;
    grid-area: portrait;
    align-self: stretch;
    width: 100%;
    margin: clamp(2rem, 4vw, 3.5rem) 0 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.about-portrait::before,
.about-portrait::after {
    position: absolute;
    z-index: 1;
    width: clamp(1.25rem, 2.2vw, 1.75rem);
    height: clamp(1.25rem, 2.2vw, 1.75rem);
    border-color: rgba(243, 240, 232, 0.65);
    border-style: solid;
    border-width: 0;
    content: "";
    pointer-events: none;
}

.about-portrait::before {
    top: 1rem;
    left: 1rem;
    border-top-width: 1px;
    border-left-width: 1px;
}

.about-portrait::after {
    right: 1rem;
    bottom: 1rem;
    border-right-width: 1px;
    border-bottom-width: 1px;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-copy {
    display: flex;
    grid-area: copy;
    align-self: stretch;
    width: 100%;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    flex-direction: column;
}

.about-text {
    max-width: 31rem;
    margin-top: 0;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-language-block + .about-language-block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(30, 33, 28, 0.16);
}

.about-language-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--hover-olive);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.about-text p {
    margin: 0;
    color: rgba(30, 33, 28, 0.72);
    font-size: 0.78rem;
    line-height: 1.75;
}

.about-text .about-lead {
    margin-bottom: 1.35rem;
    color: var(--page-text);
    font-size: clamp(0.92rem, 1.35vw, 1.1rem);
    line-height: 1.55;
}

.about-disciplines {
    display: flex;
    margin-top: auto;
    padding: 1rem 0;
    border-top: 1px solid rgba(30, 33, 28, 0.16);
    border-bottom: 1px solid rgba(30, 33, 28, 0.16);
    flex-wrap: wrap;
    font-size: 0.55rem;
    font-weight: 700;
    gap: 0.65rem clamp(1rem, 2.5vw, 2rem);
    letter-spacing: 0.15em;
}

.about-contact-link {
    display: inline-flex;
    grid-area: contact;
    align-items: center;
    justify-self: start;
    margin-top: 1.75rem;
    color: rgba(30, 33, 28, 0.68);
    font-size: 0.58rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.about-contact-link:hover,
.about-contact-link:focus-visible {
    color: var(--accent);
    transform: translateY(0.12rem);
}

.section-light,
.section-dark {
    background: var(--page-background);
    color: var(--page-text);
}

#films,
#contacts {
    background: var(--page-text);
    color: var(--page-background);
}

.contacts-section {
    min-height: 70svh;
    align-items: stretch;
}

.contacts-shell {
    display: flex;
    flex-direction: column;
}

.contacts-heading {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
}

.contacts-heading .section-kicker {
    grid-column: 1;
    grid-row: 1;
}

.contacts-heading h2 {
    grid-column: 1;
    grid-row: 2;
}

.contacts-availability {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    margin: 0;
    color: rgba(243, 240, 232, 0.58);
    font-size: 0.52rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.15em;
}

.contacts-availability-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
}

.contacts-content {
    display: grid;
    align-items: end;
    margin-top: auto;
    padding-top: clamp(4rem, 10vw, 9rem);
    column-gap: clamp(3rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 1fr) auto;
}

.contacts-statement {
    max-width: 48rem;
    margin: 0;
    color: var(--page-background);
    font-size: clamp(1.4rem, 2.8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.contacts-action {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.contacts-button {
    display: inline-flex;
    width: clamp(15rem, 21vw, 19rem);
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.25rem;
    border: 1px solid rgba(243, 240, 232, 0.42);
    color: var(--page-background);
    font-size: 0.62rem;
    font-weight: 700;
    gap: 2rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}

.contacts-button-arrow {
    display: inline-block;
    font-size: 0.9rem;
    transition: transform 280ms ease;
}

.contacts-button:hover,
.contacts-button:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--page-text);
}

.contacts-button:hover .contacts-button-arrow,
.contacts-button:focus-visible .contacts-button-arrow {
    transform: translate(0.2rem, -0.2rem);
}

.contacts-button:focus-visible {
    outline: 2px solid var(--page-background);
    outline-offset: 0.3rem;
}

.contacts-email {
    margin: 0.85rem 0 0;
    color: rgba(243, 240, 232, 0.54);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.films-library-main {
    min-height: 100svh;
    padding-top: var(--nav-height);
}

.films-library-header {
    padding-top: clamp(3.5rem, 8vw, 7rem);
    padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.films-library-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.films-library-header h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.86;
}

.films-library-total {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.films-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.films-library-card {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #11130F;
    color: var(--page-background);
    aspect-ratio: 16 / 9;
    cursor: pointer;
    text-align: left;
}

.films-library-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 300ms ease, transform 500ms ease;
}

.films-library-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(30, 33, 28, 0.03) 35%, rgba(30, 33, 28, 0.78) 100%),
        rgba(88, 98, 74, 0);
    transition: background-color 300ms ease;
}

.films-library-card-title,
.films-library-card-view {
    position: absolute;
    bottom: 1.15rem;
    font-weight: 700;
}

.films-library-card-title {
    right: 8rem;
    left: 1.25rem;
    font-size: clamp(0.72rem, 1.3vw, 1rem);
    letter-spacing: 0.12em;
}

.films-library-card-view {
    right: 1.25rem;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 220ms ease, transform 220ms ease;
    white-space: nowrap;
}

.films-library-card:hover,
.films-library-card:focus-visible {
    color: var(--page-background);
    outline: 2px solid var(--hover-olive);
    outline-offset: 4px;
}

.films-library-card:hover img,
.films-library-card:focus-visible img {
    filter: saturate(1.05);
    transform: scale(1.02);
}

.films-library-card:hover .films-library-card-overlay,
.films-library-card:focus-visible .films-library-card-overlay {
    background-color: rgba(88, 98, 74, 0.2);
}

.films-library-card:hover .films-library-card-view,
.films-library-card:focus-visible .films-library-card-view {
    opacity: 1;
    transform: translateY(0);
}

.film-modal .modal-content {
    height: 100svh;
    border: 0;
    border-radius: 0;
    background: var(--page-text);
    color: var(--page-background);
}

.film-modal .modal-header {
    min-height: 4.5rem;
    flex: 0 0 auto;
    border-color: rgba(243, 240, 232, 0.14);
    padding-right: clamp(1rem, 3vw, 2.5rem);
    padding-left: clamp(1rem, 3vw, 2.5rem);
}

.film-modal .modal-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.film-modal .modal-body {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    overflow: hidden;
}

.film-player-shell {
    width: min(100%, 92rem);
    max-height: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}

.film-player,
.film-player iframe {
    width: 100%;
    height: 100%;
}

.film-player iframe {
    display: block;
    border: 0;
}

@media (min-aspect-ratio: 16 / 10) {
    .film-player-shell {
        width: auto;
        max-width: 100%;
        height: 100%;
    }
}

.places-preview-main {
    display: flex;
    min-height: calc(100svh - 6.5rem);
    padding-top: var(--nav-height);
    flex-direction: column;
}

.places-preview-header {
    padding-top: clamp(3.5rem, 8vw, 7rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.places-preview-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.places-preview-header h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.86;
}

.places-preview-status {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: rgba(30, 33, 28, 0.62);
    font-size: 0.54rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.places-preview-status-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
}

.places-preview-content {
    display: flex;
    min-height: 16rem;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    gap: clamp(3rem, 8vw, 8rem);
    flex: 1 1 auto;
}

.places-preview-message {
    max-width: 44rem;
    margin: 0;
    color: var(--page-text);
    font-size: clamp(1.5rem, 3.2vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.places-preview-back {
    display: inline-flex;
    align-items: center;
    color: rgba(30, 33, 28, 0.62);
    font-size: 0.56rem;
    font-weight: 700;
    gap: 0.65rem;
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: color 220ms ease;
    white-space: nowrap;
}

.places-preview-back-arrow {
    display: inline-block;
    transition: transform 280ms ease;
}

.places-preview-back:hover,
.places-preview-back:focus-visible {
    color: var(--accent);
}

.places-preview-back:hover .places-preview-back-arrow,
.places-preview-back:focus-visible .places-preview-back-arrow {
    transform: translateX(-0.4rem);
}

.places-preview-back:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0.35rem;
}

.gallery-main {
    min-height: 100svh;
    padding-top: var(--nav-height);
}

.gallery-header {
    padding-top: clamp(3.5rem, 8vw, 7rem);
    padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

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

.gallery-header h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.86;
}

.gallery-total {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.photography-index {
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.photography-index-main .gallery-heading-row {
    flex-wrap: wrap;
}

.photography-index-main .gallery-header h1 {
    font-size: clamp(2.8rem, 7vw, 6.25rem);
}

.photography-index-main .gallery-total {
    margin-left: auto;
}

.photography-index-entry {
    display: grid;
    align-items: stretch;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    border-top: 1px solid rgba(30, 33, 28, 0.16);
    color: var(--page-text);
    gap: clamp(2rem, 5vw, 6rem);
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.45fr);
    text-decoration: none;
}

.photography-index-entry:last-child {
    border-bottom: 1px solid rgba(30, 33, 28, 0.16);
}

.photography-index-entry-reversed {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
}

.photography-index-entry-reversed .photography-index-copy {
    order: 2;
}

.photography-index-entry-reversed .photography-index-image {
    order: 1;
}

.photography-index-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.photography-index-number {
    margin: 0;
    color: var(--hover-olive);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.photography-index-title {
    margin: auto 0;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    font-size: clamp(2.5rem, 5.8vw, 5.75rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.88;
    transition: color 260ms ease;
}

.photography-index-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 33, 28, 0.16);
    color: rgba(30, 33, 28, 0.64);
    flex-wrap: wrap;
    font-size: 0.52rem;
    font-weight: 700;
    gap: 0.75rem 1.5rem;
    letter-spacing: 0.14em;
}

.photography-index-view {
    transition: color 260ms ease;
}

.photography-index-image {
    position: relative;
    height: clamp(20rem, 35vw, 34rem);
    margin: 0;
    overflow: hidden;
    background: var(--page-text);
}

.photography-index-image::after {
    position: absolute;
    inset: 0;
    background: rgba(88, 98, 74, 0);
    content: "";
    transition: background-color 300ms ease;
}

.photography-index-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 300ms ease, transform 550ms ease;
}

.photography-index-entry:hover,
.photography-index-entry:focus-visible {
    color: var(--page-text);
}

.photography-index-entry:hover .photography-index-title,
.photography-index-entry:focus-visible .photography-index-title,
.photography-index-entry:hover .photography-index-view,
.photography-index-entry:focus-visible .photography-index-view {
    color: var(--accent);
}

.photography-index-entry:hover .photography-index-image::after,
.photography-index-entry:focus-visible .photography-index-image::after {
    background-color: rgba(88, 98, 74, 0.2);
}

.photography-index-entry:hover .photography-index-image img,
.photography-index-entry:focus-visible .photography-index-image img {
    filter: saturate(1.05);
    transform: scale(1.02);
}

.photography-index-entry:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0.4rem;
}

.portraits-gallery {
    padding-bottom: clamp(4rem, 8vw, 8rem);
    column-count: 4;
    column-gap: clamp(0.75rem, 1.5vw, 1.4rem);
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 clamp(0.75rem, 1.5vw, 1.4rem);
    padding: 0;
    overflow: hidden;
    break-inside: avoid;
    border: 0;
    background: var(--page-text);
    cursor: zoom-in;
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    background: rgba(88, 98, 74, 0);
    content: "";
    transition: background-color 250ms ease;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 300ms ease, transform 450ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    background-color: rgba(88, 98, 74, 0.22);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    filter: saturate(1.05);
    transform: scale(1.025);
}

.gallery-item:hover,
.gallery-item:focus-visible {
    outline: 2px solid var(--hover-olive);
    outline-offset: 4px;
}

.collection-navigation {
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.collection-navigation-inner {
    display: grid;
    border-top: 1px solid rgba(30, 33, 28, 0.16);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-navigation-link {
    display: flex;
    min-width: 0;
    padding: clamp(2.25rem, 4vw, 3.5rem) 0;
    color: var(--page-text);
    flex-direction: column;
    text-decoration: none;
    transition: color 240ms ease;
}

.collection-navigation-link-next {
    align-items: flex-end;
    text-align: right;
}

.collection-navigation-label {
    display: inline-flex;
    align-items: center;
    color: var(--hover-olive);
    font-size: 0.54rem;
    font-weight: 700;
    gap: 0.65rem;
    letter-spacing: 0.16em;
    transition: color 240ms ease;
}

.collection-navigation-title {
    margin-top: 0.8rem;
    font-size: clamp(1.65rem, 3.4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.collection-navigation-arrow {
    display: inline-block;
    transition: transform 300ms ease;
}

.collection-navigation-link:hover,
.collection-navigation-link:focus-visible,
.collection-navigation-link:hover .collection-navigation-label,
.collection-navigation-link:focus-visible .collection-navigation-label {
    color: var(--accent);
}

.collection-navigation-link-previous:hover .collection-navigation-arrow,
.collection-navigation-link-previous:focus-visible .collection-navigation-arrow {
    transform: translateX(-0.4rem);
}

.collection-navigation-link-next:hover .collection-navigation-arrow,
.collection-navigation-link-next:focus-visible .collection-navigation-arrow {
    transform: translateX(0.4rem);
}

.collection-navigation-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0.35rem;
}

.gallery-modal .modal-content {
    height: 100svh;
    border: 0;
    border-radius: 0;
    background: var(--page-text);
    color: var(--page-background);
}

.gallery-modal .modal-header {
    min-height: 4.5rem;
    flex: 0 0 auto;
    gap: 1.5rem;
    border-color: rgba(243, 240, 232, 0.14);
    padding-right: clamp(1rem, 3vw, 2.5rem);
    padding-left: clamp(1rem, 3vw, 2.5rem);
}

.gallery-modal .modal-title,
.gallery-counter {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.gallery-counter {
    margin-left: auto;
    color: var(--accent);
}

.gallery-modal .modal-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 0;
    overflow: hidden;
}

.gallery-modal .carousel-inner,
.gallery-modal .carousel-item {
    height: 100%;
}

.gallery-slide {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(3.75rem, 8vw, 7rem);
}

.gallery-slide img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
    width: clamp(3.5rem, 8vw, 7rem);
    opacity: 1;
}

.gallery-modal .carousel-control-prev-icon,
.gallery-modal .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(30, 33, 28, 0.58);
    background-size: 42%;
}

.gallery-modal .carousel-control-prev:hover .carousel-control-prev-icon,
.gallery-modal .carousel-control-next:hover .carousel-control-next-icon,
.gallery-modal .carousel-control-prev:focus-visible .carousel-control-prev-icon,
.gallery-modal .carousel-control-next:focus-visible .carousel-control-next-icon {
    background-color: var(--accent);
}

@media (min-width: 992px) {
    #navbarMenu {
        position: absolute;
        left: 50%;
        width: auto;
        flex-grow: 0;
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    :root {
        --nav-height: 72px;
    }

    .navbar-collapse {
        width: 100%;
        padding: 1.25rem 0 1.75rem;
    }

    .navbar-nav {
        gap: 0.45rem;
    }

    .navbar-nav .nav-link {
        display: inline-block;
        padding: 0.55rem 0 !important;
        font-size: 0.88rem;
    }

    .photo-card {
        height: clamp(16rem, 42vw, 22rem);
    }

    .portraits-gallery {
        column-count: 3;
    }

    .about-layout {
        grid-template-areas:
            "heading"
            "portrait"
            "copy"
            "contact";
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .about-portrait {
        align-self: start;
        width: min(100%, 34rem);
        margin-top: 0;
    }

    .about-copy {
        display: block;
        align-self: start;
        margin-top: 0;
    }

    .about-text {
        padding-bottom: 0;
    }

    .about-disciplines {
        margin-top: clamp(2rem, 4vw, 3rem);
    }

    .about-contact-link {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .photo-card {
        height: min(72svh, 32rem);
    }

    .portraits-gallery {
        column-count: 2;
    }

    .gallery-heading-row {
        display: block;
    }

    .gallery-total {
        margin-top: 1.25rem;
    }

    .places-preview-heading-row {
        display: block;
    }

    .places-preview-status {
        margin-top: 1.5rem;
    }

    .places-preview-content {
        min-height: 18rem;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 3rem;
        flex-direction: column;
    }

    .photography-index-entry,
    .photography-index-entry-reversed {
        grid-template-columns: 1fr;
    }

    .photography-index-entry-reversed .photography-index-copy,
    .photography-index-entry-reversed .photography-index-image {
        order: initial;
    }

    .photography-index-title {
        margin: 0;
        padding: 2.25rem 0;
    }

    .photography-index-image {
        height: min(72vw, 28rem);
    }

    .collection-navigation-inner {
        grid-template-columns: 1fr;
    }

    .collection-navigation-link {
        padding: 2.25rem 0;
    }

    .collection-navigation-link-next {
        border-top: 1px solid rgba(30, 33, 28, 0.12);
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .films-library-heading-row {
        display: block;
    }

    .films-library-total {
        margin-top: 1.25rem;
        white-space: normal;
    }

    .films-library-grid {
        grid-template-columns: 1fr;
    }

    .contacts-section {
        min-height: 64svh;
    }

    .contacts-content {
        align-items: start;
        padding-top: clamp(3.5rem, 14vw, 6rem);
        row-gap: 2.75rem;
        grid-template-columns: 1fr;
    }

    .contacts-heading {
        grid-template-columns: 1fr;
    }

    .contacts-availability {
        grid-column: 1;
        grid-row: 3;
        margin-top: 2rem;
    }

    .contacts-action {
        width: 100%;
        align-items: flex-start;
    }

    .contacts-button {
        width: 100%;
    }

    .exposure-meter {
        right: 1.25rem;
        opacity: 0.82;
        transform: translateY(-50%) scale(0.82);
        transform-origin: right center;
    }

    .footer-inner {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem;
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .footer-top-link {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 420px) {
    .navbar-brand {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .social-icons {
        gap: 0;
    }

    .social-icon {
        width: 1.7rem;
    }

    .navbar-tools {
        gap: 0.35rem;
    }

    .portraits-gallery {
        column-count: 1;
    }

    .gallery-slide {
        padding-right: 3rem;
        padding-left: 3rem;
    }

    .viewfinder-corner {
        width: 1.1rem;
        height: 1.1rem;
    }

    .exposure-tick::before {
        display: none;
    }

    .exposure-meter {
        width: 1.5rem;
    }

    .scroll-cue {
        font-size: 0.48rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
