@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --display-font: 'Cormorant Garamond', Georgia, serif;
}

body {
    font-family: Arial, sans-serif;
}

body > header .brand-logo {
    width: 220px;
}

.hero {
    background: #080e0b;
}

.hero-art {
    isolation: isolate;
    background: #080e0b;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    /* Landscape selections fill the cinematic hero frame without letterboxing. */
    object-fit: cover;
    object-position: right center;
    filter: brightness(1.12) saturate(1.04);
    opacity: 0;
    transform: scale(1);
    transition:
        opacity 1.55s ease-in-out,
        transform 0.35s ease;
}

.hero-slide.is-current {
    opacity: 1;
}

/* Feather the photo's left boundary into the dark hero without altering its file. */
body[data-concept='featured'] .hero-art img.hero-slide {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 150px);
    mask-image: linear-gradient(90deg, transparent 0, #000 150px);
}

/* Override the older featured-image contain rule so desktop slides fill the hero. */
body[data-concept='featured'] .hero-art img.hero-slide {
    object-fit: cover;
    object-position: center;
}

body[data-concept='featured'] .hero-art::after {
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            #080e0b 0%,
            rgba(8, 14, 11, 0.84) 17%,
            rgba(8, 14, 11, 0.46) 34%,
            rgba(8, 14, 11, 0.08) 49%,
            transparent 64%
        ),
        linear-gradient(0deg, rgba(8, 14, 11, 0.16), transparent 24%);
}

.hero-copy,
.hero-foot {
    z-index: 2;
}

#hero-title {
    max-width: 100%;
    font-family: var(--display-font);
    font-size: clamp(50px, 5vw, 72px);
    font-weight: 400;
    /* Cormorant's tall italic forms need more leading to avoid clipping at the baseline. */
    line-height: 1.07;
    letter-spacing: -0.045em;
    margin: 21px 0 24px;
    text-wrap: balance;
}

body[data-concept='featured'] .hero-copy {
    width: 44%;
    max-width: 650px;
}

.headline-line {
    display: block;
    overflow: visible;
    padding: 0.015em 0 0.05em;
}

.headline-line + .headline-line {
    margin-top: -0.015em;
    color: #d7c697;
    font-style: italic;
}

.headline-word {
    display: inline-block;
    overflow: visible;
    animation: title-emerge 1.15s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.headline-line:nth-child(2) .headline-word {
    animation:
        title-emerge 1.15s cubic-bezier(0.2, 0.75, 0.25, 1) 0.16s both,
        headline-glow 1.55s ease-out 0.75s both;
}

.headline-line:nth-child(2) .headline-word:nth-of-type(2) {
    animation-delay: 0.16s, 0.94s;
}

.headline-line:nth-child(2) .headline-word:nth-of-type(3) {
    animation-delay: 0.16s, 1.13s;
}

.headline-replay .headline-word {
    animation-name: title-emerge;
}

.headline-replay .headline-line:nth-child(2) .headline-word {
    animation:
        title-emerge 1.15s cubic-bezier(0.2, 0.75, 0.25, 1) 0.16s both,
        headline-glow 1.55s ease-out 0.75s both;
}

.headline-replay .headline-line:nth-child(2) .headline-word:nth-of-type(2) {
    animation-delay: 0.16s, 0.94s;
}

.headline-replay .headline-line:nth-child(2) .headline-word:nth-of-type(3) {
    animation-delay: 0.16s, 1.13s;
}

@keyframes title-emerge {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.12em, 0) scale(0.98);
        text-shadow: 0 0 24px rgba(218, 194, 137, 0.48);
    }
    60% {
        opacity: 0.92;
        text-shadow: 0 0 9px rgba(218, 194, 137, 0.22);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        text-shadow: 0 0 0 transparent;
    }
}

