/*
Theme Name: Silvia Kirkova
Author: Silvia Kirkova
Description: A native portfolio theme for design, development and art.
Version: 0.8.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: silvia-kirkova
License: GPL-2.0-or-later
*/
/* EDITING MAP (no build step)
 * Tokens / fonts: :root and @font-face below.
 * Home: .hero, .capabilities, .selected-work; cards use shared featured rules at the end.
 * Work / projects: .project-header, .project-list, .project-slider.
 * About: .about-hero background; .about-story / capabilities / process spacing.
 * Art: .art-outline / brush rules; Contact: .contact-form and .contact-submit.
 * Motion: @keyframes and transition rules; reduced-motion overrides stay beside them.
 * Responsive: @media rules follow their components. Later refinements override earlier bases.
 */
@font-face {
    font-family: Manrope;
    src: url('assets/fonts/manrope-variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap
}

:root {
    --ink: #202126;
    --muted: #565e70;
    --coral: #f96e5b;
    --peach: #f7aa81;
    --rose: #e96783;
    --link: #b83c46;
    --paper: #fcfcfb;
    --gradient: linear-gradient(110deg,#f96e5b 0%,#e93968 100%)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope,Arial,sans-serif;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px
}

button {
    font: inherit
}

a:focus-visible,button:focus-visible {
    outline: 3px solid #8a304a;
    outline-offset: 6px;
    border-radius: 2px
}

p,h1,h2,h3,figure {
    margin: 0
}

h1,h2,h3 {
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.055em
}

h1 {
    font-size: clamp(64px,6.6vw,98px);
    line-height: 1.02
}

h2 {
    font-size: clamp(38px,4.7vw,66px)
}

h3 {
    font-size: 29px;
    letter-spacing: -.04em
}

p {
    color: var(--muted)
}

.container {
    width: calc(100% - 128px);
    max-width: 1280px;
    margin-inline: auto
}

.gradient-text {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent
}

.site-header {
    height: 135px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    white-space: nowrap;
    color: #161719
}

.brand img {
    width: 67px;
    height: 76px
}

.brand span {
    font-size: 34px;
    letter-spacing: -.065em;
    font-weight: 750
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-list a {
    display: block;
    padding-block: 10px;
    text-decoration: none;
    font-size: 17px
}

.nav-list a:hover {
    text-decoration: underline;
    color: var(--link)
}

.menu-toggle {
    display: none
}

.skip-link {
    position: fixed;
    z-index: 30;
    left: 20px;
    top: 16px;
    padding: 12px 18px;
    background: white;
    transform: translateY(-180%)
}

.skip-link:focus {
    transform: translateY(0)
}

.floating-contact {
    position: fixed;
    right: 21px;
    top: 180px;
    z-index: 10;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px
}

.floating-contact:before {
    content: "";
    height: 55px;
    width: 1px;
    background: currentColor
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: -135px;
    padding-top: 135px;
    background: #fff
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 44% 76% at 104% 31%,#e96783c9 0%,#f96e5b70 47%,transparent 85%),radial-gradient(ellipse 62% 55% at 95% 98%,#f7aa81c2 0%,#f96e5b45 54%,transparent 90%),radial-gradient(ellipse 33% 32% at 0% 100%,#f7aa8180 0%,transparent 94%),radial-gradient(ellipse 30% 40% at 64% 0%,#f7aa8166 0%,transparent 95%)
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 660px;
    align-items: center;
    gap: 10px;
    position: relative
}

.hero-copy {
    position: relative;
    z-index: 3;
    padding: 55px 0 78px
}

.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .19em;
    line-height: 1.7
}

.hero .eyebrow {
    margin-bottom: 23px;
    font-size: 12px;
    white-space: nowrap
}

.intro {
    max-width: 430px;
    font-size: 21px;
    line-height: 1.5;
    margin-top: 24px
}

.hero-cta {
    margin-top: 24px
}

.text-link {
    color: var(--link);
    font-size: 23px;
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 19px;
    line-height: 1.4
}

.text-link:hover {
    color: var(--ink)
}

.portrait {
    align-self: end;
    width: 100%;
    height: 650px;
    margin: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0;
    background: transparent
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0
}

.hero-outline {
    position: absolute;
    width: 57%;
    max-width: 780px;
    right: 1.5%;
    top: 84px;
    z-index: 0;
    opacity: .8
}

.hex-layer {
    pointer-events: none;
    will-change: transform
}

.hero-outline img {
    width: 100%;
    height: auto;
    animation: none
}

.capabilities {
    padding-top: 54px;
    padding-bottom: 66px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    margin-bottom: 39px
}

.section-heading .eyebrow {
    font-size: 11px;
    padding-right: 14px
}

.capability-grid {
    display: grid!important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 35px!important;
    margin: 0!important
}

.capability-grid>.wp-block-column {
    border-left: 1px solid #90939b;
    padding-left: 32px
}

.number {
    color: var(--link);
    font-size: 15px;
    font-weight: 650;
    margin-bottom: 5px
}

.capability-grid h3 {
    margin-bottom: 8px
}

.capability-grid p:not(.number) {
    font-size: 18px;
    line-height: 1.55
}

.selected-work {
    padding-bottom: 66px
}

.selected-work h2 {
    margin-bottom: 25px
}

.work-grid {
    display: grid!important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px!important;
    margin: 0!important
}

.work-grid figure {
    margin-bottom: 17px;
    overflow: hidden;
    border-radius: 12px;
    background: #eee
}

.work-grid img {
    width: 100%;
    aspect-ratio: 1.62;
    object-fit: cover;
    transition: transform .5s ease
}

.work-grid figure:hover img {
    transform: scale(1.025)
}

.work-grid h3 {
    margin-bottom: 5px
}

.work-grid p {
    font-size: 18px;
    line-height: 1.5
}

.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 45px 0 22px;
    background: linear-gradient(115deg,#fff0e7,#fff9f7 55%,#f9c3c9)
}

.footer-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 1
}

.footer-content h2 {
    font-size: clamp(34px,3.4vw,48px)
}

.footer-content p {
    font-size: 18px;
    margin-bottom: 12px
}

.footer-hex {
    position: absolute;
    width: 390px;
    right: -130px;
    top: -70px;
    color: #e96783;
    z-index: -1
}

.footer-hex svg {
    width: 100%;
    animation: none
}

.footer-bottom {
    border-top: 1px solid #c4b8b866;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: var(--muted)
}

.page-content {
    padding-block: 60px;
    min-height: 60vh
}

.page-content h1 {
    margin-bottom: 35px
}

.page-content p {
    margin-block: 20px
}

.editor-styles-wrapper {
    font-family: Manrope,Arial,sans-serif
}

.editor-styles-wrapper .hero {
    margin-top: 0;
    padding-top: 0
}

.editor-styles-wrapper .hex-layer {
    display: none
}

@keyframes hex-idle {
    0%,100% {
        transform: translateY(0) rotate(-1deg)
    }

    50% {
        transform: translateY(-10px) rotate(1deg)
    }

}

@media(min-width:1600px) {
    .hero-inner {
        min-height: 740px
    }

    .portrait {
        height: 730px
    }

}

@media(max-width:1100px) {
    .container {
        width: calc(100% - 80px)
    }

    .brand span {
        font-size: 28px
    }

    .brand img {
        width: 56px;
        height: 64px
    }

    .nav-list {
        gap: 28px
    }

    .hero-inner {
        min-height: 570px
    }

    .portrait {
        height: 570px
    }

    .hero-copy {
        padding-block: 45px 65px
    }

    .hero .eyebrow {
        font-size: 10px;
        white-space: normal;
        max-width: 300px
    }

    .intro {
        font-size: 19px;
        max-width: 350px
    }

    .hero-outline {
        top: 140px;
        right: -2%;
        width: 60%
    }

    .floating-contact {
        right: 12px
    }

    .capability-grid {
        gap: 20px!important
    }

    .capability-grid>.wp-block-column {
        padding-left: 20px
    }

    .capability-grid p:not(.number) {
        font-size: 16px
    }

    .section-heading .eyebrow {
        font-size: 10px
    }

}

@media(max-width:800px) {
    .container {
        width: calc(100% - 48px)
    }

    .site-header {
        height: 106px
    }

    .brand span {
        font-size: 25px
    }

    .brand img {
        width: 48px;
        height: 55px
    }

    .nav-list {
        gap: 22px
    }

    .nav-list a {
        font-size: 15px
    }

    .hero {
        margin-top: -106px;
        padding-top: 106px
    }

    .hero-inner {
        min-height: 530px;
        gap: 0;
        grid-template-columns: 1.1fr 1fr
    }

    h1 {
        font-size: 59px
    }

    .intro {
        font-size: 17px;
        max-width: 300px
    }

    .portrait {
        height: 485px
    }

    .hero-copy {
        padding-block: 35px 55px
    }

    .hero-outline {
        top: 150px
    }

    .floating-contact {
        display: none
    }

    .text-link {
        font-size: 21px
    }

    .section-heading {
        align-items: end
    }

    .capabilities {
        padding-top: 40px;
        padding-bottom: 48px
    }

    .capability-grid h3 {
        font-size: 25px
    }

    .capability-grid p:not(.number) {
        font-size: 15px
    }

    .work-grid h3 {
        font-size: 25px
    }

    .work-grid p {
        font-size: 16px
    }

    .footer-content {
        gap: 24px
    }

    .footer-content p {
        font-size: 16px
    }

}

@media(max-width:600px) {
    .container {
        width: calc(100% - 40px)
    }

    .site-header {
        height: 92px;
        flex-wrap: wrap
    }

    .brand {
        gap: 9px
    }

    .brand span {
        font-size: 24px
    }

    .brand img {
        width: 44px;
        height: 51px
    }

    .js .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        border: 0;
        background: transparent;
        padding: 12px 0 12px 12px;
        font-size: 14px;
        color: var(--ink)
    }

    .js #primary-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 82px;
        left: 0;
        background: var(--paper);
        border: 1px solid #dededc;
        padding: 16px 20px;
        box-shadow: 0 12px 20px #2021260a
    }

    .js #primary-menu.is-open {
        display: block
    }

    .nav-list {
        justify-content: space-between;
        gap: 16px
    }

    .nav-list a {
        font-size: 14px
    }

    .site-header:has(.menu-toggle[aria-expanded="true"]) {
        z-index: 20
    }

    body:not(.js) .site-header {
        height: auto;
        padding-block: 16px;
        gap: 12px
    }

    body:not(.js) #primary-menu {
        width: 100%
    }

    .hero {
        margin-top: -92px;
        padding-top: 92px
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: 0;
        align-items: stretch
    }

    .hero-copy {
        padding: 36px 0 34px
    }

    .hero .eyebrow {
        font-size: 9px;
        max-width: none;
        letter-spacing: .14em;
        margin-bottom: 18px
    }

    h1 {
        font-size: clamp(45px,12.8vw,72px);
        line-height: 1.04
    }

    .intro {
        font-size: 17px;
        max-width: 350px;
        margin-top: 20px
    }

    .hero-cta {
        margin-top: 21px
    }

    .portrait {
        height: 430px;
        width: 100%;
        max-width: 410px;
        align-self: center;
        border-radius: 0
    }

    .hero-outline {
        top: auto;
        bottom: 0;
        right: -14%;
        width: 117%;
        max-width: 600px;
        opacity: .65
    }

    .section-heading {
        display: block;
        margin-bottom: 26px
    }

    .section-heading .eyebrow {
        margin-top: 17px;
        font-size: 10px
    }

    h2 {
        font-size: 39px;
        line-height: 1.13
    }

    .capabilities {
        padding-top: 36px;
        padding-bottom: 44px
    }

    .capability-grid {
        grid-template-columns: 1fr!important;
        gap: 25px!important
    }

    .capability-grid>.wp-block-column {
        padding-left: 22px
    }

    .capability-grid h3 {
        font-size: 27px
    }

    .capability-grid p:not(.number) {
        font-size: 17px
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 30px!important
    }

    .work-grid h3 {
        font-size: 27px
    }

    .work-grid p {
        font-size: 17px
    }

    .selected-work {
        padding-bottom: 42px
    }

    .selected-work h2 {
        margin-bottom: 22px
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .footer-content h2 {
        font-size: 35px
    }

    .site-footer {
        padding-top: 35px
    }

    .footer-bottom {
        flex-wrap: wrap;
        margin-top: 25px;
        font-size: 11px;
        gap: 12px
    }

    .footer-bottom span:nth-child(2) {
        display: none
    }

    .footer-hex {
        opacity: .45;
        right: -170px;
        top: 20px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*:before,*:after {
        animation: none!important;
        transition: none!important
    }

    .hex-layer {
        transform: none!important;
        will-change: auto
    }

}

/* Reference-aligned hero with the supplied, unmodified transparent portrait. */
@media (min-width: 801px) {
    .site-header {
        height: clamp(116px,11.45vw,160px);
    }

    .hero {
        margin-top: clamp(-160px,-11.45vw,-116px);
        padding-top: clamp(116px,11.45vw,160px);
    }

    .hero-inner {
        display: block;
        min-height: clamp(529px,52.17vw,740px);
    }

    .hero-copy {
        width: 55%;
        padding: clamp(34px,3.35vw,48px) 0 55px;
    }

    .hero h1 {
        font-size: clamp(68px,8.5vw,122px);
        line-height: .88;
        font-weight: 700;
        letter-spacing: -.06em;
    }

    .hero .eyebrow {
        font-size: clamp(11px,1.28vw,16px);
        max-width: none;
        white-space: nowrap;
        margin-bottom: 18px;
    }

    .intro {
        font-size: clamp(19px,2.05vw,27px);
        line-height: 1.32;
        max-width: 85%;
        margin-top: 12px;
    }

    .hero-cta {
        margin-top: 22px;
    }

    .hero .text-link {
        font-size: clamp(23px,2.5vw,32px);
    }

    .portrait {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 52%;
        height: auto;
        max-width: none;
        overflow: visible;
    }

    .portrait img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-outline {
        top: clamp(56px,5.52vw,80px);
        right: 3.5%;
        width: 57%;
        max-width: 810px;
        opacity: 1;
    }

}

@media (min-width:601px) and (max-width:800px) {
    .hero h1 {
        font-weight: 700;
        font-size: 60px;
    }

    .hero .eyebrow {
        font-size: 9px;
    }

    .hero-outline {
        opacity: 1;
    }

}

@media (max-width:600px) {
    .hero h1 {
        font-weight: 700;
        font-size: clamp(43px,12.6vw,72px);
        line-height: 1.02;
    }

    .hero:after {
        background: radial-gradient(ellipse 95% 55% at 105% 70%,#e96783ad,transparent 82%),radial-gradient(ellipse 120% 42% at 100% 100%,#f7aa81b3,transparent 90%),radial-gradient(ellipse 70% 22% at 0% 0%,#f7aa8138,transparent 90%);
    }

    .portrait {
        border-radius: 0;
        height: auto;
        overflow: visible;
    }

    .portrait img {
        height: auto;
        object-fit: contain;
    }

    .hero-outline {
        opacity: 1;
    }

}

@media (min-width:801px) and (max-width:1100px) {
    .container {
        width: calc(100% - 120px);
    }

}

/* Motion layers: placement stays fixed; each transform has a single owner. */
.hex-layer {
    will-change: auto;
}

.hex-parallax, .hex-drift {
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
}

.hex-drift > img, .hex-drift > svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.footer-hex {
    top: -70px;
    right: -100px;
    width: 390px;
    height: 390px;
}

.footer-hex-two {
    right: 145px;
    top: 80px;
    width: 240px;
    height: 240px;
    opacity: .75;
}

@media(max-width:600px) {
    .footer-hex {
        right: -170px;
        top: 20px;
    }

    .footer-hex-two {
        right: 50px;
        top: 200px;
    }

}

@media(prefers-reduced-motion:reduce) {
    .hex-parallax,.hex-drift {
        transform: none!important;
        will-change: auto;
    }

}

/* Keep the desktop composition together, aligned with the reference header. */
@media (min-width:801px) {
    .site-header.container, .hero-inner.container {
        width: calc(100% - 128px);
        max-width: 1280px;
    }

    .hero h1 {
        white-space: nowrap;
    }

    .hero .intro {
        margin-top: 26px;
        max-width: 85%;
    }

    .hero-outline {
        width: min(57%,810px);
        right: calc(max(64px, (100% - 1280px)/2) - 30px);
    }

}

/* Work archive and project detail — scoped to task 3 templates. */
.project-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: -135px;
    padding: 175px 0 38px;
    background: radial-gradient(ellipse 55% 85% at 100% 20%,#e96783b3,transparent 95%),radial-gradient(ellipse 60% 60% at 80% 100%,#f7aa8199,transparent 95%),#fff
}

.project-header>.container {
    position: relative;
    z-index: 1
}

.project-header h1 {
    font-size: clamp(68px,11.5vw,140px);
    line-height: .94;
    max-width: 80%;
    overflow-wrap: anywhere
}

.project-lead {
    font-size: clamp(21px,2.5vw,30px);
    line-height: 1.3;
    margin-top: 20px;
    max-width: 600px
}

.project-outline {
    position: absolute;
    width: min(45%,640px);
    right: 5%;
    top: 100px;
    opacity: .85
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-top: 35px
}

.project-filters a {
    padding: 8px 0;
    text-decoration: none;
    color: var(--muted)
}

.project-filters a[aria-current],.project-filters a:hover {
    color: var(--link);
    text-decoration: underline
}

.project-list {
    padding-block: 40px 70px
}

.project-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 38px 28px;
    align-items: start
}

.project-card:nth-child(even) {
    padding-top: 45px
}

.project-card-link {
    display: block;
    text-decoration: none;
    border-radius: 12px
}

.project-card-media {
    margin: 0 0 16px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden
}

.project-card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    transition: filter .45s ease
}

