@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    color-scheme: light;
    --paper: #ffffff;
    --ink: #22221f;
    --muted: #77766f;
    --line: #e6e5e2;
    --accent: #684927;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    margin: 0;
    min-width: 320px;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header, main, .site-footer {
    margin: 0 auto;
    max-width: 1600px;
    padding-left: clamp(20px, 6vw, 92px);
    padding-right: clamp(20px, 6vw, 92px);
}
.site-header {
    align-items: center;
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    left: 50%;
    padding-bottom: 20px;
    padding-top: 20px;
    position: fixed;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
}
.wordmark, .site-nav a {
    font-size: .86rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow, .category-meta, .site-footer {
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.wordmark { color: #292824; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--muted); font-weight: 400; }
.site-nav { align-items: center; display: flex; gap: clamp(16px, 3vw, 42px); }
.nav-toggle { display: none; }
.site-nav > a { color: #35332f; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--accent); }
.site-nav > a[aria-current="page"] {
    border-bottom: 1px solid var(--accent);
    color: var(--accent);
    padding-bottom: 5px;
}
.site-nav .nav-cta { color: #35332f; }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: var(--accent); }
.portfolio-menu { position: relative; }
.portfolio-menu summary {
    color: #35332f;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .12em;
    list-style: none;
    text-transform: uppercase;
    transition: color .2s ease;
}
.portfolio-menu summary::-webkit-details-marker { display: none; }
.portfolio-menu summary:hover, .portfolio-menu summary:focus-visible,
.portfolio-menu[open] summary { color: var(--accent); }
.portfolio-dropdown {
    background: #fff;
    border: 0;
    box-shadow: none;
    display: none;
    gap: 2px;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: -12px;
    top: 100%;
}
.portfolio-menu[open] .portfolio-dropdown { display: grid; }
@media (hover: hover) and (pointer: fine) {
    .portfolio-menu:hover .portfolio-dropdown { display: grid; }
}
.portfolio-dropdown a {
    color: #35332f;
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    padding: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}
.portfolio-dropdown a:hover, .portfolio-dropdown a:focus-visible {
    background: #f5f2ee;
    color: var(--accent);
}
.portfolio-dropdown a[aria-current="page"] {
    background: #f5f2ee;
    color: var(--accent);
}

h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
.eyebrow { color: var(--muted); margin: 0 0 6px; }
.landing-page { background: #fff; }
.landing-header {
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.landing-header.is-scrolled {
    background: #fff;
}
.landing-main { max-width: none; padding: 0; }
body:not(.landing-page) main { padding-top: 68px; }
.hero-carousel {
    background: #e7e7e5;
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}
.hero-slides, .hero-slide { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero-slide {
    margin: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hero-slide-fashion img { object-position: center 24%; }
.hero-slide-events img { object-position: center 20%; }
.hero-slide::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 30%, rgba(255, 255, 255, .08));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.hero-controls {
    align-items: center;
    bottom: 28px;
    display: flex;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-dot {
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 8px;
}
.hero-pagination { align-items: center; display: flex; gap: 7px; }
.hero-dot {
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    height: 8px;
    padding: 0;
    width: 8px;
}
.hero-dot.is-active { background: #fff; }
.hero-scroll-hint {
    bottom: clamp(24px, 4vw, 52px);
    color: #fff;
    font-size: .56rem;
    letter-spacing: .12em;
    position: absolute;
    right: clamp(22px, 6vw, 92px);
    text-transform: uppercase;
}
.hero-scroll-hint span { font-size: .8rem; margin-left: 8px; }
.category-section {
    display: grid;
    gap: clamp(56px, 9vw, 130px) clamp(30px, 9vw, 130px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1250px;
    padding: clamp(70px, 11vw, 150px) clamp(22px, 8vw, 110px) clamp(90px, 12vw, 170px);
}
.category-card { color: var(--ink); display: block; text-decoration: none; }
.category-card:nth-child(even) { transform: translateY(clamp(30px, 7vw, 100px)); }
.category-card img {
    aspect-ratio: 4 / 3;
    background: #f0efed;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    width: 100%;
}
.category-headshots img, .category-fashion img, .category-events img { aspect-ratio: 4 / 5; }
.category-card:hover img, .category-card:focus-visible img { transform: scale(1.015); }
.category-card-label {
    align-items: center;
    color: var(--muted);
    display: grid;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    gap: 8px;
    justify-items: center;
    letter-spacing: .12em;
    padding-top: 20px;
    text-transform: uppercase;
    transition: color .2s ease;
}
.category-card:hover .category-card-label, .category-card:focus-visible .category-card-label { color: var(--accent); }
.category-card-more {
    color: #b08a70;
    font-size: .66rem;
    letter-spacing: .1em;
}
.category-card:hover .category-card-more, .category-card:focus-visible .category-card-more { color: var(--accent); }
.landing-page .contact, .landing-page .site-footer { margin-left: auto; margin-right: auto; max-width: 1600px; }
.landing-page .contact { padding-left: clamp(20px, 6vw, 92px); padding-right: clamp(20px, 6vw, 92px); }
.contact-page { min-height: calc(100vh - 60px); }
.contact-intro {
    display: grid;
    gap: 24px;
    margin: 0 auto;
    max-width: 660px;
    padding: 0 0 clamp(80px, 12vw, 150px);
    text-align: center;
}
.contact-intro p {
    color: var(--muted);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    line-height: 1.6;
    margin: 0;
}
.contact-intro .contact-link {
    justify-self: center;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.contact-email {
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .1em;
    justify-self: center;
    text-decoration: none;
    text-transform: uppercase;
}
.contact-email:hover { color: var(--accent); }

.page-heading {
    padding: clamp(76px, 9vw, 126px) 0 clamp(56px, 8vw, 108px);
    text-align: center;
}
.page-heading h1 {
    color: #35332f;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 400;
    letter-spacing: .16em;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}
.back-link {
    color: var(--muted);
    font-size: .66rem;
    letter-spacing: .1em;
    padding-bottom: 7px;
    text-decoration: none;
    text-transform: uppercase;
}
.back-link:hover { color: var(--ink); }
.gallery {
    display: grid;
    align-items: start;
    gap: clamp(20px, 4vw, 64px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
}
.photo { margin: 0; min-width: 0; }
.photo:nth-child(even) { margin-top: clamp(26px, 5vw, 76px); }
.photo-button img { height: auto; }
.photo-button {
    background: #e7e5df;
    border: 0;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.photo-button img {
    display: block;
    height: auto;
    max-width: 100%;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
    width: auto;
}
.photo-button:hover img, .photo-button:focus-visible img { transform: scale(1.025); }

.contact {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-top: clamp(48px, 8vw, 108px);
    padding: 24px 0 42px;
}
.contact-note { color: var(--muted); margin: 0; }
.contact-link {
    border-bottom: 1px solid var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    padding-bottom: 5px;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); }
.site-footer {
    align-items: center;
    border-top: 0;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    padding-top: 20px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.instagram-link { align-items: center; display: inline-flex; }
.instagram-icon {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: color .2s ease;
    width: 22px;
}
.instagram-icon-dot { fill: currentColor; stroke: none; }
.instagram-link:hover .instagram-icon { color: var(--accent); }

dialog {
    background: #111;
    border: 0;
    height: min(92vh, 1100px);
    max-height: 92vh;
    max-width: 92vw;
    padding: 0;
    position: relative;
}
dialog::backdrop { background: rgba(15, 15, 14, .94); }
dialog img { display: block; height: 100%; max-width: 90vw; object-fit: contain; width: auto; }
.lightbox-close {
    background: rgba(20, 20, 20, .72);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    height: 42px;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 42px;
}

@media (max-width: 760px) {
    .site-header { align-items: center; gap: 20px; }
    .nav-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        color: #35332f;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 40px;
        justify-content: center;
        margin-left: auto;
        padding: 8px;
        width: 40px;
    }
    .nav-toggle span {
        background: currentColor;
        display: block;
        height: 1px;
        transition: transform .2s ease, opacity .2s ease;
        width: 22px;
    }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
    .site-nav {
        align-items: stretch;
        background: #fff;
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 8px clamp(20px, 6vw, 92px) 20px;
        position: absolute;
        right: 0;
        top: 100%;
    }
    .site-nav.is-open { display: flex; }
    .site-nav > a, .portfolio-menu summary {
        display: block;
        font-size: .72rem;
        padding: 14px 0;
    }
    .site-nav > a[aria-current="page"] { padding-bottom: 14px; }
    .portfolio-menu { padding: 0; }
    .portfolio-dropdown {
        min-width: 0;
        padding: 0 0 8px 14px;
        position: static;
    }
    .portfolio-menu:hover .portfolio-dropdown { display: none; }
    .portfolio-menu[open]:hover .portfolio-dropdown { display: grid; }
    .portfolio-dropdown a { font-size: .66rem; padding: 12px; }
    .site-nav > a, .portfolio-menu summary { font-size: .72rem; }
    .gallery { gap: 18px; }
    .photo:nth-child(even) { margin-top: 28px; }
    .hero-scroll-hint { display: none; }
}
@media (max-width: 430px) {
    .wordmark { font-size: .68rem; }
    .site-header.landing-header { gap: 10px; padding-bottom: 14px; padding-top: 14px; }
    .site-header.landing-header .site-nav { max-width: 215px; }
    .gallery { gap: 12px; }
    .photo:nth-child(even) { margin-top: 18px; }
    .contact { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 560px) {
    .category-section { grid-template-columns: 1fr; gap: 40px; padding-top: 58px; }
    .category-card:nth-child(even) { transform: none; }
    .category-headshots, .category-fashion { width: 82%; }
    .category-street, .category-events { width: 82%; justify-self: end; }
    .hero-carousel { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