@keyframes headline-glow {
    0%,
    100% {
        color: #d7c697;
        text-shadow: 0 0 0 transparent;
    }
    38% {
        color: #fff3ca;
        text-shadow:
            0 0 16px rgba(240, 215, 157, 0.62),
            0 0 30px rgba(218, 194, 137, 0.22);
    }
    72% {
        color: #e4d3a6;
        text-shadow: 0 0 8px rgba(240, 215, 157, 0.34);
    }
}

.hero-copy > p:not(.eyebrow) {
    max-width: 34em;
}

.hero-copy .button {
    border-color: rgba(215, 198, 151, 0.72);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-controls button {
    min-height: 34px;
    padding: 6px 9px;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(8, 14, 11, 0.34);
    color: #ece8da;
}

.hero-controls button[aria-label] {
    width: 34px;
    font-size: 15px;
}

.hero-controls button:disabled {
    opacity: 0.45;
    cursor: default;
}

body[data-concept='featured'] #motion {
    display: inline-flex;
    align-items: center;
}

#slide-position {
    min-width: 46px;
    font-size: 9px;
    letter-spacing: 1px;
}

.section {
    padding: clamp(76px, 9vw, 132px) 8%;
}

.work {
    position: relative;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.52fr);
    align-items: end;
    gap: 45px;
    margin-bottom: 42px;
}

.section-heading .eyebrow {
    justify-content: flex-start;
    margin: 0 0 11px;
}

