:root {
    --paper: #f1eee7;
    --paper-deep: #e9e5dc;
    --ink: #20221f;
    --ink-soft: #555850;
    --muted: #7d7e76;
    --accent: #9a4f3e;
    --line: rgba(32, 34, 31, 0.16);
    --content-width: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: 88px; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* A quiet, paper-like frame keeps the moving images in focus. */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 max(34px, calc((100vw - var(--content-width)) / 2));
    background: rgba(241, 238, 231, 0.93);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.logo, .navbar nav a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.logo { white-space: nowrap; }
.navbar nav { display: flex; gap: clamp(17px, 3vw, 42px); }
.navbar nav a { color: var(--ink-soft); transition: color 180ms ease; }
.navbar nav a:hover, .hero-link:hover { color: var(--accent); }

.hero {
    min-height: min(820px, 91svh);
    padding: 70px max(34px, calc((100vw - var(--content-width)) / 2)) 54px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(32,34,31,.045) calc(100% - 1px)),
        var(--paper);
    background-size: 25% 100%;
    border-bottom: 1px solid var(--line);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(42px, 6vw, 92px);
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding-top: 42px;
}
.hero-copy { min-width: 0; }
.eyebrow, .about-heading, .clients-heading, .video-note {
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}
.hero .eyebrow { margin-bottom: 34px; white-space: nowrap; }
.hero .eyebrow span { padding: 0 7px; }
.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(82px, 13vw, 178px);
    font-weight: 500;
    letter-spacing: -0.075em;
    line-height: 0.78;
}
.hero h1 em { color: var(--accent); font-weight: 500; }
.hero-bottomline {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 38px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.hero-bottomline > p { color: var(--ink-soft); font-size: 16px; }
.hero-link {
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: color 180ms ease;
}
.hero-link span { padding-left: 12px; color: var(--accent); font-size: 17px; }
.hero-reel {
    position: relative;
    width: 100%;
    aspect-ratio: 1.42;
    overflow: hidden;
    border: 1px solid rgba(32, 34, 31, .12);
    border-radius: 24px;
    background: #151613;
    box-shadow: 0 24px 64px rgba(44, 38, 31, .13);
    opacity: var(--hero-reel-opacity, 1);
    transition: opacity 120ms linear;
    will-change: opacity;
}
.hero-reel iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hero-reel-label {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(24, 25, 23, .62);
    color: #f1eee7;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .14em;
    backdrop-filter: blur(8px);
}
.hero-reel-label > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d59a83;
}

.about {
    padding: 128px 34px 120px;
    border-bottom: 1px solid var(--line);
}
.about-content {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    column-gap: clamp(48px, 8vw, 120px);
    row-gap: 36px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: start;
}
.about-photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 0.86;
    overflow: hidden;
    border-radius: 20px;
    background: var(--paper-deep);
    box-shadow: 0 18px 48px rgba(44, 38, 31, .10);
}
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-column: 2; grid-row: 1; max-width: 610px; }
.about-heading { display: flex; justify-content: space-between; margin: 2px 0 34px; }
.about-heading span { color: var(--muted); font-size: 9px; }
.about-text h2, .work-heading h2, .contact h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.045em;
}
.about-text h2 { max-width: 560px; margin-bottom: 24px; font-size: clamp(38px, 4vw, 56px); line-height: 1.05; }
.about-text p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.about-text a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(154,79,62,.5); text-underline-offset: 3px; }
.about-intro-video { grid-column: 2; grid-row: 2; width: min(100%, 610px); margin: 0; }
.video-note { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 9px; }
.video-note span { color: var(--accent); }

.clients-section {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 34px;
    border-bottom: 1px solid var(--line);
}
.clients-heading { padding-top: 10px; color: var(--muted); font-size: 9px; }
.clients-list { display: flex; flex-wrap: wrap; align-items: center; }
.client-name {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    filter: blur(5px);
    transform: translateY(8px);
    transition: opacity 500ms ease, filter 600ms ease, transform 600ms ease;
}
.client-name:not(:last-child)::after { content: '·'; margin-left: 24px; color: var(--accent); }
.clients-section.is-visible .client-name { opacity: 1; filter: blur(0); transform: none; }
.clients-section.is-visible .client-name:nth-child(2) { transition-delay: 45ms; }
.clients-section.is-visible .client-name:nth-child(3) { transition-delay: 90ms; }
.clients-section.is-visible .client-name:nth-child(4) { transition-delay: 135ms; }
.clients-section.is-visible .client-name:nth-child(5) { transition-delay: 180ms; }
.clients-section.is-visible .client-name:nth-child(6) { transition-delay: 225ms; }
.clients-section.is-visible .client-name:nth-child(7) { transition-delay: 270ms; }
.clients-section.is-visible .client-name:nth-child(8) { transition-delay: 315ms; }
.clients-section.is-visible .client-name:nth-child(9) { transition-delay: 360ms; }
.clients-section.is-visible .client-name:nth-child(10) { transition-delay: 405ms; }
.clients-section.is-visible .client-name:nth-child(11) { transition-delay: 450ms; }