.project-card h2 {
    font-size: clamp(28px,3.2vw,43px);
    line-height: 1.1;
    overflow-wrap: anywhere
}

.project-card p {
    font-size: 19px;
    line-height: 1.4;
    margin-top: 8px
}

.project-card .text-link {
    font-size: 21px;
    margin-top: 12px
}

@media(hover:hover) and (pointer:fine) {
    .project-card-media img {
        filter: grayscale(1)
    }

    .project-card-link:hover img,.project-card-link:focus img {
        filter: grayscale(0)
    }

}

.project-card-link:focus-visible {
    outline: 3px solid var(--link);
    outline-offset: 7px
}

.category-heading {
    font-size: 28px;
    margin-bottom: 28px
}

.project-empty {
    padding-block: 35px
}

.pagination {
    margin-top: 45px
}

.pagination .nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.all-projects {
    display: inline-block;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 25px
}

.project-detail-header {
    padding-bottom: 0
}

.project-detail-header h1 {
    font-size: clamp(48px,7.5vw,108px);
    max-width: 100%
}

.project-summary {
    font-size: clamp(24px,3.5vw,48px);
    line-height: 1.15;
    letter-spacing: -.035em;
    margin-top: 20px;
    max-width: 850px
}

.project-facts {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 28px 0
}