.section-heading h2 {
    font-family: var(--display-font);
    font-size: clamp(48px, 5.1vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.section-heading > p {
    max-width: 330px;
    margin: 0 0 5px auto;
    font-size: 14px;
    line-height: 1.9;
}

.work .section-heading {
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.photo-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 38px 22px;
}

.photo-card {
    grid-column: span 3;
}

.photo-card:nth-child(1) {
    grid-column: span 5;
}

.photo-card:nth-child(2) {
    grid-column: span 4;
}

.photo-card:nth-child(3) {
    grid-column: span 3;
}

.photo-card .frame {
    min-height: 0;
    height: clamp(230px, 25vw, 350px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, #1a241e, #0b100d);
}

.photo-card:nth-child(1) .frame {
    height: clamp(280px, 31vw, 430px);
}

.photo-card img {
    height: 100%;
    padding: 10px;
    transition:
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.75s ease;
}

.photo-card:hover img {
    filter: brightness(1.04);
    transform: scale(1.035);
}

.photo-card .caption {
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    letter-spacing: 0.03em;
}

.photo-card .number {
    font-size: 10px;
    letter-spacing: 0.08em;
}

.collections {
    position: relative;
    overflow: hidden;
    padding-top: clamp(72px, 8vw, 110px);
    padding-bottom: clamp(72px, 8vw, 110px);
    background: #e4e1d7;
}

.collections::before {
    content: '02';
    position: absolute;
    top: 25px;
    right: 7.7%;
    color: rgba(48, 60, 47, 0.08);
    font: 400 clamp(150px, 24vw, 340px) / 0.8 var(--display-font);
    pointer-events: none;
}

.collections .section-heading {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    margin-bottom: 35px;
}

.collections .section-heading > p {
    color: #525d52;
}

.collection-tabs {
    position: relative;
    display: flex;
    gap: clamp(20px, 5vw, 72px);
    margin: 28px 0 38px;
    border-bottom: 1px solid rgba(37, 57, 42, 0.2);
}

.collection-tabs button {
    position: relative;
    min-height: 50px;
    padding: 10px 0 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #657064;
    font-family: var(--display-font);
    font-size: clamp(19px, 2.1vw, 28px);
    transition: color 0.2s ease;
}

.collection-tabs button::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #334c38;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.collection-tabs button[aria-pressed='true'] {
    color: #23392a;
}

.collection-tabs button[aria-pressed='true']::after {
    transform: scaleX(1);
}

.collection-tabs span {
    font:
        10px Arial,
        sans-serif;
    color: #70786d;
}

.collection-grid {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.collection-grid .photo-card {
    grid-column: auto;
}

.collections .photo-card .frame {
    height: clamp(230px, 25vw, 340px);
    border-color: rgba(37, 57, 42, 0.12);
    background: linear-gradient(145deg, #f1efe8, #d8d7cd);
}

.collections .photo-card img {
    padding: 14px;
}

.collections .photo-card .caption {
    border-color: rgba(37, 57, 42, 0.22);
    color: #485448;
}

.collections .photo-card .number {
    color: #506451;
}

.about {
    padding-top: 74px;
    padding-bottom: 74px;
}

footer {
    border-top-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
    #hero-title {
        font-size: clamp(56px, 8vw, 82px);
    }

    .section-heading {
        gap: 25px;
    }

    .photo-grid {
        gap: 30px 16px;
    }

    .photo-card,
    .photo-card:nth-child(1),
    .photo-card:nth-child(2),
    .photo-card:nth-child(3) {
        grid-column: span 4;
    }
}

@media (max-width: 700px) {
    body[data-concept='featured'] .hero-copy {
        width: auto;
        max-width: none;
    }

    body[data-concept='featured'] .hero-art::after {
        background: linear-gradient(0deg, rgba(8, 14, 11, 0.48), rgba(8, 14, 11, 0.025) 78%);
    }

    body[data-concept='featured'] .lead-photo,
    .hero-slide {
        object-position: center;
    }

    body[data-concept='featured'] .hero-art img.hero-slide {
        object-fit: cover;
    }

    body[data-concept='featured'] .hero-art img.hero-slide {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 72px);
        mask-image: linear-gradient(90deg, transparent 0, #000 72px);
    }

    #hero-title {
        max-width: none;
        font-size: clamp(50px, 11.5vw, 72px);
        line-height: 1.07;
        margin: 15px 0 19px;
    }

    .hero-controls {
        gap: 6px;
    }

    .hero-controls button {
        min-height: 38px;
    }

    .hero-foot {
        bottom: 13px;
    }

    .hero-foot > span:first-child {
        display: none;
    }

    .section {
        padding: 65px 7%;
    }

    .section-heading,
    .collections .section-heading {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-heading h2 {
        font-size: clamp(47px, 11vw, 64px);
    }

    .section-heading > p {
        margin: 0;
        max-width: 34em;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 13px;
    }

    .photo-card,
    .photo-card:nth-child(1),
    .photo-card:nth-child(2),
    .photo-card:nth-child(3) {
        grid-column: span 1;
    }

    .photo-card .frame,
    .photo-card:nth-child(1) .frame {
        height: clamp(175px, 55vw, 245px);
    }

    .photo-card img {
        padding: 6px;
    }

    .collections::before {
        top: 105px;
        right: -5%;
    }

    .collection-tabs {
        justify-content: space-between;
        gap: 12px;
        margin: 19px 0 26px;
    }

    .collection-tabs button {
        min-height: 46px;
        font-size: clamp(17px, 4.5vw, 23px);
    }

    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .collections .photo-card .frame {
        height: clamp(170px, 51vw, 235px);
    }

    .collections .photo-card .caption {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .hero-controls {
        gap: 4px;
    }

    .hero-controls button {
        padding: 5px 6px;
    }

    #motion {
        font-size: 9px;
    }

    #slide-position {
        min-width: 40px;
    }

    .collection-tabs span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }

    .headline-word {
        animation: none;
    }

    .headline-line:nth-child(2) .headline-word {
        color: #d7c697;
        text-shadow: none;
    }
}

/* Approved compact, dark portfolio layout. */

.hero-foot > span:last-child {
    display: none;
}

.work {
    padding-top: 70px;
    padding-bottom: 64px;
}

.work .photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 16px;
}

.work .photo-card:nth-child(n) {
    grid-column: auto;
}

.work .photo-card:nth-child(n) .frame {
    height: clamp(125px, 13vw, 185px);
    background: #0b100d;
}

