@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;650;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --paper: #f4f4ef;
    --ink: #20211f;
    --orange: #ed4d2e;
    --line: #d7d7d0;
    --muted: #66685f
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    font-variant-emoji: text
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px
}

button {
    color: inherit
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2 {
    font-weight: 500;
    letter-spacing: -.055em
}

.wrap {
    max-width: 1440px;
    width: calc(100% - 112px);
    margin: auto
}

.header {
    height: 100px;
    margin: 0 56px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.logo {
    font-size: 51px;
    letter-spacing: -5px;
    line-height: 1;
    font-weight: 500
}

.header nav {
    display: flex;
    gap: 34px;
    font-size: 14px
}

.header nav a {
    position: relative
}

.header nav a:after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 1px;
    background: var(--ink);
    transition: .25s
}

.header nav a:hover:after {
    right: 0
}

.nav-cta {
    border-bottom: 1px solid;
    display: flex;
    gap: 44px;
    padding: 10px 0;
    font-size: 14px
}

.menu {
    display: none
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 600;
    line-height: 1.6
}

.hero {
    padding-top: 48px
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px
}

.dash {
    height: 7px;
    width: 7px;
    background: var(--orange)
}

h1 {
    font-size: clamp(70px, 8.9vw, 142px);
    line-height: .98;
    margin: 30px 0 32px;
    position: relative;
    max-width: 1170px
}

.serif {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -.045em
}

.orange {
    color: var(--orange);
    font-size: .7em;
    display: inline-block;
    vertical-align: top;
    margin-left: 13px;
    animation: turn 20s linear infinite
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 40px
}

.hero-bottom p {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.55
}

.button {
    padding: 18px 23px;
    border-radius: 3px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    transition: transform .25s, background .25s
}

.button:hover {
    transform: translateY(-3px);
    background: var(--orange)
}

.dark {
    background: var(--ink);
    color: white
}

.hero-note {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: .12em
}

.hero-art {
    height: 370px;
    overflow: hidden;
    position: relative;
    background: #e2e2dd;
    isolation: isolate
}

.hero-art:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/flow-sculpture.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: drift 16s ease-in-out infinite alternate
}

.art-copy {
    position: absolute;
    left: 32px;
    top: 28px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.04em
}

.art-word {
    position: absolute;
    left: 30px;
    bottom: 37px;
    font-size: 150px;
    letter-spacing: -14px;
    line-height: 1
}

.art-bottom {
    position: absolute;
    bottom: 15px;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .12em
}

.ticker {
    margin-top: 55px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 21px 0
}

.ticker div {
    display: flex;
    align-items: center;
    gap: 38px;
    white-space: nowrap;
    width: max-content;
    animation: marquee 36s linear infinite;
    font-size: 18px;
    letter-spacing: .04em
}

.ticker i {
    color: var(--orange);
    font-style: normal;
    font-size: 24px
}

.section {
    padding-top: 95px;
    padding-bottom: 95px
}

.section-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px
}

.small {
    font-size: 13px;
    color: var(--muted)
}

.split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 50px
}

h2 {
    font-size: clamp(48px, 5.3vw, 80px);
    line-height: 1.04
}

.intro {
    font-size: 19px;
    line-height: 1.6;
    max-width: 440px
}

.services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line)
}

.services article {
    padding: 30px 27px 7px 0;
    position: relative
}

.services article+article {
    padding-left: 28px;
    border-left: 1px solid var(--line)
}

.index {
    position: absolute;
    right: 27px;
    top: 36px;
    font-size: 12px;
    color: var(--muted)
}

h3 {
    font-size: 23px;
    letter-spacing: -.04em;
    font-weight: 500;
    line-height: 1.25
}

.services p {
    color: var(--muted);
    line-height: 1.65;
    margin: 17px 0 28px;
    max-width: 330px
}

.tags {
    font-size: 10px;
    letter-spacing: .07em
}