.project-facts>div+div {
    border-left: 1px solid #999;
    padding-left: 30px
}

.project-facts dt {
    font-size: 13px;
    color: var(--muted)
}

.project-facts dd {
    margin: 0;
    font-size: 18px
}

.project-external {
    margin-bottom: 24px
}

.project-featured {
    margin-top: 24px
}

.project-featured img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    object-position: bottom
}

.project-client {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
}

.project-client img {
    width: auto;
    max-width: 240px;
    height: 96px;
    object-fit: contain;
    object-position: left center
}

.project-client-label {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.project-client-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.035em
}

.project-content .project-story {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    gap: clamp(28px,5vw,72px);
    padding-block: clamp(32px,4.5vw,64px)
}

.project-content .project-story h2,.project-content .project-experience h2 {
    font-size: clamp(34px,4vw,56px);
    line-height: 1.1;
    margin: 12px 0 24px
}

.project-story-copy p {
    font-size: clamp(18px,1.6vw,22px);
    line-height: 1.6
}

.project-content .eyebrow {
    margin: 0
}

.project-story-copy p:first-child {
    margin-top: 0
}

.project-experience {
    padding-block: clamp(32px,4.5vw,64px)
}

.project-experience-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 32px
}

.project-experience-grid>div {
    border-left: 1px solid #f96e5b55;
    padding-left: 24px
}