.work { padding: 112px 34px 132px; }
.work-heading { max-width: var(--content-width); margin: 0 auto 44px; }
.work-heading .eyebrow { margin-bottom: 16px; }
.work-heading h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.work-heading > p:last-child { margin-top: 16px; color: var(--ink-soft); font-size: 14px; }
.work-filters {
    position: sticky;
    top: 70px;
    z-index: 20;
    display: flex;
    gap: 26px;
    max-width: var(--content-width);
    margin: 0 auto 64px;
    padding: 15px 0;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(241, 238, 231, .96);
    scrollbar-width: none;
}
.work-filters::-webkit-scrollbar { display: none; }
.work-filters a {
    flex: 0 0 auto;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 180ms ease;
}
.work-filters a:hover { color: var(--accent); }
.work-category {
    max-width: var(--content-width);
    margin: 0 auto 88px;
    scroll-margin-top: 145px;
    counter-increment: category;
}
.work { counter-reset: category; }
.work-category > h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
}
.work-category > h2::before { content: '0' counter(category); color: var(--accent); font-size: 10px; }
.work-category > h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.video-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 30px 18px;
}
.video-card {
    grid-column: span 4;
    min-width: 0;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}
.video-card:first-child { grid-column: span 8; }
#documentary .video-card:first-child { grid-column: 1 / span 6; }
.video-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
    background: #d8d3c9;
}
.video-thumbnail {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 250ms ease;
}
.video-card:hover .video-thumbnail { transform: scale(1.025); }
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    appearance: none;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(241,238,231,.92);
    color: var(--ink);
    box-shadow: 0 3px 18px rgba(0,0,0,.22);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease, opacity 220ms ease;
}
.video-play-button span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid currentColor;
}
.video-card:hover .video-play-button { transform: translate(-50%, -50%) scale(1.06); }
.video-card.is-playing .video-play-button { opacity: 1 !important; visibility: visible !important; pointer-events: auto; }
.video-card.is-active .video-play-button { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
.video-preview iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; pointer-events: none; }
.video-card.is-active .video-preview iframe { pointer-events: auto; }
.video-card.is-playing .video-thumbnail { opacity: 0; }
.video-card.is-mobile-ready .video-preview iframe { opacity: 0; pointer-events: none; }
.video-card.is-mobile-ready .video-play-button { opacity: 1; visibility: visible; pointer-events: auto; }
.video-card.is-mobile-playing .video-preview iframe { opacity: 1; pointer-events: auto; }
.video-card.is-mobile-playing .video-thumbnail { opacity: 0; }
.video-card.is-mobile-playing .video-play-button span { width: 10px; height: 13px; margin: 0; border: 0; border-right: 3px solid currentColor; border-left: 3px solid currentColor; }
.video-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 11px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.45;
}
.video-meta-arrow { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; color: var(--accent); }
.video-meta-arrow svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-intro-video .video-meta { display: none; }

.edit-notes {
    display: grid;
    grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr);
    gap: clamp(32px, 8vw, 120px);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 76px 34px 82px;
    border-bottom: 1px solid var(--line);
}
.edit-notes-heading .eyebrow { margin-bottom: 15px; }
.edit-notes-heading h2 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}
.edit-note-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.edit-note-list p {
    display: flex;
    align-items: center;
    min-height: 108px;
    padding: 8px 18px;
    border-left: 1px solid var(--line);
    color: var(--ink-soft);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.4;
}