.work-section {
    border-top: 1px solid var(--line)
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.project {
    width: 100%;
    padding: 0;
    text-align: left;
    border: 0;
    background: none
}

.project-art {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: transform .4s;
    background: #ddd
}

.project:hover .project-art {
    transform: translateY(-5px)
}

.project-art.olive {
    background: #ced0bc;
    color: #2d362c
}

.project-art.lilac {
    background: #dad4e9;
    color: #333046
}

.project-art .concept {
    position: absolute;
    top: 20px;
    left: 22px;
    font-size: 10px;
    letter-spacing: .11em
}

.project-art .display-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 80px;
    line-height: .9;
    letter-spacing: -.04em;
    text-align: center
}

.project-art.lilac .display-title {
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 650;
    letter-spacing: -.085em;
    font-size: 83px
}

.project-art .mini-tag {
    font-size: 10px;
    letter-spacing: .16em;
    margin-top: 20px
}

.project-art .art-mark {
    position: absolute;
    right: 25px;
    bottom: 20px;
    font-size: 35px
}

.project-meta {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.project-meta h3 {
    font-size: 19px
}

.project-meta p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px
}

.project-meta>span {
    font-size: 28px
}

.collaborators {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding-top: 32px
}

.collaborators p {
    line-height: 1.5
}

.text-link {
    border-bottom: 1px solid;
    padding-bottom: 8px;
    font-size: 14px
}

.studio {
    background: #232620;
    color: var(--paper)
}

.studio .small {
    color: #b7b9b1
}

.studio .serif {
    color: #d1d6b7
}

.studio-caption {
    margin-top: 25px;
    font-size: 13px;
    color: #b7b9b1
}

.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 70px
}

.process article {
    border-top: 1px solid #50534b;
    padding-top: 25px
}

.process span {
    font-size: 11px;
    letter-spacing: .12em;
    color: #b7b9b1
}

.process h3 {
    margin: 24px 0 15px
}

.process p {
    font-size: 15px;
    line-height: 1.6;
    color: #b7b9b1;
    max-width: 330px
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.article {
    border: 0;
    padding: 0;
    background: none;
    text-align: left
}

.article-visual {
    height: 230px;
    background: #e7e4dc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden
}

.article:nth-child(2) .article-visual {
    background: #dddfd4
}

.article:nth-child(3) .article-visual {
    background: #e9d6ce
}

.article-visual span {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 75px;
    line-height: 1;
    letter-spacing: -.055em;
    transition: transform .35s
}

.article:hover .article-visual span {
    transform: rotate(-4deg) scale(1.04)
}

.article .meta {
    font-size: 10px;
    letter-spacing: .08em;
    margin: 20px 0 10px;
    display: block;
    color: var(--muted)
}

.article h3 {
    font-size: 22px;
    max-width: 320px
}

.read {
    font-size: 13px;
    display: block;
    margin-top: 19px
}

.fact {
    margin-top: 50px;
    padding: 30px 35px;
    background: #e9eae2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.fact p {
    font-size: 20px;
    letter-spacing: -.02em;
    line-height: 1.45;
    margin-top: 12px;
    max-width: 850px
}

.round {
    border: 1px solid #9da091;
    background: none;
    border-radius: 50%;
    height: 48px;
    width: 48px;
    flex-shrink: 0;
    font-size: 24px
}

.round:hover {
    background: var(--ink);
    color: white
}

.contact {
    background: var(--orange);
    padding: 70px 0 45px
}

.contact-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 50px
}

.contact h2 {
    font-size: clamp(80px, 10vw, 150px)
}

.contact-arrow {
    width: 140px;
    height: 140px;
    border: 1px solid #24241f;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 75px;
    transition: transform .25s, background .25s
}

.contact-arrow:hover {
    transform: rotate(45deg);
    background: var(--paper)
}

.contact-bottom {
    border-top: 1px solid #b33921;
    padding-top: 27px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    font-size: 15px;
    line-height: 1.5
}

.contact-bottom a {
    border-bottom: 1px solid;
    padding-bottom: 5px
}

footer {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 12px
}