.project-experience-grid h3 {
    font-size: 26px
}

.project-content .project-experience-grid .number {
    margin-top: 0
}

@media(max-width:800px) {
    .project-content .project-story {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .project-experience-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

}

.project-content {
    padding-block: 45px 60px;
    overflow-wrap: anywhere
}

.project-content:empty {
    display: none
}

.project-content p {
    margin-block: 16px
}

.project-content h2 {
    margin-block: 22px
}

.project-content h3 {
    margin-block: 18px
}

.project-content img {
    height: auto;
    max-width: 100%
}

.project-content figure {
    margin-block: 24px
}

.project-content figcaption {
    font-size: 15px;
    color: var(--muted);
    margin-top: 10px
}

.project-content .wp-block-columns {
    display: flex;
    gap: 32px
}

.project-content .wp-block-column {
    flex: 1;
    min-width: 0
}

.project-content iframe,.project-content video {
    max-width: 100%
}

.next-project {
    padding-block: 30px 45px;
    border-top: 1px solid #ddd
}

.next-project>a {
    font-size: clamp(35px,5vw,68px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere
}

.next-project>a:hover {
    text-decoration: underline
}

@media(min-width:801px) {
    .project-header {
        margin-top: clamp(-160px,-11.45vw,-116px);
        padding-top: calc(clamp(116px,11.45vw,160px) + 40px)
    }

}

@media(max-width:800px) {
    .project-header {
        margin-top: -106px;
        padding-top: 140px
    }

    .project-header h1 {
        font-size: 76px
    }

    .project-detail-header h1 {
        font-size: 60px
    }

    .project-card p {
        font-size: 17px
    }

}

@media(max-width:600px) {
    .project-header {
        margin-top: -92px;
        padding: 125px 0 28px
    }

    .project-header h1 {
        font-size: clamp(58px,15vw,82px);
        max-width: 100%
    }

    .project-detail-header h1 {
        font-size: clamp(40px,10vw,58px)
    }

    .project-lead {
        font-size: 21px;
        max-width: 90%
    }

    .project-outline {
        width: 75%;
        right: -25%;
        top: 80px;
        opacity: .3
    }

    .project-filters {
        gap: 8px 24px;
        margin-top: 24px;
        font-size: 16px
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .project-card:nth-child(even) {
        padding-top: 0
    }

    .project-list {
        padding-block: 28px 45px
    }

    .project-card-media img {
        aspect-ratio: auto
    }

    .project-content .wp-block-columns {
        flex-direction: column
    }

    .project-facts {
        gap: 16px
    }

    .project-facts>div+div {
        padding-left: 16px
    }

    .project-summary {
        font-size: 27px
    }

    .project-detail-header {
        padding-bottom: 0
    }

    .project-content {
        padding-block: 24px 35px
    }

    .desktop-break {
        display: none
    }

}

/* About: native blocks with a controlled, reference-aligned layout. */
.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: -135px;
    padding-top: 135px;
    background: radial-gradient(ellipse 45% 80% at 100% 25%,#e96783e0,transparent 95%),radial-gradient(ellipse 65% 55% at 90% 100%,#f7aa81c0,transparent 90%),radial-gradient(ellipse 35% 40% at 0% 100%,#f7aa8182,transparent 95%),#fff
}

.about-hero-inner {
    position: relative;
    min-height: 550px
}

.about-copy {
    position: relative;
    z-index: 2;
    width: 52%;
    padding: 40px 0 44px
}

.about-copy h1 {
    font-size: clamp(60px,9vw,120px);
    line-height: .94;
    letter-spacing: -.06em
}

.about-greeting {
    font-size: clamp(32px,4.4vw,52px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.12;
    margin: 26px 0 14px
}

.about-biography {
    font-size: clamp(18px,2.1vw,25px);
    line-height: 1.35;
    max-width: 90%
}

.about-portrait {
    position: absolute;
    z-index: 1;
    width: 52%;
    right: 0;
    bottom: 0;
    margin: 0
}

.about-portrait img {
    width: 100%;
    height: auto
}

.about-outline {
    position: absolute;
    z-index: 0;
    width: min(57%,810px);
    right: calc(max(64px,(100% - 1280px)/2) - 30px);
    top: 80px
}

.about-capabilities {
    padding-block: 40px 28px
}

.about-process {
    padding-block: 26px 44px
}

.about-capabilities>h2,.about-process>h2 {
    font-size: clamp(35px,6vw,72px);
    margin-bottom: 32px
}

.about-columns {
    display: grid!important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 32px!important;
    margin: 0!important
}

.about-columns>.wp-block-column {
    border-left: 1px solid #aaa;
    min-width: 0;
    padding-left: 30px
}

.about-columns h3 {
    font-size: clamp(23px,2.8vw,32px);
    margin-bottom: 10px
}

.about-columns p:not(.number) {
    font-size: clamp(17px,1.9vw,22px);
    line-height: 1.4
}

.about-process .about-columns p {
    font-size: clamp(16px,1.7vw,20px)
}

.process-icon {
    display: block;
    width: 62px;
    height: 70px;
    color: var(--coral);
    margin-bottom: 16px
}

.about-process .wp-block-column:nth-child(3) .process-icon {
    color: #e93968
}

@media(min-width:801px) {
    .about-hero {
        margin-top: clamp(-160px,-11.45vw,-116px);
        padding-top: clamp(116px,11.45vw,160px)
    }

    .about-hero-inner {
        min-height: clamp(530px,52vw,710px)
    }

}

@media(min-width:601px) and (max-width:800px) {
    .about-hero {
        margin-top: -106px;
        padding-top: 106px
    }

    .about-copy {
        width: 55%
    }

    .about-copy h1 {
        font-size: 60px
    }

    .about-hero-inner {
        min-height: 510px
    }

    .about-portrait {
        width: 50%
    }

    .about-columns {
        gap: 18px!important
    }

    .about-columns>.wp-block-column {
        padding-left: 18px
    }

    .about-outline {
        right: -2%;
        top: 140px
    }

}

@media(max-width:600px) {
    .about-hero {
        margin-top: -92px;
        padding-top: 92px
    }

    .about-hero-inner {
        min-height: 0;
        display: flex;
        flex-direction: column
    }

    .about-copy {
        width: 100%;
        padding: 32px 0 26px
    }

    .about-copy h1 {
        font-size: clamp(46px,12.7vw,72px)
    }

    .about-greeting {
        font-size: 34px;
        margin-top: 24px
    }

    .about-biography {
        font-size: 18px;
        max-width: 100%
    }

    .about-portrait {
        position: relative;
        width: 100%;
        max-width: 410px;
        align-self: center;
        right: auto;
        bottom: auto
    }

    .about-outline {
        top: auto;
        bottom: 0;
        right: -14%;
        width: 117%;
        max-width: 600px
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 26px!important
    }

    .about-columns>.wp-block-column {
        padding-left: 22px
    }

    .about-columns h3 {
        font-size: 28px
    }

    .about-columns p:not(.number) {
        font-size: 18px
    }

    .about-capabilities {
        padding-block: 34px 20px
    }

    .about-process {
        padding-block: 20px 36px
    }

    .about-capabilities>h2,.about-process>h2 {
        font-size: 38px;
        line-height: 1.1;
        margin-bottom: 28px
    }

}

.about-story {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: clamp(28px,5vw,72px);
    padding-block: clamp(36px,5vw,68px)
}

.about-story>h2 {
    font-size: clamp(35px,4.5vw,60px);
    line-height: 1.1
}

.about-story-copy p {
    font-size: clamp(18px,1.7vw,22px);
    line-height: 1.55
}

.about-story-copy p+p {
    margin-top: 20px
}

.about-personal {
    padding-bottom: clamp(44px,6vw,80px)
}

@media(max-width:800px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .about-story>h2 {
        max-width: 18ch
    }

}

.editor-styles-wrapper .about-hero {
    margin-top: 0;
    padding-top: 0
}

.editor-styles-wrapper .about-outline {
    display: none
}

/* One spacing rhythm for every About section below the portrait. */
:is(.about-story,.about-capabilities,.about-process)>h2 {
    font-size: clamp(38px,4.5vw,60px);
    line-height: 1.1
}

:is(.about-story,.about-capabilities,.about-process) {
    padding-block: clamp(36px,4.5vw,64px)
}

:is(.about-capabilities,.about-process) {
    background: #fff;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax)
}

.about-capability-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
    text-underline-offset: 7px
}

.about-capability-link:is(:hover,:focus-visible) {
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px
}

@media(prefers-reduced-motion:reduce) {
    .about-capability-link {
        transition: none
    }

}

/* Art keeps original image proportions and colour; all navigation works without JS. */
.art-header {
    padding-bottom: 20px
}

.art-header .eyebrow {
    margin-bottom: 18px
}

.art-header h1 {
    font-size: clamp(62px,8.7vw,116px);
    max-width: 70%
}

.art-header .project-lead {
    max-width: 600px
}

.art-filters {
    margin-top: 42px
}

.art-outline {
    position: absolute;
    pointer-events: none;
    width: min(29%,420px);
    top: 95px;
    right: 22%;
    opacity: .8
}

.art-outline-two {
    right: 4%;
    top: 165px;
    width: min(26%,380px);
    opacity: .4
}

.art-collection {
    padding-block: 20px 60px;
    min-height: 220px
}

.art-grid {
    display: grid;
    grid-template-columns: .82fr 1fr;
    gap: 24px;
    align-items: start
}

.art-card:first-child {
    grid-row: span 2
}

.art-card-link {
    display: block;
    text-decoration: none
}

.art-card-link figure {
    margin: 0 0 10px
}

.art-card img {
    width: 100%;
    height: auto;
    filter: none
}

.art-card h2 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--muted)
}

.art-card p {
    font-size: 14px;
    margin-top: 4px
}

.art-card-link:hover h2,.art-card-link:focus-visible h2 {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 4px
}

.art-card-link:focus-visible {
    outline: 3px solid var(--link);
    outline-offset: 6px
}

.art-empty {
    padding-block: 35px
}

.art-detail-header h1 {
    font-size: clamp(42px,7vw,96px);
    overflow-wrap: anywhere;
    max-width: 100%
}

.art-detail-content {
    padding-block: 36px 60px
}

.art-original {
    margin: 0 auto;
    max-width: 1000px
}

.art-original img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85svh;
    object-fit: contain;
    margin-inline: auto
}