.work .photo-card img {
    padding: 0;
}

.work .photo-card .number {
    display: none;
}

.work .photo-card .caption {
    margin-top: 9px;
    padding-top: 8px;
    font-size: 10px;
}

.work .section-heading h2 {
    font-size: clamp(40px, 4vw, 58px);
}

.work .section-heading {
    margin-bottom: 30px;
}

.portfolio-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.portfolio-action .button {
    margin: 0;
    gap: 30px;
}

.about {
    margin: 0 8%;
    padding: 48px 0 56px;
    border-top: 1px solid #ffffff24;
    border-bottom: 0;
    grid-template-columns: 1fr 2fr;
}

.about h2 {
    font-size: 46px;
}

.about-copy {
    font-size: 27px;
    max-width: 690px;
}

#about div > p:not(.about-copy) {
    display: none;
}

@media (max-width: 700px) {
    .work .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .work .photo-card:nth-child(n) .frame {
        height: 180px;
    }

    .work {
        padding: 48px 6%;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0 6%;
    }

    .about h2 {
        font-size: 36px;
    }

    .about-copy {
        font-size: 24px;
    }
}

@media (min-width: 701px) and (max-width: 1050px) {
    .work .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .work .photo-card:nth-child(n) .frame {
        height: clamp(150px, 20vw, 200px);
    }
}

/* Revised wording and compact introduction for review. */
.work .section-heading {
    display: block;
}

.work .section-heading > p {
    margin: 12px 0 0;
    max-width: none;
}

.work .section-heading h2 {
    font-size: clamp(34px, 3.6vw, 52px);
}

#about {
    display: block;
    padding: 26px 0 30px;
}

#about > .eyebrow {
    margin: 0 0 6px;
}

#about h2 {
    font-size: 32px;
    margin: 0 0 8px;
}

#about .about-copy {
    max-width: none;
    margin: 0;
    font-size: clamp(17px, 1.6vw, 23px);
    line-height: 1.5;
}

#about .text-link {
    margin-top: 10px;
    padding: 5px 0;
}

/* Featured-photo preview: gallery-style navigation without leaving the homepage. */
#viewer {
    box-sizing: border-box;
    width: min(1100px, 94vw);
    max-width: 94vw;
    max-height: 94svh;
    overflow: hidden;
    padding: 54px 64px 18px;
}

#viewer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-viewer-frame {
    position: relative;
    display: block;
    width: 100%;
    height: min(72svh, 780px);
    overflow: hidden;
}

.featured-viewer-frame .viewer-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(0);
    will-change: opacity, transform;
}

.featured-viewer-frame .viewer-image.is-active {
    opacity: 1;
}

.featured-viewer-frame .viewer-image.is-entering-next {
    animation: featured-photo-enter-next 420ms ease both;
}

.featured-viewer-frame .viewer-image.is-entering-previous {
    animation: featured-photo-enter-previous 420ms ease both;
}

.featured-viewer-frame .viewer-image.is-leaving-next {
    animation: featured-photo-leave-next 420ms ease both;
}

.featured-viewer-frame .viewer-image.is-leaving-previous {
    animation: featured-photo-leave-previous 420ms ease both;
}

@keyframes featured-photo-enter-next {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes featured-photo-enter-previous {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes featured-photo-leave-next {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-18px); }
}

@keyframes featured-photo-leave-previous {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(18px); }
}

#viewer p {
    margin: 12px 0 0;
    min-height: 1.5em;
    font-family: var(--display-font);
    font-size: 16px;
}

#viewer .viewer-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 52px;
    transform: translateY(-50%);
    border: 1px solid rgba(215, 198, 151, 0.38);
    border-radius: 3px;
    background: rgba(16, 21, 18, 0.82);
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
}

#viewer-prev {
    left: 12px;
}

#viewer-next {
    right: 12px;
}

#viewer .viewer-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

