@font-face {
    font-family: "PhxPlayfair";
    src: url("../../fonts/playfair-display/playfair-display-variable.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PhxInter";
    src: url("../../fonts/inter/inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --phx-bg: #0a0a0b;
    --phx-ink: #f4f1ea;
    --phx-mut: rgba(244, 241, 234, 0.55);
    --phx-accent: #ff004f;
    --phx-line: rgba(244, 241, 234, 0.12);
    --phx-serif: "PhxPlayfair", "Playfair Display", Georgia, "Times New Roman", serif;
    --phx-ui: "PhxInter", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body.photo-page {
    background: var(--phx-bg);
}

.phx {
    background: var(--phx-bg);
    color: var(--phx-ink);
    font-family: var(--phx-ui);
    overflow-x: clip;
}

.phx ::selection { background: var(--phx-accent); color: #0a0a0b; }

.phx-grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: phxGrain 7s steps(6) infinite;
}

@keyframes phxGrain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-4%, 3%); }
    40% { transform: translate(3%, -5%); }
    60% { transform: translate(-5%, -2%); }
    80% { transform: translate(4%, 4%); }
    100% { transform: translate(0, 0); }
}

.phx-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.phx-hero__reel { position: absolute; inset: 0; }

.phx-hero__frame {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.phx-hero__frame.is-active { opacity: 1; }

.phx-hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}

.phx-hero__frame.is-active img {
    animation: phxKenBurns 7s ease-out forwards;
}

@keyframes phxKenBurns {
    from { transform: scale(1.12); }
    to { transform: scale(1.0); }
}

.phx-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.15) 40%, rgba(10, 10, 11, 0.88) 100%);
}

.phx-hero__content {
    position: relative;
    z-index: 4;
    padding: 0 clamp(20px, 6vw, 90px) clamp(90px, 14vh, 150px);
    width: 100%;
}

body.photo-page:has(#saCookieBanner:not([hidden]):not(.is-hidden)) .phx-hero__content {
    padding-bottom: clamp(125px, 18vh, 190px);
}

.phx-hero__title {
    margin: 0;
    font-family: var(--phx-serif);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    font-size: clamp(56px, 12vw, 180px);
}

.phx-hero__line {
    display: block;
    overflow: visible;
}

.phx-hero__line--accent { font-style: italic; color: var(--phx-accent); }

.phx-hero__meta {
    position: absolute;
    z-index: 4;
    right: clamp(20px, 5vw, 70px);
    bottom: clamp(90px, 14vh, 150px);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--phx-ui);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--phx-mut);
    font-variant-numeric: tabular-nums;
}

.phx-hero__meta-line { width: 48px; height: 1px; background: var(--phx-line); }

.phx-story {
    position: relative;
    height: 380vh;
}

.phx-story__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.phx-story__stage {
    position: relative;
    width: min(92vw, 1120px);
    height: 60vh;
    text-align: center;
}

.phx-story__head {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-family: var(--phx-serif);
    color: var(--phx-ink);
    text-shadow: 0 4px 40px rgba(10, 10, 11, 0.55);
}

.phx-story__head--1 {
    font-weight: 500;
    font-size: clamp(46px, 9.5vw, 158px);
    line-height: 0.94;
    letter-spacing: -0.02em;
}

.phx-story__head--1 .ln {
    display: block;
    overflow: hidden;
}

.phx-story__head--1 .ln > span {
    display: block;
}

.phx-story__head--1 .ln:last-child > span {
    font-style: italic;
    color: var(--phx-accent);
}

.phx-story__head--2 {
    font-weight: 500;
    font-size: clamp(28px, 5vw, 76px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    max-width: 16ch;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
}

.phx-story__head--2 .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    margin-right: 0.24em;
}

.phx-story__scatter {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.phx-story__img {
    position: absolute;
    top: var(--t);
    width: var(--w);
    margin: 0;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.phx-story__img img {
    width: 100%;
    height: auto;
    display: block;
}

.phx-story__img--left { left: var(--x); }
.phx-story__img--right { right: var(--x); }

.phx-gallery {
    position: relative;
    z-index: 4;
    background: var(--phx-bg);
    padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 90px) clamp(80px, 10vw, 140px);
}

.phx-gallery__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.phx-gallery__title {
    margin: 0;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 200;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.phx-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.phx-filter {
    appearance: none;
    background: transparent;
    border: 1px solid var(--phx-line);
    color: var(--phx-mut);
    font-family: var(--phx-ui);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.phx-filter:hover { color: var(--phx-ink); border-color: rgba(244, 241, 234, 0.35); }

.phx-filter.is-active {
    background: var(--phx-ink);
    border-color: var(--phx-ink);
    color: #0a0a0b;
}

.phx-masonry {
    columns: 3;
    column-gap: 14px;
}

.phx-shot {
    position: relative;
    margin: 0 0 14px;
    break-inside: avoid;
    cursor: zoom-in;
    opacity: 0;
    transform: translateY(40px);
}
.phx-shot__frame {
    display: block;
    position: relative;
    overflow: hidden;
}

.phx-shot__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0);
    pointer-events: none;
    transition: background-color 0.5s ease;
}

.phx-shot:hover .phx-shot__frame::after,
.phx-shot:focus-visible .phx-shot__frame::after {
    background: rgba(10, 10, 11, 0.35);
}

.phx-shot.is-hidden { display: none; }

.phx-shot img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.phx-shot:hover img,
.phx-shot:focus-visible img {
    transform: scale(1.06);
}

.phx-shot__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 16px 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.75));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.phx-shot:hover .phx-shot__cap,
.phx-shot:focus-visible .phx-shot__cap {
    opacity: 1;
    transform: translateY(0);
}