.art-original figcaption {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 14px
}

.art-full-image {
    margin-top: 24px;
    font-size: 19px
}

.art-description {
    max-width: 850px;
    margin: 32px auto 0;
    overflow-wrap: anywhere
}

.art-description p {
    margin-block: 16px
}

.art-description img {
    height: auto;
    max-width: 100%
}

.art-description h2,.art-description h3 {
    margin-block: 24px 16px
}

.art-description figure {
    margin-block: 24px
}

.art-description iframe,.art-description video {
    max-width: 100%
}

@media(max-width:800px) {
    .art-header h1 {
        font-size: 68px;
        max-width: 85%
    }

    .art-detail-header h1 {
        font-size: 56px
    }

    .art-outline {
        top: 120px;
        right: 13%
    }

    .art-outline-two {
        right: -4%
    }

}

@media(max-width:600px) {
    .art-header h1 {
        font-size: clamp(50px,13vw,72px);
        max-width: 100%
    }

    .art-header .eyebrow {
        font-size: 10px
    }

    .art-header .project-lead {
        font-size: 20px;
        max-width: 95%
    }

    .art-outline {
        width: 60%;
        right: -15%;
        top: 110px;
        opacity: .25
    }

    .art-outline-two {
        width: 45%;
        right: -10%;
        top: 225px;
        opacity: .2
    }

    .art-filters {
        margin-top: 28px
    }

    .art-grid {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .art-card:first-child {
        grid-row: auto
    }

    .art-detail-header h1 {
        font-size: clamp(36px,10vw,54px)
    }

    .art-detail-content {
        padding-block: 24px 40px
    }

    .art-original img {
        max-height: none
    }

    .art-collection {
        padding-bottom: 40px
    }

}

/* Art reference gallery and independent hexagons with reserved motion space. */
.art-grid {
    grid-template-columns: 406fr 524fr;
    gap: 20px;
}

.art-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.art-grid:has(>.art-card:nth-child(2):last-child)>.art-card:first-child {
    grid-row: auto;
}

.art-outline-one {
    width: min(25vw,310px);
    right: 11%;
    top: 125px;
}

.art-outline-two {
    width: calc(min(25vw,310px)/1.7);
    right: 8%;
    top: 285px;
}

@media(min-width:801px) {
    .art-page .art-header h1 {
        max-width: 54%;
        font-size: clamp(60px,8vw,110px);
    }

    .art-page .project-lead {
        max-width: 50%;
    }

}

@media(max-width:800px) {
    .art-outline-one {
        width: min(34vw,180px);
        right: 50%;
        top: auto;
        bottom: 90px;
    }

    .art-outline-two {
        width: calc(min(34vw,180px)/1.7);
        right: 22%;
        top: auto;
        bottom: 110px;
    }

    .art-detail-header .art-outline {
        display: none;
    }

}

@media(max-width:600px) {
    .art-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

}

/* Anchor the Art composition to its text container, without changing flow height. */
@media(min-width:701px) {
    .art-heading-block {
        position: relative;
    }

    .art-heading-hexagons {
        position: absolute;
        inset: 0 0 0 60%;
        pointer-events: none;
        --art-hex-size: min(95.2%,434px);
    }

    .art-heading-hexagons .art-outline-one {
        width: var(--art-hex-size);
        left: 3%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-60%);
    }

    .art-heading-hexagons .art-outline-two {
        width: calc(var(--art-hex-size) * .6);
        left: 49%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-10%);
    }

}

