/* ========================
   TOKENS & RESET
======================== */
:root {
    --bg:        #e8ddd3;
    --bg-dark:   #c9b8a4;
    --bg-band:   #b8a48e;
    --accent:    #9a6b2a;
    --accent2:   #c4924a;
    --text:      #2c1a10;
    --text-mid:  #6b5040;
    --text-light:#a08878;
    --white:     #faf7f4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ========================
   NAVIGATION
======================== */
.nav {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    padding: 22px 48px;
    background: transparent;
    transition: background 0.3s;
}
.nav.scrolled { background: rgba(232,221,211,0.92); backdrop-filter: blur(8px); }
.nav-inner { display: flex; gap: 36px; }
.nav-inner a {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text);
    transition: color 0.2s;
}
.nav-inner a:hover { color: var(--accent); }

/* ========================
   HERO
======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px 80px;
    position: relative;
    z-index: 2;
}

.hero-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
}
.dot.active { background: var(--accent); }

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    flex-direction: column;
    line-height: 0.92;
    margin-bottom: 28px;
}
.name-first {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}
.name-last {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 300;
    color: var(--accent2);
    letter-spacing: 0.04em;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--text-mid);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.8;
}
.hero-tagline em { font-style: normal; font-weight: 600; color: var(--text); }

.hero-trust {
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 2;
}
.hero-trust strong { color: var(--accent); font-weight: 600; }

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: background 0.25s, transform 0.2s;
    width: fit-content;
}
.hero-btn:hover { background: var(--text); transform: translateY(-2px); }

.hero-right {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ========================
   BRANDS
======================== */
.brands {
    padding: 40px 0 0;
    background: var(--bg);
    overflow: hidden;
}
.brands-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.brands-band {
    background: var(--bg-band);
    padding: 28px 0;
    overflow: hidden;
    border-top: 1px solid rgba(154,107,42,0.2);
    border-bottom: 1px solid rgba(154,107,42,0.2);
}
.brands-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marquee 30s linear infinite;
    padding: 0 24px;
}
.brands-track img {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========================
   WORK / VIDEOS
======================== */
.work {
    padding: 80px 0;
    background: var(--bg);
}

.category {
    padding: 60px 60px 20px;
    border-top: 1px solid rgba(154,107,42,0.15);
}

.cat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.cat-title span {
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
}

.video-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vcard { display: flex; flex-direction: column; }

.vwrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1410;
    aspect-ratio: 9/16;
    cursor: pointer;
}
.vwrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.playbtn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.18);
    border: none;
    cursor: pointer;
    transition: background 0.2s, opacity 0.6s ease;
    opacity: 1;
}
.playbtn:hover { background: rgba(0,0,0,0.05); }
.playbtn svg {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 12px 10px 12px 14px;
    fill: var(--accent);
    transition: transform 0.2s, opacity 0.6s ease;
}
.playbtn:hover svg { transform: scale(1.1); }
/* faded state — triggered by JS after 2s inactivity */
.vwrap.btn-faded .playbtn { opacity: 0; pointer-events: none; }
.vwrap.playing .playbtn { background: transparent; }
.vwrap.playing .playbtn svg { opacity: 0; }
.vwrap.playing:hover .playbtn svg { opacity: 1; }

.vbrand, .vtype { display: none; }

/* ========================
   PHOTOGRAPHY MOSAIC
======================== */
.photography {
    padding: 80px 60px;
    background: var(--bg);
    border-top: 1px solid rgba(154,107,42,0.15);
}

.photo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.photo-title span {
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
}

.mosaic {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 40px;
}

.mosaic-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.mosaic-col img {
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    transition: opacity 0.3s;
}
.mosaic-col img:hover { opacity: 0.86; }

/* Col A */
.col-a img:nth-child(1) { height: 180px; }
.col-a img:nth-child(2) { height: 300px; }
/* Col B */
.col-b img:nth-child(1) { height: 280px; }
.col-b img:nth-child(2) { height: 160px; }
.col-b img:nth-child(3) { height: 140px; }
/* Col C */
.col-c img:nth-child(1) { height: 340px; }
.col-c img:nth-child(2) { height: 140px; }
/* Col D */
.col-d img:nth-child(1) { height: 200px; }
.col-d img:nth-child(2) { height: 160px; }
.col-d img:nth-child(3) { height: 120px; }
/* Col E */
.col-e img:nth-child(1) { height: 260px; }
.col-e img:nth-child(2) { height: 220px; }

.photo-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.9;
    letter-spacing: 0.03em;
}
.photo-quote em {
    font-style: italic;
    color: var(--accent);
}

/* ========================
   FOOTER
======================== */
.footer {
    display: flex;
    align-items: stretch;
    min-height: 55vh;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.footer-text {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    z-index: 2;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.footer-title span {
    font-style: italic;
    font-weight: 300;
    color: var(--text-mid);
}

.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--text-mid);
    color: var(--text-mid);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-img {
    flex: 0 0 58%;
    position: relative;
    overflow: hidden;
}
.footer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
    .video-row { grid-template-columns: repeat(2, 1fr); }
    .mosaic { height: 380px; }
    .col-a, .col-b, .col-c, .col-d, .col-e { margin-top: 0; }
}

@media (max-width: 768px) {
    .nav { padding: 18px 24px; }
    .nav-inner { gap: 20px; }

    .hero { flex-direction: column; min-height: auto; }
    .hero-left { flex: none; padding: 90px 28px 40px; }
    .hero-right { flex: none; width: 100%; height: 90vw; max-height: 480px; }
    .hero-img { object-position: center 15%; }

    .category { padding: 40px 20px 10px; }
    .video-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .photography { padding: 60px 20px; }

    /* Flatten 5 columns into a 2-column grid */
    .mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        height: auto;
        overflow: visible;
    }
    .mosaic-col { display: contents; }

    /* Override ALL desktop nth-child heights */
    .col-a img:nth-child(1), .col-a img:nth-child(2),
    .col-b img:nth-child(1), .col-b img:nth-child(2), .col-b img:nth-child(3),
    .col-c img:nth-child(1), .col-c img:nth-child(2),
    .col-d img:nth-child(1), .col-d img:nth-child(2), .col-d img:nth-child(3),
    .col-e img:nth-child(1), .col-e img:nth-child(2) { height: 170px; }

    .footer { flex-direction: column; }
    .footer-text { flex: none; padding: 50px 28px 40px; }
    .footer-img { flex: none; width: 100%; height: 65vw; }
}

@media (max-width: 480px) {
    .hero-left { padding: 80px 20px 36px; }
    .category { padding: 36px 16px 8px; }
    .video-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mosaic-col { flex: 0 0 calc(50% - 4px); }
    .footer-text { padding: 40px 20px 36px; }
}