.phx-shot__brand { font-family: var(--phx-serif); font-size: 17px; font-weight: 500; }

.phx-shot__cat {
    font-family: var(--phx-ui);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--phx-accent);
    white-space: nowrap;
}

.phx-cta {
    position: relative;
    text-align: center;
    padding: clamp(90px, 14vw, 190px) 20px;
    border-top: 1px solid var(--phx-line);
    overflow: hidden;
}

.phx-cta__kicker {
    font-family: var(--phx-ui);
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--phx-mut);
    margin: 0 0 20px;
}

.phx-cta__title {
    margin: 0 0 36px;
    font-family: var(--phx-serif);
    font-size: clamp(38px, 6.5vw, 96px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.phx-cta__title em {
    font-style: italic;
    color: var(--phx-accent);
}

.phx-cta__btn,
.phx-cta__btn:link,
.phx-cta__btn:visited {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 99px;
    background: var(--phx-ink);
    color: #0a0a0b;
    font-family: var(--phx-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.phx-cta__btn:hover {
    transform: translateY(-3px);
    background: var(--phx-accent);
}

.phx-cta__btn svg { transition: transform 0.35s ease; }
.phx-cta__btn:hover svg { transform: translateX(4px); }

.phx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(6, 6, 7, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: clamp(16px, 4vw, 48px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: var(--phx-ui);
}

.phx-lightbox.is-open { opacity: 1; visibility: visible; }

.phx-lightbox__stage {
    margin: 0;
    max-width: min(1400px, 86vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.phx-lightbox__stage img {
    max-width: 100%;
    max-height: calc(86vh - 40px);
    object-fit: contain;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}

.phx-lightbox__stage figcaption {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--phx-mut);
}

.phx-lightbox__close,
.phx-lightbox__nav {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--phx-line);
    color: var(--phx-ink);
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.phx-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 26px;
}

.phx-lightbox__close:hover,
.phx-lightbox__nav:hover {
    border-color: var(--phx-accent);
    background: rgba(255, 0, 79, 0.12);
}

@media (max-width: 1024px) {
    .phx-masonry { columns: 2; }
    .phx-story { height: 340vh; }
    .phx-story__img--left,
    .phx-story__img--right { --w: 46vw !important; }
}

@media (max-width: 768px) {
    .phx-hero__meta { display: none; }
    .phx-gallery__head { flex-direction: column; align-items: flex-start; }

    .phx-story { height: 320vh; }
    .phx-story__stage { height: 50vh; }
    .phx-story__img { --w: 62vw !important; }
    .phx-story__img--left { --x: 3vw; }
    .phx-story__img--right { --x: 3vw; }

    body.photo-page:has(#saCookieBanner:not([hidden]):not(.is-hidden)) .phx-hero__content {
        padding-bottom: 200px;
    }

    .phx-lightbox__nav {
        position: absolute;
        bottom: 20px;
        z-index: 2;
    }

    .phx-lightbox__nav--prev { left: 20px; }
    .phx-lightbox__nav--next { right: 20px; }
}

@media (max-width: 560px) {
    .phx-masonry { columns: 1; }
    .phx-shot__cap { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .phx-grain,
    .phx-hero__frame.is-active img,

    .phx-shot { opacity: 1; transform: none; }

    .phx-story__head--1 .ln > span { transform: none; }
    .phx-story__head--2 { position: static; opacity: 1; visibility: visible; transform: none; margin-top: 24px; }
    .phx-story__head--2 .w { opacity: 1; transform: none; }
}
.phx-hero__title,
.phx-hero__title * {
    font-family: "Outfit", system-ui, sans-serif;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
}

.phx-hero__title {
    font-size: clamp(3.4rem, 7.2vw, 7rem);
    line-height: 1;
    max-width: none;
}