footer .logo {
    font-size: 46px
}

dialog {
    width: min(760px, calc(100% - 32px));
    max-height: 85vh;
    padding: 60px;
    border: 0;
    background: var(--paper);
    color: var(--ink);
    overflow: auto
}

dialog::backdrop {
    background: #151612a8;
    backdrop-filter: blur(5px)
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    background: none;
    border: 0;
    font-size: 32px
}

dialog h2 {
    font-size: 48px;
    margin: 20px 0 30px
}

dialog h3 {
    margin: 28px 0 12px
}

dialog p {
    line-height: 1.75;
    margin: 14px 0;
    color: #50534b
}

dialog ul {
    padding-left: 23px;
    line-height: 1.8
}

.skip {
    position: fixed;
    top: -60px;
    left: 15px;
    padding: 12px;
    background: white;
    z-index: 100
}

.skip:focus {
    top: 10px
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s, transform .7s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@keyframes turn {
    to {
        transform: rotate(360deg)
    }
}

@keyframes drift {
    to {
        transform: scale(1.045) translateX(-.8%)
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

@media(min-width:1600px) {
    .header {
        max-width: 1440px;
        margin: auto
    }
}

@media(max-width:1000px) {
    .wrap {
        width: calc(100% - 64px)
    }

    .header {
        margin: 0 32px
    }

    .hero-note {
        display: none
    }

    .split {
        gap: 40px
    }

    .project-art {
        height: 300px
    }

    .project-art .display-title,
    .project-art.lilac .display-title {
        font-size: 65px
    }

    .article-visual span {
        font-size: 57px
    }

    .article-visual {
        height: 190px
    }

    footer>span:first-of-type {
        display: none
    }
}

@media(max-width:700px) {
    .wrap {
        width: calc(100% - 40px)
    }

    .header {
        height: 82px;
        margin: 0 20px
    }

    .logo {
        font-size: 43px
    }

    .header nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        padding: 30px;
        background: var(--paper);
        z-index: 5;
        box-shadow: 0 20px 20px #0001
    }

    .header nav.open {
        display: flex;
        flex-direction: column
    }

    .nav-cta {
        margin-left: auto;
        gap: 20px
    }

    .menu {
        display: block;
        border: 0;
        background: none;
        font-size: 23px;
        padding: 5px
    }

    .hero {
        padding-top: 34px
    }

    .eyebrow {
        font-size: 10px
    }

    .hero h1 {
        font-size: clamp(53px, 11.5vw, 82px);
        margin-top: 26px;
        line-height: 1.04
    }

    .orange {
        margin-left: 5px
    }

    .hero-bottom {
        align-items: start;
        flex-direction: column;
        gap: 24px
    }

    .hero-bottom p {
        max-width: 330px
    }

    .hero-art {
        height: 340px
    }

    .hero-art:before {
        background-position: 61% center
    }

    .art-copy {
        font-size: 17px;
        left: 20px;
        top: 20px
    }

    .art-word {
        font-size: 108px;
        left: 17px;
        letter-spacing: -10px
    }

    .art-bottom {
        left: 20px;
        right: 20px;
        font-size: 8px
    }

    .art-bottom span:last-child {
        display: none
    }

    .ticker {
        margin-top: 34px;
        padding: 16px 0
    }

    .ticker div {
        font-size: 14px;
        gap: 25px
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px
    }

    .section-top {
        margin-bottom: 30px
    }

    .section-top .small {
        display: none
    }

    .split {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 35px
    }

    h2 {
        font-size: 52px
    }

    .intro {
        font-size: 17px;
        max-width: 500px
    }

    .services,
    .work-grid,
    .process,
    .learning-grid {
        grid-template-columns: 1fr
    }

    .services article,
    .services article+article {
        padding: 28px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line)
    }

    .services p {
        max-width: 500px
    }

    .work-grid {
        gap: 35px
    }

    .project-art {
        height: 330px
    }

    .collaborators {
        align-items: start;
        flex-direction: column;
        gap: 22px;
        margin-top: 35px
    }

    .process {
        gap: 28px;
        margin-top: 45px
    }

    .process h3 {
        margin: 18px 0 10px
    }

    .process p {
        max-width: 500px
    }

    .learning-grid {
        gap: 36px
    }

    .article-visual {
        height: 240px
    }

    .article-visual span {
        font-size: 83px
    }

    .article h3 {
        max-width: 500px
    }

    .fact {
        padding: 24px;
        gap: 15px
    }

    .fact p {
        font-size: 17px
    }

    .contact {
        padding: 50px 0 35px
    }

    .contact h2 {
        font-size: 85px
    }

    .contact-arrow {
        width: 78px;
        height: 78px;
        font-size: 42px
    }

    .contact-line {
        margin: 30px 0
    }

    .contact-bottom {
        align-items: start;
        flex-direction: column
    }

    footer {
        flex-wrap: wrap;
        padding: 32px 0;
        gap: 25px
    }

    footer .logo {
        width: 100%
    }

    dialog {
        padding: 45px 25px
    }

    dialog h2 {
        font-size: 38px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before {
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* Two balanced rows for the full service offering. */
@media(min-width:701px) {
    .services article:nth-child(3n+1) {
        padding-left: 0;
        border-left: 0
    }

    .services article:nth-child(n+4) {
        border-top: 1px solid var(--line);
        padding-top: 30px
    }

    .services article {
        padding-bottom: 30px
    }

    .services {
        row-gap: 15px
    }
}

/* All-State client spotlight */
.client-project {
    grid-column: 1/-1
}

.client-project .project-art {
    height: 245px;
    align-items: flex-start;
    padding: 50px 35px 25px;
    background: linear-gradient(115deg, #183746, #237b83);
    color: white
}

.client-project .display-title {
    font-size: 70px;
    text-align: left
}

.client-project .mini-tag {
    margin-top: 15px
}

.client-project .concept {
    font-size: 12px
}

.client-project .project-meta {
    padding-bottom: 18px
}

.client-project .project-meta h3 {
    font-size: 25px
}

.proof-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    background: #e5e9e5;
    padding: 24px;
    align-items: start
}

.proof-gallery figure {
    margin: 0;
    min-width: 0
}

.proof-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d4d9d5
}

.proof-gallery figcaption {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 13px;
    text-align: left;
    line-height: 1.5
}

dialog .proof-gallery {
    margin: 25px 0;
    grid-template-columns: 1fr;
    padding: 15px
}

dialog .proof-gallery figure:last-child {
    max-width: 340px;
    margin: auto
}

@media(max-width:700px) {
    .client-project .project-art {
        height: 230px;
        padding-left: 22px
    }

    .client-project .display-title {
        font-size: 57px
    }

    .client-project .project-meta h3 {
        font-size: 22px
    }

    .proof-gallery {
        grid-template-columns: 1fr;
        padding: 15px
    }

    .proof-gallery figure:last-child {
        max-width: 340px;
        margin: auto
    }
}

/* Compact portfolio cards; full galleries remain available in the case study. */
.work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start
}

.client-project {
    grid-column: auto
}

.work-grid .project-art {
    height: 270px
}

.work-grid .project-art .display-title {
    font-size: 52px
}

.work-grid .project-art .mini-tag {
    font-size: 8px;
    letter-spacing: .08em
}

.work-grid .project-art .concept {
    font-size: 9px;
    left: 18px;
    top: 16px
}

.work-grid .client-project .project-art {
    height: 105px;
    padding: 34px 18px 12px
}

.work-grid .client-project .display-title {
    font-size: 31px
}

.work-grid .client-project .mini-tag {
    display: none
}

.work-grid .client-project .art-mark {
    font-size: 27px;
    right: 18px;
    bottom: 16px
}

.work-grid .proof-gallery {
    height: 165px;
    padding: 10px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    overflow: hidden;
    align-items: stretch
}

.work-grid .proof-gallery figure {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    max-width: none;
    margin: 0;
    background: white
}

.work-grid .proof-gallery img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border: 0
}

.work-grid .proof-gallery figcaption {
    display: none
}

.work-grid .proof-gallery figure:last-child img {
    object-fit: cover;
    object-position: center 38%
}

.work-grid .project-meta {
    padding-top: 15px
}

.work-grid .project-meta h3 {
    font-size: 19px
}

.work-grid .project-meta p {
    font-size: 12px
}

@media(min-width:701px) and (max-width:1100px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:700px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .work-grid .project-art {
        height: 250px
    }

    .work-grid .client-project .project-art {
        height: 95px
    }

    .work-grid .client-project .display-title {
        font-size: 29px
    }

    .work-grid .proof-gallery {
        height: 155px
    }
}

/* Contrasting dark band for the "What we do" section. */
.band-dark {
    background: #232620;
    color: var(--paper);
    --line: #50534b;
    --muted: #b7b9b1
}

.band-dark .serif {
    color: #d1d6b7
}

.band-dark .index {
    color: #8e9187
}

/* Real-work previews inside the service cards. */
.shot {
    margin: 26px 0 24px
}

.shot figcaption {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    margin-top: 15px;
    padding-left: 14px;
    border-left: 1px solid var(--line)
}

.pane {
    height: 252px;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #20211f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 34px -24px #000000b8;
    font-family: -apple-system, 'Segoe UI', 'DM Sans', Arial, sans-serif
}

/* Photo panes */
.pane.photo {
    background: #10141b
}

.photo img {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover
}

.fit-wide {
    object-position: center
}

.fit-profile {
    object-position: center 38%
}

.fit-growth {
    object-position: center 30%
}

/* 02 — browser window */
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 32px;
    background: #ebebe6;
    border-bottom: 1px solid #dcdcd5
}

.browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9c9c1
}

.browser-url {
    flex: 1;
    height: 14px;
    border-radius: 7px;
    background: #f7f7f4;
    margin-left: 10px
}

.browser-bar,
.editor-bar {
    flex-shrink: 0
}

.browser img {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    object-position: top center
}

/* 03 — code editor */
.editor {
    background: #14181f;
    color: #cdd5e0
}

.editor-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 32px;
    background: #1d222b;
    font-size: 11px;
    color: #8b95a5
}

.editor-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39404c
}

.editor-bar span {
    margin-left: 8px
}

.editor-code {
    margin: 0;
    flex: 1;
    white-space: pre;
    min-height: 0;
    padding: 14px 14px 16px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 11px;
    line-height: 1.65;
    overflow: hidden
}

.editor-code .c {
    color: #6c7a90
}

.editor-code .k {
    color: #c792ea
}

.editor-code .f {
    color: #82aaff
}

.editor-code .b {
    color: #f78c6c
}

.editor-code .n {
    color: #f78c6c
}

.editor-out {
    border-top: 1px solid #242a34;
    padding: 10px 14px;
    font-size: 11px;
    color: #8b95a5
}

.editor-out .status {
    color: #9fd88b;
    font-weight: 600;
    margin-right: 6px
}

.client-project .project-art.fineart{background:linear-gradient(115deg,#453c31,#8a7656);color:#fff8ed}
.project:has(.fineart) .proof-gallery{grid-template-columns:1fr 1fr;background:#e8e0d4}
.work-grid .project:has(.fineart) .proof-gallery img{object-fit:cover;object-position:top}
dialog .proof-gallery:has(img[src*="world-fine"]) figure:last-child{max-width:none}

/* Two columns at tablet width so the previews stay legible. */
@media(min-width:701px) and (max-width:1100px) {
    .services {
        grid-template-columns: repeat(2, 1fr)
    }

    .services article:nth-child(3n+1) {
        padding-left: 28px;
        border-left: 1px solid var(--line)
    }

    .services article:nth-child(2n+1) {
        padding-left: 0;
        border-left: 0
    }

    .services article:nth-child(n+4) {
        border-top: 0
    }

    .services article:nth-child(n+3) {
        border-top: 1px solid var(--line);
        padding-top: 30px
    }
}

/* Mariachi del Bosque client work. */
.client-project .project-art.mariachi { background: linear-gradient(115deg, #152d28, #42634b); color: #faf4e3; }
.work-grid .project:has(.mariachi) .display-title { font-size: clamp(24px, 2.2vw, 31px); }
.project:has(.mariachi) .proof-gallery { background: #dde5dc; }
.work-grid .project:has(.mariachi) .proof-gallery img { object-fit: cover; object-position: center; }
dialog .proof-gallery:has(img[src*="mariachi-"]) figure:last-child { max-width: none; }

/* Soft, unified client cards and a consistent contact icon on touch screens. */
.work-grid .project {
    border-radius: 22px;
    overflow: hidden;
    background: #eeeee7;
    box-shadow: 0 0 0 1px #20211f0d;
}
.work-grid .project:hover .project-art { transform: none; }
.work-grid .project-meta { padding: 18px 18px 20px; align-items: center; }
.work-grid .project-meta > div { min-width: 0; }
.work-grid .project-meta p { line-height: 1.5; }
.work-grid .proof-gallery figure { border-radius: 10px; }
dialog { border-radius: 24px; }
dialog .proof-gallery { border-radius: 16px; }
dialog .proof-gallery img { border-radius: 10px; }
.contact-arrow { flex: 0 0 auto; }
.contact-arrow svg { display: block; width: 54%; height: 54%; }
.contact-arrow:hover { transform: none; }
.contact-arrow:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
    .contact-arrow:hover svg { transform: translate(2px, -2px); }
}
@media (max-width: 700px) {
    .work-grid { gap: 24px; }
    .work-grid .project { border-radius: 20px; }
    .contact-line { gap: 16px; align-items: flex-end; }
    .contact h2 { font-size: clamp(54px, 13vw, 85px); line-height: 1.02; }
    .contact-arrow {
        width: clamp(64px, 17vw, 78px);
        height: clamp(64px, 17vw, 78px);
        border: 0;
        background: var(--ink);
        color: var(--paper);
        margin-bottom: 5px;
        box-shadow: 0 6px 16px #20211f14;
    }
    .contact-arrow:hover { background: var(--ink); }
    .contact-arrow:active { transform: scale(.96); }
}
/* Let service content shrink within narrow phone grids. */
.services article { min-width: 0; }
.services .tags { overflow-wrap: anywhere; }
/* Visual client case studies. */
#detail { width: min(1040px, calc(100% - 32px)); max-height: 90dvh; padding: 0; scroll-behavior: smooth; }
#detail .close { position: sticky; top: 12px; float: right; margin: 12px 14px -56px 0; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #f4f4eff5; box-shadow: 0 2px 10px #0001; line-height: 1; }
.case-header { padding: 48px 40px 24px; }
#detail .case-header h2 { font-size: clamp(32px, 5vw, 56px); margin: 14px 0 18px; padding-right: 30px; line-height: 1.05; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tags span { background: #e7e7dd; border-radius: 50px; padding: 7px 12px; font-size: 12px; }
.case-nav { display: flex; gap: 6px; padding: 14px 40px; overflow-x: auto; position: sticky; top: 0; background: #f4f4eff5; backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); z-index: 3; }
.case-nav a { white-space: nowrap; font-size: 13px; padding: 10px 14px; border-radius: 30px; background: #e7e7dd; }
.case-nav a:hover { background: var(--ink); color: var(--paper); }
.case-body { padding: 4px 40px 40px; }
.case-section { padding: 30px 0 12px; scroll-margin-top: 84px; }
.case-section-heading { display: flex; align-items: start; gap: 14px; margin-bottom: 18px; }
.case-number { font-size: 11px; font-weight: 600; padding-top: 7px; color: var(--muted); }
#detail .case-section h3 { font-size: 24px; margin: 0; letter-spacing: -.035em; }
#detail .case-section-heading p { font-size: 13px; line-height: 1.5; margin: 5px 0 0; }
.site-preview { border-radius: 18px; overflow: hidden; background: #e8e8df; border: 1px solid var(--line); }
.site-chrome { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 14px; }
.site-chrome i { height: 6px; width: 6px; background: #b3b5a9; border-radius: 50%; }
.site-chrome span { margin-left: auto; font-size: 10px; color: var(--muted); }
.site-preview .preview-stage { position: relative; aspect-ratio: 1280/850; padding: 0; background: #ebeae2; }
.preview-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s; }
.preview-frame.is-active { opacity: 1; }
.site-preview .preview-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.preview-caption { font-size: 12px; }
.preview-buttons { display: flex; align-items: center; gap: 2px; }
.preview-dot { width: 28px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.preview-dot:before { content: ''; width: 6px; height: 6px; background: #adafa5; border-radius: 50%; }
.preview-dot.is-active:before { background: var(--ink); width: 14px; border-radius: 6px; }
.preview-toggle { min-height: 44px; padding: 0 12px; border: 1px solid #c4c5ba; background: var(--paper); border-radius: 28px; font-size: 11px; margin-left: 8px; white-space: nowrap; }
.ad-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ad-grid figure, .case-gallery figure, .concept-grid figure, .instagram-frame, .case-video { margin: 0; min-width: 0; }
.ad-cover { aspect-ratio: 280/366; position: relative; overflow: hidden; border-radius: 16px; background: #315462; }
.ad-cover img { position: absolute; max-width: none; width: 633.57%; height: auto; left: calc(-318.57% - var(--col) * 104.29%); top: calc(-26.5% - var(--row) * 102.46%); }
.case-section figcaption { font-size: 11px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.social-layout { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; background: #e9ece6; padding: 24px; border-radius: 18px; }
.instagram-frame { width: min(100%,400px); border-radius: 22px; background: white; padding: 16px 0; overflow: hidden; box-shadow: 0 12px 25px #20211f0d; }
.instagram-crop { aspect-ratio: 890/887; position: relative; overflow: hidden; }
.instagram-crop img { position: absolute; width: 199.33%; height: auto; left: 0; top: 0; }
.case-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; border-bottom: 1px solid; font-size: 13px; }
.plan-visual { background: #18372d; color: #f7f3df; border-radius: 18px; padding: 28px; }
.plan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.plan-badge { border: 1px solid #fff4; border-radius: 30px; padding: 6px 12px; font-size: 11px; }
.pillar { margin-bottom: 20px; }
.pillar > div:first-child { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin-bottom: 10px; }
.pillar strong { font-weight: 500; }
.pillar-track { height: 8px; border-radius: 10px; overflow: hidden; background: #ffffff14; }
.pillar-track span { display: block; height: 100%; background: #d9deb3; border-radius: 10px; }
.pillar:nth-child(2) .pillar-track span { background: #b2cbae; }
.pillar:nth-child(3) .pillar-track span { background: #e7bd8e; }
.pillar:nth-child(4) .pillar-track span { background: #8dbfb1; }
.pillar:nth-child(5) .pillar-track span { background: #f18d67; }
.plan-rhythm { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; border-top: 1px solid #fff3; padding-top: 24px; margin-top: 24px; }
.plan-rhythm strong { font-size: clamp(24px,5vw,48px); font-weight: 500; display: block; line-height: 1.1; }
.plan-rhythm span { font-size: 11px; display: block; margin-top: 8px; }
.concept-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.reel-concept { aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; position: relative; background: #233a32; }
.reel-concept img { width: 100%; height: 100%; object-fit: cover; }
.case-section .reel-concept figcaption { position: absolute; inset: 0; padding: 18px; background: linear-gradient(180deg,#0005,transparent 30%,#000b); color: white; display: flex; flex-direction: column; margin: 0; }
.reel-concept figcaption span { font-size: 10px; }
.reel-concept figcaption strong { font-size: clamp(16px,2vw,23px); margin-top: auto; font-weight: 500; line-height: 1.2; }
.reel-concept figcaption small { font-size: 10px; margin-top: 12px; color: #fffc; }
.case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.case-gallery img { width: 100%; display: block; height: auto; border-radius: 16px; }
.case-video video { display: block; width: 100%; max-height: 650px; background: #191919; border-radius: 18px; }
.case-reveal { opacity: .1; transform: translateY(15px); transition: opacity .5s,transform .5s; }
.case-reveal.case-visible { opacity: 1; transform: none; }
.case-visible .pillar-track span { animation: pillar-enter .75s ease-out both; transform-origin: left; }
@keyframes pillar-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media(max-width:700px) {
    #detail { width: calc(100% - 16px); max-height: 94dvh; border-radius: 22px; }
    .case-header { padding: 36px 20px 20px; }
    .case-body { padding: 0 16px 24px; }
    .case-nav { padding: 10px 16px; padding-right: 62px; }
    .case-nav a { font-size: 12px; padding: 10px 12px; }
    .case-section { padding-top: 24px; }
    #detail .case-section h3 { font-size: 22px; }
    .ad-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .plan-visual { padding: 20px; }
    .social-layout { padding: 16px; }
    .concept-grid { grid-template-columns: none; grid-auto-columns: 78%; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
    .reel-concept { scroll-snap-align: start; }
    .reel-concept figcaption strong { font-size: 24px; }
    .case-gallery { grid-template-columns: 1fr; }
    .site-preview .preview-controls { padding: 8px 12px; gap: 4px; }
    .preview-buttons { gap: 0; }
    .preview-dot { width: 22px; }
    .preview-toggle { margin-left: 4px; padding: 0 9px; }
}
@media(prefers-reduced-motion:reduce) {
    #detail { scroll-behavior: auto; }
    .case-reveal { opacity: 1; transform: none; }
    .pillar-track span { animation: none !important; }
}

/* Links and static website previews. */
.site-preview + .case-link { margin-top: 12px; }
.case-gallery--single { grid-template-columns: 1fr; }

/* Two main services: raised cards on the dark band */
.services { gap: 22px; border-top: 0; margin-top: 10px; }
.services article.service-card {
    padding: 30px 30px 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(160deg, #2d3029 0%, #262922 100%);
    display: flex;
    flex-direction: column;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
.services article.service-card:hover {
    transform: translateY(-4px);
    border-color: #7c7f72;
    box-shadow: 0 30px 50px -30px #000000cc;
}
.service-top { display: flex; align-items: center; gap: 14px; }
.service-num {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--orange); color: #fff;
    font-size: 13px; font-weight: 600;
}
.service-kicker { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.services .service-card h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.045em; margin: 22px 0 0; line-height: 1.05; }
.services .service-card .service-lede { color: #d6d8cf; font-size: 17px; margin: 12px 0 0; max-width: 440px; }
.services .service-card .shot { margin: 26px 0 6px; }
.services .service-card .pane { height: auto; aspect-ratio: 10 / 7; }
.fit-phone { object-position: center top; }
.tiers { display: grid; gap: 12px; margin: 20px 0 26px; }
.services .tier {
    padding: 20px 22px;
    border-radius: 14px;
    background: #ffffff0a;
    border: 1px solid #ffffff12;
}
.tier h4 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.services .tier p { margin: 8px 0 0; max-width: none; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid #ffffff26; color: #e3e5dc; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.checks li { position: relative; padding-left: 22px; margin-top: 6px; }
.checks li::before { content: "✳︎"; position: absolute; left: 0; color: var(--orange); font-size: 12px; top: 2px; }
.service-cta {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; gap: 14px; align-items: center;
    padding: 15px 20px; border-radius: 999px;
    background: var(--paper); color: var(--ink); font-size: 14px;
    transition: background .25s, color .25s;
}
.service-cta:hover { background: var(--orange); color: #fff; }
@media (max-width: 700px) {
    .services article.service-card, .services article.service-card + .service-card { padding: 24px 20px 26px; border: 1px solid var(--line); }
}