@media(max-width:700px) {
    .art-header:has(.art-heading-block) > .container {
        position: static;
    }

    .art-heading-block, .art-heading-hexagons {
        display: contents;
    }

}

/* Keep the hero's decoration space after moving its navigation into the gallery. */
.projects-page > .project-header {
    padding-bottom: 116px;
}

.art-page > .art-header {
    padding-bottom: 104px;
}

@media(max-width:800px) {
    .art-page > .art-header {
        padding-bottom: 320px;
    }

}

@media(max-width:600px) {
    .projects-page > .project-header {
        padding-bottom: 92px;
    }

}

/* Shared, lightweight gallery category navigation. */
:is(.project-list,.art-collection) {
    padding-top: 28px;
}

:is(.project-list,.art-collection) > .project-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 30px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
}

:is(.project-list,.art-collection) > .project-filters a {
    position: relative;
    padding: 8px 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

:is(.project-list,.art-collection) > .project-filters a::after {
    content: "";
    position: absolute;
    inset: auto 0 3px;
    height: 1px;
    background: #f96e5b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

:is(.project-list,.art-collection) > .project-filters a:is([aria-current],:hover) {
    color: #f96e5b;
}

:is(.project-list,.art-collection) > .project-filters a:is([aria-current],:hover,:focus-visible)::after {
    transform: scaleX(1);
}

:is(.project-list,.art-collection) > .project-filters a:focus-visible {
    outline: 2px solid #8a304a;
    outline-offset: 5px;
    border-radius: 2px;
}

@media(max-width:600px) {
    :is(.project-list,.art-collection) {
        padding-top: 20px;
    }

    :is(.project-list,.art-collection) > .project-filters {
        gap: 6px 24px;
        margin-bottom: 22px;
    }

}

/* Work archive: two brief source reveals, independent of the original motion. */
.work-code-hex .hex-drift {
    position: relative;
}

.work-code-hex .hex-drift > img {
    position: relative;
    z-index: 1;
}

.work-code-hex .hex-drift > .work-hex-backdrop {
    position: absolute;
    z-index: 0;
    width: 52%;
    height: auto;
    right: -4%;
    top: 28%;
    opacity: .24;
    transform: rotate(14deg);
}

@media(max-width:600px) {
    .work-code-hex .hex-drift > .work-hex-backdrop {
        right: auto;
        left: -6%;
        top: 38%;
        opacity: .32;
    }

}

.work-code-hex .hex-drift > .work-code-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.work-code-phase {
    opacity: 0;
    fill: var(--ink);
    font: 20px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
    animation-duration: 12s;
    animation-delay: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.work-code-accent {
    fill: var(--coral);
}

.work-code-first {
    animation-name: work-code-first;
}

.work-code-second {
    animation-name: work-code-second;
}

/* Readable first hold: 1.8s + .24s fade; .24s gap; .72s second + .36s fade. */
@keyframes work-code-first {
    0%,15% {
        opacity: .34;
        transform: translateX(-1px);
    }

    17%,100% {
        opacity: 0;
        transform: translateX(0);
    }

}

@keyframes work-code-second {
    0%,18.99% {
        opacity: 0;
        transform: translateX(1px);
    }

    19%,25% {
        opacity: .4;
        transform: translateX(1px);
    }

    28%,100% {
        opacity: 0;
        transform: translateX(0);
    }

}

@media(prefers-reduced-motion:reduce) {
    .work-code-phase {
        animation: none;
        opacity: 0;
        transform: none;
    }

}

/* Manual hover holds a stable composition; reduced motion still has no auto reveal. */
.work-code-hex.is-code-hovered .work-code-phase {
    animation-play-state: paused;
    transform: none!important;
}

.work-code-hex.is-code-hovered .work-code-first {
    opacity: 0!important;
}

.work-code-hex.is-code-hovered .work-code-second {
    opacity: .42!important;
}

/* Art archive only: fixed paint texture, one-time reveal, existing drift wrappers. */
.art-heading-hexagons .art-outline {
    aspect-ratio: 1;
}

.art-heading-hexagons .art-outline-one {
    opacity: .95;
}

.art-heading-hexagons .art-outline-two {
    opacity: .6;
}

.art-heading-hexagons .art-brush-svg {
    overflow: visible;
}

.art-brush-reveal {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    animation: art-brush-draw 3.8s cubic-bezier(.4,0,.2,1) both;
}

.art-outline-two .art-brush-reveal {
    animation-delay: .55s;
}

@keyframes art-brush-draw {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }

}

@media(min-width:801px) {
    .art-heading-hexagons {
        --art-hex-size: min(110%,490px);
    }

    .art-heading-hexagons .art-outline-one {
        left: -7%;
    }

    .art-heading-hexagons .art-outline-two {
        left: 40%;
    }

}

@media(max-width:800px) {
    .art-page .art-heading-block {
        display: block;
        position: relative;
    }

    .art-page .art-heading-hexagons {
        display: block;
        position: absolute;
        inset: 100% 0 auto;
        height: 240px;
    }

    .art-heading-hexagons .art-outline-one {
        width: clamp(180px,25vw,220px);
        left: calc(50% - 145px);
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .art-heading-hexagons .art-outline-two {
        width: clamp(108px,15vw,132px);
        left: calc(50% - 15px);
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-20%);
    }

}

@media(prefers-reduced-motion:reduce) {
    .art-brush-reveal {
        animation: none;
        stroke-dashoffset: 0;
    }

}

/* Contact: scoped reference layout; shared typography, identity and motion. */
.nav-list a[aria-current=page] {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 8px
}

.contact-section {
    position: relative;
    isolation: isolate;
    margin-top: -135px;
    padding: 195px 0 76px;
    background: radial-gradient(ellipse 35% 42% at 0% 78%,#ffb299aa,transparent),radial-gradient(ellipse 28% 40% at 0% 53%,#ff658477,transparent),radial-gradient(ellipse 42% 35% at 28% 0%,#ffd6c0aa,transparent),#fff
}

.contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 9%;
    align-items: center
}

.contact-copy {
    align-self: start;
    padding-top: 58px
}

.contact-copy h1 {
    font-size: clamp(58px,7.35vw,110px);
    line-height: .98;
    letter-spacing: -.06em;
    margin: 0
}

.contact-copy>p {
    font-size: clamp(20px,2vw,30px);
    line-height: 1.35;
    margin-top: 34px
}

.contact-outline {
    position: absolute;
    left: 2%;
    top: 125px;
    width: min(51.6%,768px);
    opacity: .18;
    z-index: -1
}

.contact-outline img {
    width: 100%;
    height: auto
}

.contact-form-column {
    min-width: 0
}

.contact-form {
    font-size: 16px;
    color: var(--muted)
}

.contact-field,.contact-form fieldset {
    margin: 0 0 26px
}

.contact-form label,.contact-form legend {
    display: block;
    margin-bottom: 8px;
    color: var(--muted)
}

.contact-form input:not([type=radio]),.contact-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #c8cbd4;
    border-radius: 7px;
    background: #ffffffb3;
    color: var(--ink);
    font: inherit;
    line-height: 1.5;
    padding: 13px 18px
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px
}

.contact-form input::placeholder,.contact-form textarea::placeholder {
    color: #747e91;
    opacity: 1
}

.contact-form fieldset {
    padding: 0;
    border: 0;
    min-width: 0
}

.contact-form legend {
    padding: 0
}

.interest-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.interest-options label {
    position: relative;
    flex: 1 0 auto;
    margin: 0;
    cursor: pointer
}

.interest-options input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.interest-options span {
    display: block;
    border: 1px solid #c8cbd4;
    border-radius: 30px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s
}

.interest-options input:checked+span {
    border-color: var(--coral,#f96e5b);
    background: #fff0e9;
    color: var(--ink)
}

.interest-options input:focus-visible+span,.contact-form input:focus-visible,.contact-form textarea:focus-visible,.contact-submit:focus-visible {
    outline: 3px solid #8a354c;
    outline-offset: 3px
}

.contact-submit {
    display: inline-block;
    text-decoration: none;
    border: 0;
    border-radius: 18px;
    padding: 16px 28px;
    background: linear-gradient(110deg,#df5242,#df204d);
    font: inherit;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    cursor: pointer
}

.contact-submit:hover {
    background: linear-gradient(110deg,#df5242,#df204d)
}

.contact-privacy {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 14px
}

.contact-trap {
    position: absolute!important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

.form-feedback {
    border: 1px solid #7a8893;
    border-radius: 7px;
    padding: 18px;
    margin-bottom: 24px;
    background: #fff
}

.form-feedback h2 {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.025em;
    margin-bottom: 8px
}

.field-error {
    color: #992d3f
}

.field-error {
    font-size: 14px;
    margin-top: 6px
}

.contact-form [aria-invalid=true] {
    border-color: #992d3f
}

.contact-footer {
    background: #fffaf8;
    padding-top: 0
}

.contact-footer .footer-bottom {
    margin-top: 0;
    padding-block: 26px
}

.contact-footer .brand span {
    display: inline;
    font-size: 24px;
    color: var(--ink)
}

.contact-footer .brand img {
    width: 46px;
    height: 53px
}

.contact-footer .footer-bottom {
    align-items: center
}

.contact-footer .contact-signature {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--ink)
}

.contact-footer .contact-signature .gradient-text {
    display: inline;
    color: transparent
}

@media(min-width:801px) {
    .contact-section {
        margin-top: clamp(-160px,-11.45vw,-116px);
        padding-top: calc(clamp(116px,11.45vw,160px) + 42px)
    }

}

@media(max-width:1000px) and (min-width:701px) {
    .contact-layout {
        gap: 5%;
        grid-template-columns: 1fr 1fr
    }

    .contact-copy h1 {
        font-size: clamp(40px,6.1vw,61px)
    }

    .contact-copy>p {
        font-size: 20px
    }

    .contact-copy .desktop-break {
        display: none
    }

    .interest-options span {
        padding: 10px 12px
    }

}

@media(max-width:800px) {
    .contact-section {
        margin-top: -106px;
        padding-top: 145px
    }

}

@media(max-width:700px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .contact-copy {
        padding-top: 0
    }

    .contact-copy h1 {
        font-size: clamp(48px,10.6vw,72px)
    }

    .contact-copy>p {
        font-size: 20px;
        max-width: 500px;
        margin-top: 24px
    }

    .contact-section {
        padding-bottom: 42px
    }

    .contact-outline {
        width: 86%;
        left: 2%;
        top: 130px;
        opacity: .16
    }

    .contact-form {
        font-size: 16px
    }

}

@media(max-width:600px) {
    .contact-section {
        margin-top: -92px;
        padding-top: 130px
    }

    .contact-submit {
        font-size: 19px
    }

    .contact-form textarea {
        min-height: 160px
    }

    .contact-field,.contact-form fieldset {
        margin-bottom: 22px
    }

}

/* Shared CTA motion; independent translate preserves positioning transforms. */
:is(.home-work-button,.site-footer .contact-submit) {
    transition: translate .25s ease, box-shadow .25s ease;
}

:is(.home-work-button,.site-footer .contact-submit) span {
    display: inline-block;
    transition: translate .25s ease;
}

:is(.home-work-button,.site-footer .contact-submit):is(:hover,:focus-visible) {
    translate: 0 -3px;
    box-shadow: 0 6px 16px #df204d24;
}

:is(.home-work-button,.site-footer .contact-submit):is(:hover,:focus-visible) span {
    translate: 3px -3px;
}

.capabilities .capability-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.capabilities .capability-link:is(:hover,:focus-visible) {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.capabilities .capability-link:focus-visible {
    outline: 3px solid #8a304a;
    outline-offset: 5px;
}

.selected-work .work-grid .text-link {
    margin-top: 4px;
    font-size: 20px;
}

body > .floating-contact {
    animation: home-contact-float 3s ease-in-out infinite;
}

@keyframes home-contact-float {
    0%,100% {
        translate: 0 10px;
    }

    50% {
        translate: 0 -10px;
    }

}

@media(prefers-reduced-motion:reduce) {
    :is(.home-work-button,.site-footer .contact-submit),:is(.home-work-button,.site-footer .contact-submit) span {
        transition: none;
        translate: none;
    }

    :is(.home-work-button,.site-footer .contact-submit):is(:hover,:focus-visible),:is(.home-work-button,.site-footer .contact-submit):is(:hover,:focus-visible) span {
        translate: none;
    }

    body > .floating-contact {
        animation: none;
        translate: none;
    }

}

/* Shared project detail: editable gallery becomes a manual hero carousel. */
.project-single .project-detail-header {
    padding-bottom: 44px
}

.project-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: clamp(28px,4vw,64px);
    align-items: center
}

.project-hero-copy,.project-hero-media {
    min-width: 0
}

.project-single .project-detail-header h1 {
    font-size: clamp(38.4px,6vw,86.4px);
    overflow-wrap: normal;
    line-height: 1.02
}

.project-single .project-summary {
    font-size: clamp(19.2px,2.8vw,38.4px);
    line-height: 1.25
}

.project-slide-track {
    aspect-ratio: 16/11;
    position: relative;
    touch-action: pan-y;
    background: #f7f5f2;
    border-radius: 12px
}

.project-slide-track figure {
    margin: 0;
    width: 100%;
    height: 100%
}

.project-slide-track a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 12px
}

.project-slide-track img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px
}

.project-slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 16px
}

.project-slider-controls[hidden],.project-slide[hidden] {
    display: none
}

.project-slider-controls button {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid #c7b9b5;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s,color .2s
}

.project-slider-controls button:hover {
    background: #fff0e7;
    color: var(--link)
}

.project-slider-controls span {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .1em
}

.project-single .project-client {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 22px
}

.project-single .project-client img {
    max-width: 180px;
    width: auto;
    height: auto;
    max-height: 38px
}

.project-single .project-client-name {
    font-size: 20px
}

.project-single .project-content {
    padding-block: 20px 32px
}

.project-single .project-story,.project-single .project-experience {
    padding-block: 24px
}

.project-single .project-story h2 {
    font-size: clamp(30px,3vw,42px)
}

.project-single .project-story-copy p,.project-single .project-story p {
    font-size: 18px
}

.project-detail-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 32px;
    align-items: center;
    padding-block: 24px
}