.contact {
    padding: 84px 34px 24px;
    background: var(--ink);
    color: var(--paper);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr minmax(330px, .8fr);
    align-items: center;
    gap: 48px 10vw;
    max-width: var(--content-width);
    margin: 0 auto;
}
.contact-title .eyebrow { margin-bottom: 20px; color: #d59a83; }
.contact h2 { font-size: clamp(52px, 7vw, 88px); line-height: .94; }
.contact h2 em { color: #d59a83; font-weight: 500; }
.contact-actions { display: grid; gap: 12px; }
.contact-link {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 15px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(241, 238, 231, .2);
    border-radius: 14px;
    color: #f1eee7;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.contact-link:hover { border-color: rgba(213, 154, 131, .7); background: rgba(255,255,255,.04); transform: translateY(-2px); }
.contact-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(213,154,131,.45); border-radius: 50%; color: #d59a83; }
.contact-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-link-copy { display: grid; gap: 5px; min-width: 0; }
.contact-link-copy small { color: #b4b1a8; font-size: 8px; font-weight: 600; letter-spacing: .17em; }
.contact-link-copy strong { overflow-wrap: anywhere; color: #f1eee7; font-size: 13px; font-weight: 500; }
.contact-arrow { color: #d59a83; font-size: 17px; }
.contact-footnote { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid rgba(241,238,231,.17); color: #aaa79e; font-size: 9px; letter-spacing: .14em; }
.contact-footnote span { padding: 0 8px; color: #d59a83; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .client-name { opacity: 1; filter: none; transform: none; }
}

@media (max-width: 760px) {
    .navbar { height: 60px; padding: 0 17px; }
    .logo, .navbar nav a { font-size: 8px; letter-spacing: .08em; }
    .navbar nav { gap: clamp(8px, 2.8vw, 15px); }
    .hero { min-height: 0; padding: 92px 22px 50px; background-size: 50% 100%; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 29px; padding-top: 0; }
    .hero .eyebrow { margin-bottom: 25px; font-size: 8px; }
    .hero h1 { font-size: clamp(74px, 18vw, 112px); }
    .hero-bottomline { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
    .hero-bottomline > p { font-size: 14px; }
    .hero-link { font-size: 9px; }
    .hero-reel { aspect-ratio: 1.62; border-radius: 19px; }
    .hero-reel-label { right: 10px; bottom: 10px; padding: 8px 10px; font-size: 7px; }
    .about { padding: 78px 22px 72px; }
    .about-content { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .about-photo { grid-column: 1; grid-row: auto; width: min(88%, 390px); aspect-ratio: .95; border-radius: 17px; }
    .about-text { grid-column: 1; grid-row: auto; }
    .about-heading { margin: 5px 0 23px; }
    .about-text h2 { margin-bottom: 19px; font-size: clamp(36px, 9vw, 48px); }
    .about-text p { font-size: 14px; line-height: 1.72; }
    .about-intro-video { grid-column: 1; grid-row: auto; width: 100%; margin-top: 5px; }
    .video-note { font-size: 8px; }
    .clients-section { grid-template-columns: 1fr; gap: 14px; padding: 28px 22px 30px; }
    .clients-heading { padding: 0; text-align: center; }
    .clients-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 0; border-top: 1px solid var(--line); }
    .client-name { justify-content: center; min-width: 0; min-height: 49px; padding: 8px 5px; border-bottom: 1px solid var(--line); font-size: 10px; text-align: center; }
    .client-name:not(:last-child)::after { display: none; }
    .client-name:last-child { grid-column: 1 / -1; }
    .edit-notes { grid-template-columns: 1fr; gap: 23px; padding: 58px 22px 62px; }
    .edit-notes-heading h2 br { display: none; }
    .edit-note-list { grid-template-columns: 1fr; gap: 0; }
    .edit-note-list p { min-height: 0; padding: 15px 0 15px 16px; border-left: 1px solid var(--line); font-size: 19px; }
    .work { padding: 76px 18px 88px; }
    .work-heading { margin-bottom: 30px; }
    .work-heading .eyebrow { margin-bottom: 12px; font-size: 9px; }
    .work-heading h2 { font-size: 46px; }
    .work-heading > p:last-child { max-width: 270px; font-size: 13px; line-height: 1.6; }
    .work-filters { top: 60px; gap: 20px; margin-bottom: 45px; padding: 13px 0; }
    .work-filters a { font-size: 9px; }
    .work-category { margin-bottom: 58px; scroll-margin-top: 122px; }
    .work-category > h2 { gap: 10px; margin-bottom: 15px; font-size: 10px; letter-spacing: .09em; }
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 11px; }
    .video-card, .video-card:first-child, #documentary .video-card:first-child { grid-column: span 1; }
    .video-preview { aspect-ratio: 1.28; }
    .video-play-button { width: 36px; height: 36px; }
    .video-play-button span { border-top-width: 5px; border-bottom-width: 5px; border-left-width: 7px; }
    .video-meta { padding-top: 8px; font-size: 10px; line-height: 1.4; }
    .video-meta-arrow { flex-basis: 16px; width: 16px; height: 16px; }
    .video-meta-arrow svg { width: 13px; height: 13px; }
    .contact { padding: 65px 22px 20px; }
    .contact-inner { grid-template-columns: 1fr; gap: 28px; }
    .contact-title .eyebrow { margin-bottom: 15px; }
    .contact h2 { font-size: 60px; }
    .contact-actions { gap: 10px; }
    .contact-link { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; padding: 12px; border-radius: 12px; }
    .contact-icon { width: 38px; height: 38px; }
    .contact-link-copy strong { font-size: 12px; }
    .contact-footnote { margin-top: 8px; }
}

@media (max-width: 380px) {
    .logo, .navbar nav a { font-size: 7px; letter-spacing: .055em; }
    .navbar nav { gap: 8px; }
    .work { padding-right: 14px; padding-left: 14px; }
    .video-meta { font-size: 9px; }
}

/* Refinements: portrait as intro player, client drafts, short-form, and responsive credit/contact blocks. */
.about-content > .about-photo {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 450px;
    aspect-ratio: auto;
    overflow: hidden;
    border: 1px solid rgba(32, 34, 31, .12);
    border-radius: 20px;
    background: var(--paper-deep);
    box-shadow: 0 18px 48px rgba(44, 38, 31, .10);
}
.about-content > .about-text { grid-column: 2; grid-row: 1; align-self: center; }
.about-photo .video-preview { aspect-ratio: .86; border-radius: inherit; }
.about-photo .video-preview { background: #e9e5dc url('assets/mahek.jpg') center 38% / cover no-repeat; }
.about-photo .video-thumbnail { object-fit: cover; opacity: 0; }
.about-media-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
}
.about-media-caption span:last-child { color: var(--accent); }

.hero-reel { background: radial-gradient(ellipse at 55% 40%, #30312c 0, #1d1e1a 48%, #121310 100%); }
.hero-reel iframe {
    z-index: 1;
    /* Slightly overscan the Vimeo frame so its internal matte can't show at the rounded edges. */
    inset: -2.5%;
    width: 105%;
    height: 105%;
}

.clients-section {
    grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
    gap: 34px;
    max-width: none;
    margin: 0;
    padding: 48px max(34px, calc((100vw - var(--content-width)) / 2));
    background: var(--paper-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.clients-heading {
    display: grid;
    gap: 4px;
    padding-top: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .09em;
    line-height: 1.4;
}
.clients-heading span { color: var(--accent); }
.clients-list { gap: 4px; }
.client-name {
    margin: 3px;
    padding: 10px 15px;
    border: 1px solid rgba(32, 34, 31, .14);
    border-radius: 999px;
    background: rgba(255,255,255,.32);
    color: var(--ink);
    font-size: 12px;
}
.client-name:not(:last-child)::after { display: none; }

.client-reviews {
    display: grid;
    grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
    padding: 78px max(34px, calc((100vw - var(--content-width)) / 2));
    border-bottom: 1px solid var(--line);
}
.reviews-heading .eyebrow { max-width: 240px; margin-bottom: 16px; font-size: 9px; line-height: 1.7; }
.reviews-heading h2 { color: var(--ink); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    padding: 20px 18px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.3);
}
.review-card > p { color: var(--ink-soft); font-family: 'Playfair Display', Georgia, serif; font-size: 16px; line-height: 1.55; }
.review-card footer { display: grid; gap: 5px; padding-top: 18px; }
.review-card footer strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.review-card footer span { color: var(--accent); font-size: 8px; font-weight: 600; letter-spacing: .13em; }

.short-form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.short-form-grid .vertical-card, .short-form-grid .vertical-card:first-child { grid-column: span 2; }
.vertical-card .video-preview { aspect-ratio: 9 / 16; max-height: 520px; }
.vertical-card .video-thumbnail { object-fit: cover; }

@media (max-width: 760px) {
    .about-content > .about-photo { grid-column: 1; grid-row: auto; width: min(88%, 390px); max-width: none; aspect-ratio: auto; border-radius: 17px; }
    .about-photo .video-preview { aspect-ratio: .95; }
    .about-content > .about-text { grid-column: 1; grid-row: auto; align-self: auto; }
    .about-media-caption { padding: 11px 12px; font-size: 8px; }
    .clients-section { grid-template-columns: 1fr; gap: 16px; padding: 34px 22px 38px; }
    .clients-heading { justify-items: center; padding: 0; font-size: 12px; text-align: center; }
    .clients-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: 100%; margin: 0; border-top: 1px solid rgba(32,34,31,.14); }
    .client-name { justify-content: center; min-width: 0; min-height: 52px; margin: 0; padding: 8px 5px; border: 0; border-bottom: 1px solid rgba(32,34,31,.14); border-radius: 0; background: transparent; font-size: 10px; line-height: 1.35; text-align: center; }
    .client-name:last-child { grid-column: 1 / -1; }
    .client-reviews { grid-template-columns: 1fr; gap: 22px; padding: 58px 0 62px; }
    .reviews-heading { padding: 0 22px; }
    .reviews-heading h2 br { display: none; }
    .review-grid { display: flex; gap: 12px; overflow-x: auto; padding: 0 22px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .review-grid::-webkit-scrollbar { display: none; }
    .review-card { flex: 0 0 min(82vw, 330px); min-height: 205px; padding: 18px 16px 15px; scroll-snap-align: start; }
    .review-card > p { font-size: 15px; }
    .short-form-grid { display: flex; gap: 13px; overflow-x: auto; padding: 0 0 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .short-form-grid .vertical-card, .short-form-grid .vertical-card:first-child { flex: 0 0 min(54vw, 220px); width: min(54vw, 220px); scroll-snap-align: start; }
    .vertical-card .video-preview { max-height: 390px; }
}

/* Portfolio corrections: portrait lower-third, larger mobile work cards, and WhatsApp form. */
.about-content > .about-photo {
    position: relative;
    aspect-ratio: .86;
}
.about-content > .about-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}
.about-media-caption {
    position: absolute;
    inset: auto 0 0;
    min-height: 76px;
    padding: 30px 18px 17px;
    color: #fff;
    background: linear-gradient(transparent, rgba(15, 16, 14, .72));
    font-size: 12px;
    letter-spacing: .06em;
}
.about-media-caption span:last-child { color: inherit; }
.contact-form {
    display: grid;
    gap: 9px;
    margin-top: 10px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
}
.contact-form label { margin-top: 5px; color: #c8c4bb; font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 9px;
    outline: none;
    background: rgba(255,255,255,.06);
    color: #f2efe8;
    font: inherit;
    font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #d59a83; }
.contact-form textarea { min-height: 108px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a7a39a; }
.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    margin-top: 7px;
    border: 0;
    border-radius: 9px;
    background: #d59a83;
    color: #171815;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.contact-form button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; }
.contact-form button span { margin-left: auto; padding-right: 14px; }
.contact-form small { color: #aaa69e; font-size: 10px; line-height: 1.5; }
@media (max-width: 760px) {
    .about-content > .about-photo { width: min(88%, 390px); aspect-ratio: .95; }
    .video-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 0 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
    }
    .video-card, .video-card:first-child, #documentary .video-card:first-child {
        flex: 0 0 min(84vw, 410px);
        width: min(84vw, 410px);
        grid-column: auto;
        scroll-snap-align: start;
    }
    .video-preview { aspect-ratio: 16 / 10; }
    .contact-form { padding: 17px; }
}

/* Mobile About: a compact portrait and intro side by side, with remaining copy below. */
.about-followup { grid-column: 1 / -1; max-width: 820px; }
.about-followup p { margin: 0 0 15px; color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.about-followup a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(154,79,62,.5); text-underline-offset: 3px; }
.verticals-placeholder > p { padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; }
.contact-form button { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; justify-items: center; text-align: center; }
.contact-form button span { margin: 0; padding: 0; }
@media (max-width: 760px) {
    .about-content { grid-template-columns: minmax(94px, 34%) minmax(0, 1fr); align-items: start; column-gap: 16px; row-gap: 18px; }
    .about-content > .about-photo { grid-column: 1; grid-row: 1; width: 100%; max-width: none; aspect-ratio: .78; border-radius: 13px; }
    .about-content > .about-text { grid-column: 2; grid-row: 1; align-self: start; }
    .about-heading { margin: 2px 0 12px; font-size: 9px; }
    .about-heading span { display: none; }
    .about-text h2 { margin: 0 0 10px; font-size: clamp(21px, 6vw, 30px); line-height: 1.08; }
    .about-text > p { margin: 0; font-size: 12px; line-height: 1.55; }
    .about-followup { grid-column: 1 / -1; }
    .about-followup p { font-size: 14px; line-height: 1.68; }
    .verticals-placeholder > p { padding: 19px; }
}

/* Keep the full desktop About copy in the original right-hand column. */
@media (min-width: 761px) {
    .about-content > .about-photo { grid-row: 1 / span 2; }
    .about-content > .about-text { grid-column: 2; grid-row: 1; }
    .about-content > .about-followup { grid-column: 2; grid-row: 2; max-width: 610px; }
}
.about-media-caption {
    inset: auto 15px 15px;
    min-height: 0;
    justify-content: flex-start;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(20,21,19,.62);
    color: #fff;
    font-size: 11px;
    letter-spacing: .08em;
    backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
    .about-content > .about-followup { grid-column: 1 / -1; grid-row: 2; }
}

/* Photo credit label sits just below the portrait, like a printed lower-third. */
.about-content > .about-photo {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.about-content > .about-photo > img {
    border: 1px solid rgba(32,34,31,.1);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(44,38,31,.10);
}
.about-media-caption {
    inset: auto -16px -12px auto;
    z-index: 2;
    display: inline-flex;
    width: max-content;
    min-height: 0;
    padding: 12px 18px;
    border: 1px solid rgba(32,34,31,.08);
    border-radius: 3px;
    background: #fff;
    color: #262722;
    box-shadow: 0 8px 22px rgba(44,38,31,.12);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    white-space: nowrap;
    backdrop-filter: none;
}
.about-media-caption span:last-child { color: inherit; }
.contact-form button {
    display: grid;
    grid-template-columns: 20px auto 20px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 9px;
    line-height: 1;
}
.contact-form button svg { display: block; width: 19px; height: 19px; justify-self: end; }
.contact-form-button-label { display: block; margin: 0 !important; padding: 0 !important; white-space: nowrap; }
.contact-form-button-arrow { display: block; margin: 0 !important; padding: 0 !important; justify-self: start; }
@media (max-width: 760px) {
    .about { padding: 64px 22px 66px; }
    .about-content { grid-template-columns: minmax(0, 1fr); gap: 31px; }
    .about-content > .about-photo {
        grid-column: 1;
        grid-row: 1;
        width: min(76%, 290px);
        margin: 0 auto 8px;
        aspect-ratio: .88;
        border-radius: 15px;
    }
    .about-content > .about-photo > img { border-radius: 15px; }
    .about-media-caption { right: -22px; bottom: -12px; padding: 11px 15px; font-size: 9px; }
    .about-content > .about-text { grid-column: 1; grid-row: 2; max-width: none; }
    .about-heading { margin: 0 0 17px; font-size: 10px; }
    .about-heading span { display: inline; font-size: 8px; }
    .about-text h2 { max-width: 520px; margin: 0 0 16px; font-size: clamp(34px, 9vw, 46px); line-height: 1.03; }
    .about-text > p { max-width: 620px; font-size: 14px; line-height: 1.72; }
    .about-content > .about-followup { grid-column: 1; grid-row: 3; max-width: none; }
    .about-followup p { font-size: 14px; line-height: 1.72; }
}

/* Refine the hero name for clean spacing on narrow screens. */
@media (max-width: 760px) {
    .hero h1 { white-space: nowrap; font-size: clamp(42px, 11.5vw, 54px); letter-spacing: -.025em; font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0; }
    .hero h1 br { display: none; }
    .hero h1 em { margin-left: .12em; }
}
.contact-form button .whatsapp-brand-icon {
    display: block;
    width: 21px;
    height: 21px;
    padding: 3px;
    justify-self: end;
    border-radius: 50%;
    background: #25d366;
    fill: none;
    stroke: #fff;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-form button .whatsapp-brand-icon path + path { stroke-width: 1.2; }
.hero h1 { letter-spacing: -.045em; font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0; }
@media (max-width: 760px) {
    .hero h1 { font-size: clamp(36px, 11.5vw, 54px); letter-spacing: -.02em; }
}
.contact-form button .whatsapp-brand-icon path:first-child { fill: none; stroke: #fff; }
.contact-form button .whatsapp-brand-icon path + path { fill: #fff; stroke: none; }

/* Keep the f and i distinct in the name while preserving the display type. */
.hero h1 em .fi-gap { display: inline-block; margin-left: .1em; font-variant-ligatures: none; }
.whatsapp-icon { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon .whatsapp-icon { width: 20px; height: 20px; }
.contact-form button .whatsapp-icon { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; justify-self: end; }

/* Use the supplied WhatsApp artwork and keep both credits subtle in the footer. */
.contact-icon { overflow: hidden; }
.whatsapp-pngtree-crop {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 3px;
    background: #fff;
}
.whatsapp-pngtree-crop img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    max-width: none;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.contact-form-whatsapp-badge {
    position: relative;
    display: block;
    width: 23px;
    height: 23px;
    overflow: hidden;
    justify-self: end;
    border-radius: 50%;
    background: #25d366;
}
.contact-form-whatsapp-badge img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    max-width: none;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}
.contact-credits {
    grid-column: 1 / -1;
    margin-top: -9px;
    color: rgba(241,238,231,.56);
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .015em;
}
.contact-credits a { color: inherit; text-decoration: underline; text-decoration-color: rgba(241,238,231,.3); text-underline-offset: 2px; }
.contact-credits span { padding: 0 4px; color: #d59a83; }

/* Reuse the single Magnific WhatsApp icon in both contact locations. */
.whatsapp-pngtree-crop, .contact-form-whatsapp-badge { display: none !important; }
.contact-icon svg { width: 24px; height: 24px; }
.site-legal-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(241,238,231,.14);
    color: rgba(241,238,231,.58);
    font-size: 9px;
    line-height: 1.6;
}
.site-legal-footer a { color: #f1eee7; text-decoration: underline; text-decoration-color: rgba(241,238,231,.35); text-underline-offset: 3px; }
.privacy-page { max-width: 900px; min-height: calc(100svh - 70px); margin: 0 auto; padding: 138px 34px 90px; }
.privacy-page > .eyebrow { margin-bottom: 16px; }
.privacy-page h1, .privacy-page h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
.privacy-page h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 68px); line-height: 1; }
.privacy-page .privacy-updated { margin-bottom: 26px; color: var(--muted); font-size: 11px; }
.privacy-page p, .privacy-page li { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.privacy-page section { margin-top: 34px; }
.privacy-page h2 { margin-bottom: 10px; color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.privacy-page a:not(.privacy-back) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.privacy-back { display: inline-flex; gap: 18px; align-items: center; margin-top: 42px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.privacy-back span { color: var(--accent); }
@media (max-width: 600px) {
    .privacy-page { padding: 112px 22px 64px; }
    .privacy-page h1 { font-size: 42px; }
    .privacy-page h2 { font-size: 20px; }
    .privacy-page p { font-size: 13px; }
    .site-legal-footer { flex-direction: column; gap: 5px; }
}
.whatsapp-mark {
    position: relative;
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    overflow: hidden;
    border-radius: 50%;
    background: #25d366;
}
.whatsapp-mark img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    max-width: none;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}
.contact-form button .whatsapp-mark { justify-self: end; }

/* Integrate the supplied WhatsApp mark with the warm portfolio palette. */
.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    line-height: 1.2;
}
.whatsapp-mark {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}
.whatsapp-mark img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    max-width: none;
    transform: translate(-50%, -50%);
    filter: brightness(0) saturate(100%) invert(61%) sepia(17%) saturate(658%) hue-rotate(326deg) brightness(91%) contrast(85%);
}
.contact-form button .whatsapp-mark img {
    filter: brightness(0) saturate(100%) opacity(.78);
}
.contact-form-button-label, .contact-form-button-arrow {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}
.contact-form-button-arrow { font-size: 14px; }

/* Extra inset prevents the top of the supplied icon from being clipped. */
.whatsapp-mark { width: 24px; height: 24px; flex-basis: 24px; }
.whatsapp-mark img { width: 44px; height: 44px; }

/* Reels are presented as a right-to-left horizontal strip. */
.vertical-reel-track {
    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}
.vertical-reel-track .vertical-card {
    direction: ltr;
    flex: 0 0 min(23vw, 270px);
    width: min(23vw, 270px);
    grid-column: auto;
    scroll-snap-align: start;
}
.vertical-reel-track .video-preview { aspect-ratio: 9 / 16; max-height: 520px; }
.vertical-reel-track .video-thumbnail { object-fit: cover; }
@media (max-width: 760px) {
    .vertical-reel-track { gap: 14px; margin-right: -18px; padding-right: 18px; }
    .vertical-reel-track .vertical-card { flex-basis: min(62vw, 250px); width: min(62vw, 250px); }
    .vertical-reel-track .video-preview { max-height: 440px; }
}

/* Desktop reels: three portrait projects side by side in one row. */
.reels-category .vertical-reel-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    direction: ltr;
    gap: 20px;
    overflow: visible;
    padding: 0;
}
.reels-category .vertical-reel-track .video-card,
.reels-category .vertical-reel-track .video-card:first-child {
    width: auto;
    min-width: 0;
    flex: initial;
    grid-column: auto;
}
.reels-category .vertical-reel-track .video-preview {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: none;
}
@media (max-width: 760px) {
    .reels-category .vertical-reel-track {
        display: flex;
        direction: ltr;
        gap: 14px;
        overflow-x: auto;
        margin-right: -18px;
        padding: 0 18px 12px 0;
        scroll-snap-type: x mandatory;
    }
    .reels-category .vertical-reel-track .video-card,
    .reels-category .vertical-reel-track .video-card:first-child {
        flex: 0 0 min(62vw, 250px);
        width: min(62vw, 250px);
        grid-column: auto;
        scroll-snap-align: start;
    }
    .reels-category .vertical-reel-track .video-preview { aspect-ratio: 9 / 16; max-height: 440px; }

}


/* Direct-share category pages: focus on the requested work, while retaining contact links. */
body[data-category-route] .hero,
body[data-category-route] .about,
body[data-category-route] .clients-section,
body[data-category-route] .client-reviews,
body[data-category-route] .work-heading,
body[data-category-route] .work-filters {
    display: none !important;
}
body[data-category-route] .work {
    min-height: calc(100svh - 70px);
    padding-top: 106px;
}
body[data-category-route] .work-category { margin-bottom: 42px; }
body[data-category-route] .work-category > h2 {
    margin-bottom: 18px;
    font-size: clamp(14px, 2vw, 20px);
}
body[data-category-route="commercials"] .work-category:not(#commercials) { display: none !important; }
body[data-category-route="documentary"] .work-category:not(#documentary) { display: none !important; }
body[data-category-route="narrative"] .work-category:not(#narrative) { display: none !important; }
body[data-category-route="digital"] .work-category:not(#digital) { display: none !important; }
body[data-category-route="corporate"] .work-category:not(#corporate) { display: none !important; }
body[data-category-route="verticals"] .work-category:not(#verticals) { display: none !important; }

@media (max-width: 760px) {
    body[data-category-route] .work { padding-top: 88px; }
    body[data-category-route] .work-category { margin-bottom: 28px; }
}

/* Keep the Vimeo poster visible until the live hero iframe paints. */

/* Keep the hero reel as one clean, scroll-through video surface. */
.hero-reel { aspect-ratio: 16 / 9; transition: none; will-change: auto; }
.hero-reel iframe { pointer-events: none; }

/* Original Optimised: manual light/dark themes, retaining its editorial palette. */
:root {
    color-scheme: light;
    --paper: #f1eee7;
    --paper-deep: #e9e5dc;
    --ink: #20221f;
    --ink-soft: #555850;
    --muted: #7d7e76;
    --accent: #9a4f3e;
    --line: rgba(32, 34, 31, .16);
    --nav-bg: rgba(241, 238, 231, .94);
    --contact-bg: #20221f;
    --contact-ink: #f1eee7;
    --contact-card-bg: #292b28;
    --contact-field-bg: #20221f;
    --contact-line: rgba(241, 238, 231, .2);
    --contact-accent: #d59a83;
    --contact-muted: #b4b1a8;
    --field-bg: #f1eee7;
    --card-bg: #e9e5dc;
    --filter-bg: #f1eee7;
    --play-bg: rgba(241, 238, 231, .9);
    --play-border: rgba(32, 34, 31, .58);
    --play-ink: #20221f;
    --hover-bg: rgba(32, 34, 31, .035);
    --legal-muted: rgba(32, 34, 31, .58);
    --button-bg: #d59a83;
    --button-ink: #171815;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #20211f;
    --paper-deep: #2a2b28;
    --ink: #f1eee7;
    --ink-soft: #c5c0b8;
    --muted: #9f9b92;
    --accent: #d5aa98;
    --line: rgba(241, 238, 231, .16);
    --nav-bg: rgba(32, 33, 31, .96);
    --contact-bg: #292b28;
    --contact-ink: #f1eee7;
    --contact-card-bg: #20211f;
    --contact-field-bg: #20211f;
    --contact-line: rgba(241, 238, 231, .18);
    --contact-accent: #d5aa98;
    --contact-muted: #b8b8af;
    --field-bg: #20211f;
    --card-bg: #292b28;
    --filter-bg: #20211f;
    --play-bg: rgba(32, 33, 31, .9);
    --play-border: rgba(241, 238, 231, .72);
    --play-ink: #f1eee7;
    --hover-bg: rgba(255, 255, 255, .035);
    --legal-muted: rgba(241, 238, 231, .58);
    --button-bg: #d6a18f;
    --button-ink: #20211f;
}
html, body, .navbar, .hero, .about, .work, .clients-section, .reviews-section,
.reviews, .contact, .privacy-page, .work-filters, .review-card, .contact-link,
.contact-icon, .contact-form, .contact-form input, .contact-form textarea,
.contact-form button, .site-legal-footer, .hero-reel-label, .video-preview,
.video-play-button {
    transition: background-color 420ms ease, color 420ms ease, border-color 420ms ease;
}
body, .hero, .navbar { background-color: var(--paper); color: var(--ink); }
.navbar { background: var(--nav-bg); border-color: var(--line); }
.navbar nav a { color: var(--ink-soft); }
.hero { background-color: var(--paper); border-color: var(--line); }
.hero-reel { background-color: #151715; }
.hero-reel-label { background: var(--paper); color: var(--ink); }
.about, .work, .clients-section, .reviews-section, .reviews { background-color: var(--paper); color: var(--ink); border-color: var(--line); }
.work-filters { background: var(--filter-bg); border-color: var(--line); }
.video-preview { background: var(--paper-deep); }
.video-play-button { background: var(--play-bg); border-color: var(--play-border); color: var(--play-ink); }
.review-card { background: var(--card-bg); border-color: var(--line); }
.contact { background: var(--contact-bg); color: var(--contact-ink); }
.contact-link { color: var(--contact-ink); border-color: var(--contact-line); }
.contact-link:hover { background: var(--hover-bg); border-color: var(--accent); }
.contact-icon { border-color: var(--contact-line); color: var(--contact-accent); }
.contact-link-copy small, .contact-form label, .contact-form small, .contact-footnote, .contact-credits { color: var(--contact-muted); }
.contact-link-copy strong { color: var(--contact-ink); }
.contact-form { background: var(--contact-card-bg); border-color: var(--contact-line); }
.contact-form input, .contact-form textarea { background: var(--contact-field-bg); color: var(--contact-ink); border-color: var(--contact-line); }
.contact-form button { background: var(--button-bg); color: var(--button-ink); }
.contact-form button .whatsapp-mark img { filter: brightness(0) saturate(100%) opacity(.82); }
.site-legal-footer { border-color: var(--contact-line); color: var(--contact-muted); }
.site-legal-footer a { color: var(--contact-ink); text-decoration-color: var(--contact-line); }
.privacy-page { color: var(--ink); }
.theme-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    transition: background-color 420ms ease, color 420ms ease, border-color 420ms ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.navbar { gap: 18px; }
.navbar nav { margin-left: auto; }
@media (max-width: 760px) {
    .navbar { gap: 10px; }
    .navbar nav { gap: clamp(9px, 3vw, 17px); margin-left: 0; }
    .navbar nav a { font-size: 8px; }
    .theme-toggle { min-height: 30px; gap: 5px; padding: 0 7px; font-size: 7px; }
    .theme-toggle-icon { width: 12px; height: 12px; }
}
@media (max-width: 390px) {
    .navbar { padding-right: 12px; padding-left: 12px; }
    .logo { font-size: 8px; letter-spacing: .1em; }
    .navbar nav { gap: 8px; }
    .navbar nav a { font-size: 7px; }
    .theme-toggle { padding: 0 5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html, body, .navbar, .hero, .about, .work, .clients-section, .reviews-section,
    .reviews, .contact, .privacy-page, .work-filters, .review-card, .contact-link,
    .contact-icon, .contact-form, .contact-form input, .contact-form textarea,
    .contact-form button, .site-legal-footer, .hero-reel-label, .video-preview,
    .video-play-button, .theme-toggle { transition-duration: .01ms !important; }
}



:root[data-theme="dark"] .hero { background: linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.045) calc(100% - 1px)), var(--paper); background-size: 25% 100%; }

.contact-title .eyebrow, .contact h2 em { color: var(--contact-accent); }
.contact-link:hover { border-color: var(--contact-accent); }


/* Keep category-page project arrows consistent with the site icon system. */
.video-meta-arrow:not(:has(svg)) {
    position: relative;
    font-size: 0;
}
.video-meta-arrow:not(:has(svg))::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translate(-65%, -35%);
}


/* Hide the mobile play overlay while its Vimeo player is running. */
.video-card.is-mobile-playing .video-play-button {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* Keep the inline arrow icons crisp and consistent across mobile and desktop. */
.hero-link-arrow svg,
.contact-arrow svg,
.contact-form-button-arrow svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-link-arrow svg {
    width: 15px;
    height: 15px;
}
.contact-arrow,
.contact-form-button-arrow {
    display: grid;
    place-items: center;
}


.hero-link-arrow {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    padding-left: 12px;
    color: var(--accent);
    font-size: 0;
}


/* Gentle word-by-word testimonial reveal; content stays readable without JavaScript. */
.testimonial-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.32em);
    transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--word-index) * 18ms);
}
.is-word-visible .testimonial-word {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .testimonial-word {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* Put the About section ahead of the showreel on mobile only. */
@media (max-width: 760px) {
    body { display: flex; flex-direction: column; }body > .hero { display: contents; min-height: 0; padding: 0; border: 0; }.hero-reel { opacity: 1 !important; }.hero-inner { display: contents; width: auto; max-width: none; margin: 0; padding: 0; gap: 0; }
    body > .about { order: 2; }.hero-copy { order: 1; width: 100%; padding: 92px 22px 50px; }.hero-reel { order: 3; width: calc(100% - 44px); margin: 0 auto 50px; }body > .work { order: 4; }body > .clients-section { order: 5; }body > .client-reviews { order: 6; }body > .contact { order: 7; }
}


/* Mobile polish: align the reel with the work content and tighten vertical rhythm. */
@media (max-width: 760px) {
    .navbar nav a { font-size: 9px; font-weight: 600; letter-spacing: .075em; }
    .hero-copy { padding-bottom: 32px; }
    .hero-reel { margin-bottom: 24px; }
    .work { padding: 48px 22px 88px; }
}
@media (max-width: 390px) {
    .navbar nav a { font-size: 8px; }
}


/* Make client names easier to scan on phones. */
@media (max-width: 760px) {
    .clients-section { padding-top: 30px; padding-bottom: 32px; }
    .clients-list { gap: 8px; border-top: 0; }
    .client-name {
        min-height: 48px;
        padding: 10px 9px;
        border: 1px solid rgba(154, 79, 62, .2);
        border-radius: 999px;
        background: rgba(154, 79, 62, .055);
        color: var(--ink);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .01em;
        line-height: 1.3;
    }
    .client-name:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: max-content;
        min-width: 120px;
    }
}