#viewer .viewer-nav:not(:disabled):hover,
#close-viewer:hover {
    color: #f2e5b9;
    text-shadow: 0 0 12px rgba(215, 198, 151, 0.65);
}

@media (max-width: 700px) {
    #viewer {
        width: 96vw;
        max-width: 96vw;
        padding: 52px 42px 16px;
    }

    .featured-viewer-frame {
        height: 68svh;
    }

    #viewer .viewer-nav {
        width: 32px;
        height: 44px;
        font-size: 20px;
    }

    #viewer-prev {
        left: 5px;
    }

    #viewer-next {
        right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-viewer-frame .viewer-image {
        animation: none !important;
        transition: none !important;
        will-change: auto;
    }
}

@media (max-width: 700px) {
    #about {
        padding: 24px 0;
    }

    #about .about-copy {
        font-size: 20px;
    }
}

#about > div {
    max-width: none;
}

@media (max-width: 700px) {
    body > header {
        padding: 6px 5%;
        gap: 2px;
        flex-wrap: wrap;
    }

    body > header .brand-logo {
        width: 180px;
        max-height: 61px;
    }

    body > header nav {
        gap: 20px;
    }

    body > header nav a {
        padding: 8px 0;
    }

    body[data-concept='featured'] .hero-art {
        height: min(31svh, 260px);
        aspect-ratio: auto;
    }

    body[data-concept='featured'] .hero-copy {
        padding: 12px 5% 8px;
    }

    .hero-copy .eyebrow {
        margin: 0 0 6px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    #hero-title {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.1;
        letter-spacing: -0.025em;
        margin: 8px 0 10px;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 12px;
        line-height: 1.5;
        margin: 8px 0;
    }

    .hero-copy .button {
        margin-top: 8px;
        padding: 11px 15px;
        min-height: 40px;
    }

    .hero {
        padding-bottom: 48px;
    }

    .hero-foot {
        bottom: 5px;
    }

    .hero-controls {
        width: 100%;
        justify-content: space-between;
    }

    .hero-controls button {
        min-height: 40px;
    }
}

/* Keep the two authored headline lines intact on compact landscape screens. */
@media (min-width: 701px) and (max-width: 1100px) {
    body[data-concept='featured'] .hero {
        min-height: 440px;
    }

    body[data-concept='featured'] .hero-copy {
        width: 58%;
        max-width: 650px;
    }

    #hero-title {
        font-size: clamp(38px, 4.7vw, 52px);
    }

    .headline-line {
        white-space: nowrap;
    }
}

@media (min-width: 1101px) and (max-width: 1300px) {
    #hero-title {
        font-size: clamp(40px, 3.8vw, 48px);
    }

    .headline-line {
        white-space: nowrap;
    }
}

@media (min-width: 1301px) and (max-width: 1900px) {
    #hero-title {
        font-size: 54px;
    }

    .headline-line {
        white-space: nowrap;
    }
}

@media (min-width: 1901px) {
    #hero-title {
        font-size: 60px;
    }

    .headline-line {
        white-space: nowrap;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .hero-foot > span:first-child {
        display: none;
    }
}

@media (min-width: 701px) and (max-height: 650px) {
    .hero-foot {
        justify-content: flex-end;
    }

    .hero-foot > span:first-child {
        display: none;
    }
}

/* Place the mobile headline in the photograph's open left side. */
@media (max-width: 700px) {
    body[data-concept='featured'] .hero-copy {
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }

    body[data-concept='featured'] #hero-title {
        position: absolute;
        z-index: 2;
        top: min(15.5svh, 130px);
        left: 5.5%;
        width: 30%;
        max-width: none;
        margin: 0;
        transform: translateY(-50%);
        font-size: clamp(18px, 5.5vw, 24px);
        line-height: 1.08;
        letter-spacing: -0.025em;
        text-wrap: initial;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
    }

    body[data-concept='featured'] #hero-title .headline-line {
        white-space: normal;
    }
}