.project-detail-row img {
    max-height: 320px;
    object-fit: contain
}

@media(max-width:800px) {
    .project-hero-grid {
        grid-template-columns: 1fr
    }

    .project-single .project-detail-header h1 {
        font-size: 48px
    }

    .project-detail-row {
        grid-template-columns: 1fr;
        gap: 16px
    }

}

@media(max-width:600px) {
    .project-single .project-detail-header h1 {
        font-size: clamp(32px,8vw,46.4px)
    }

    .project-single .project-summary {
        font-size: 21.6px
    }

}

@media(prefers-reduced-motion:reduce) {
    .project-slider-controls button {
        transition: none
    }

}

.project-overview {
    padding-block: 24px
}

.project-overview>.eyebrow {
    margin-bottom: 20px
}

.project-overview-columns {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px
}

.project-content .project-overview h2 {
    font-size: clamp(28px,3vw,42px);
    margin: 0 0 18px;
    line-height: 1.15
}

.project-overview p {
    font-size: 18px
}

.project-content>.project-client {
    margin: 0 0 32px;
    padding-bottom: 12px
}

.next-project {
    display: flex;
    justify-content: space-between;
    gap: 32px
}

.next-project>div {
    min-width: 0
}

.next-project a {
    overflow-wrap: anywhere
}

.project-detail-row figure {
    margin: 0
}

.project-detail-row h3 {
    font-size: 28px
}

@media(max-width:600px) {
    .project-overview-columns {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .next-project {
        flex-direction: column
    }

}

/* Shared featured frame; merged raster backgrounds must never be desaturated. */
.selected-work .work-grid figure,.project-card-media,.project-slide:first-child {
    aspect-ratio: 16/11;
    background: #f7f5f2;
    border: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden
}

.selected-work .work-grid figure a {
    display: block;
    width: 100%;
    height: 100%
}

.selected-work .work-grid figure img,.project-card-media img,.project-slide:first-child img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/11;
    object-fit: contain;
    object-position: center;
    filter: none!important;
    transform: none!important
}

.featured-media-layered img {
    opacity: 0
}

.featured-media-layered::before,.featured-media-layered::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat
}

.featured-media-layered::before {
    background-image: var(--featured-background)
}

.featured-media-layered::after {
    background-image: var(--featured-composition);
    filter: none;
    transition: filter .45s ease
}

@media(hover:hover) and (pointer:fine) {
    .featured-media-layered::after {
        filter: grayscale(1)
    }

    .featured-media-layered:hover::after,.featured-media-layered:focus-within::after,.project-card-link:focus-visible .featured-media-layered::after {
        filter: grayscale(0)
    }

}

@media(prefers-reduced-motion:reduce) {
    .featured-media-layered::after {
        transition: none
    }

}

.featured-media a:focus-visible {
    outline-offset: -3px
}

/* Scoped editorial refinements; hero and footer accents retain their gradients. */
.about-page .about-story h2 .gradient-text, .about-page .about-capabilities h2 .gradient-text, .about-page .about-process h2 .gradient-text {
    background: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

.selected-work .work-grid {
    display: grid!important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 24px!important
}

.selected-work-heading h2 {
    margin: 0
}

.selected-work-heading .text-link {
    font-size: 20px;
    white-space: nowrap
}

.selected-work-more {
    margin-top: 32px;
    text-align: center
}

@media(max-width:600px) {
    .selected-work .work-grid {
        grid-template-columns: 1fr
    }

    .selected-work-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

}
