/* =========================================================
   VYUHA STUDIO â€” architectural visualization
   Design system + layout. One stylesheet, all pages.
   ========================================================= */


/* ---- tokens ---- */

:root {
    color-scheme: light;
    --paper: #FAFAF8;
    --paper-2: #F2F1EC;
    --ink: #161614;
    --ink-soft: #54524C;
    --muted: #9A968C;
    --line: #E9E7E0;
    --line-2: #DEDBD2;
    --accent: #2E3128;
    --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --fs-meta: 10.5px;
    --fs-nav: 12px;
    --fs-body: 14px;
    --fs-lead: 15px;
    --pad: clamp(16px, 3.4vw, 30px);
    --bar-h: 100px;
    --gap: 7px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #10100E;
    --paper-2: #181813;
    --ink: #F4F1E8;
    --ink-soft: #C4BFB2;
    --muted: #8D877B;
    --line: #2A2923;
    --line-2: #3A382F;
    --accent: #DED7C8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--sans);
    font-size: var(--fs-body);
    line-height: 1.5;
    font-weight: 400;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit
}

::selection {
    background: var(--ink);
    color: var(--paper)
}


/* ---- shared label / mono treatment ---- */

.mono {
    font-family: var(--mono);
    font-weight: 300
}

.eyebrow {
    font-family: var(--mono);
    font-weight: 400;
    font-size: var(--fs-meta);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-head {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--bar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 var(--pad);
    background: color-mix(in srgb, var(--paper) 80%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .4s var(--ease), background .4s var(--ease);
}

.site-head.is-scrolled {
    border-bottom-color: var(--line);
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
    border: 1px solid var(--line-2);
    background: color-mix(in srgb, var(--paper-2) 88%, transparent);
    color: var(--ink-soft);
    transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.theme-toggle::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ink);
    transition: transform .28s var(--ease), background .25s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--ink);
    color: var(--ink)
}

.theme-toggle__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    transition: color .25s var(--ease);
}

.theme-toggle__icon--light {
    color: var(--paper);
}

.theme-toggle__icon--dark {
    color: var(--muted);
}

:root[data-theme="dark"] .theme-toggle::before {
    transform: translateX(22px);
    background: var(--paper);
}

:root[data-theme="dark"] .theme-toggle {
    background: color-mix(in srgb, var(--paper-2) 72%, transparent);
}

:root[data-theme="dark"] .theme-toggle__icon--light {
    color: var(--muted);
}

:root[data-theme="dark"] .theme-toggle__icon--dark {
    color: var(--ink);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px
}

.brand img {
    max-width: 80px;
}

:root[data-theme="dark"] .brand img {
    filter: brightness(0) invert(1);
}

.brand__mark {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--ink)
}

.brand__name {
    font-weight: 600;
    letter-spacing: .22em;
    font-size: 13px;
    text-transform: uppercase;
}

.brand__name sup {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--muted);
    top: -.7em
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px)
}

.nav a {
    font-size: var(--fs-nav);
    letter-spacing: .04em;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color .25s var(--ease);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--ink);
    transition: right .35s var(--ease);
}

.nav a:hover {
    color: var(--ink)
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    right: 0
}

.nav a[aria-current="page"] {
    color: var(--ink)
}

.nav__item,
.nav__subitem {
    position: relative;
}

.nav__submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 70;
    min-width: 170px;
    padding: 10px 0;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border: 1px solid var(--line);
    box-shadow: 0 20px 48px -34px rgba(0, 0, 0, .55);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.nav__submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -13px;
    height: 13px;
}

.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu,
.nav__subitem:hover > .nav__submenu,
.nav__subitem:focus-within > .nav__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav__submenu a {
    display: block;
    padding: 8px 15px;
    white-space: nowrap;
    color: var(--ink-soft);
}

.nav__submenu a::after {
    left: 15px;
    right: calc(100% - 15px);
    bottom: 5px;
}

.nav__submenu a:hover,
.nav__submenu a[aria-current="page"] {
    color: var(--ink);
}

.nav__subitem--has-submenu > a {
    padding-right: 28px;
}

.nav__subitem--has-submenu > a::before {
    content: ">";
    position: absolute;
    right: 14px;
    color: var(--muted);
}

.nav__submenu--nested {
    top: -10px;
    left: calc(100% + 10px);
    transform: translate(8px, 0);
}

.nav__submenu--nested::before {
    inset: 0 auto 0 -11px;
    width: 11px;
    height: auto;
}

.nav__subitem:hover > .nav__submenu--nested,
.nav__subitem:focus-within > .nav__submenu--nested {
    transform: translate(0, 0);
}
.menu-toggle,
.nav__submenu-toggle {
    display: none;
}

.menu-toggle {
    position: relative;
    z-index: 90;
    width: 38px;
    height: 28px;
    flex: 0 0 auto;
    color: var(--ink);
}

.menu-toggle span {
    position: absolute;
    left: 7px;
    right: 7px;
    height: 1px;
    background: currentColor;
    transition: transform .25s var(--ease), top .25s var(--ease);
}

.menu-toggle span:first-child {
    top: 10px;
}

.menu-toggle span:last-child {
    top: 18px;
}

.menu-toggle.is-open span:first-child {
    top: 14px;
    transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
    top: 14px;
    transform: rotate(-45deg);
}

.nav__submenu-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--ink);
}

.nav__submenu-toggle::before,
.nav__submenu-toggle::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .25s var(--ease);
}

.nav__submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.nav__item.is-open > .nav__submenu-toggle::after,
.nav__subitem.is-open > .nav__submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.nav-toggle {
    display: none
}


/* =========================================================
   PAGE SHELL
   ========================================================= */

main {
    padding-top: var(--bar-h)
}

.wrap {
    padding: 0 var(--pad)
}

.section {
    padding-block: clamp(40px, 7vw, 84px)
}

.divide {
    border-top: 1px solid var(--line)
}


/* page intro row (used on grid pages) */

.lede {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: calc(var(--bar-h) - 26px) var(--pad) 22px;
}

.lede__title {
    font-weight: 500;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: -.01em
}

.lede__meta {
    max-width: 46ch;
    color: var(--ink-soft);
    font-size: var(--fs-body)
}

.lede__count {
    font-family: var(--mono);
    font-weight: 300;
    font-size: var(--fs-meta);
    color: var(--muted);
    letter-spacing: .1em
}


/* =========================================================
   MASONRY GRID  (CSS columns, pinterest style)
   ========================================================= */

.grid {
    column-count: 4;
    column-gap: var(--gap);
    padding: 0 var(--pad) var(--pad);
}

@media(max-width:1500px) {
    .grid {
        column-count: 4
    }
}

@media(max-width:1200px) {
    .grid {
        column-count: 3
    }
}

@media(max-width:760px) {
    .grid {
        column-count: 2
    }
}

@media(max-width:430px) {
    .grid {
        column-count: 1
    }
}

.tile {
    break-inside: avoid;
    margin-bottom: var(--gap);
    position: relative;
    cursor: pointer;
    background: var(--paper-2);
    overflow: hidden;
}

.tile__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .9s var(--ease), filter .6s var(--ease);
    will-change: transform;
}

.tile:hover .tile__img {
    transform: scale(1.035)
}

.tile__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 7, .72), rgba(8, 8, 7, .22) 42%, rgba(8, 8, 7, 0) 68%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.tile:hover .tile__veil {
    opacity: 1
}

.tile__cap {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 11px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: #FAFAF8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.tile:hover .tile__cap {
    opacity: 1;
    transform: none
}

.tile__name {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .01em
}

.tile__code {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: .08em;
    opacity: .85;
    white-space: nowrap
}


/* tile reveal (gsap fallback also via this) */

.tile[data-reveal] {
    opacity: 0;
    transform: translateY(18px)
}


/* sketches: study treatment */

.grid--sketch .tile__img {
    filter: grayscale(1) contrast(1.02)
}

.grid--sketch .tile:hover .tile__img {
    filter: grayscale(.55)
}


/* =========================================================
   FILTERS (projects page)
   ========================================================= */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 var(--pad) 22px;
}

.chip {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 7px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink-soft);
    transition: .25s var(--ease);
}

.chip:hover {
    border-color: var(--ink);
    color: var(--ink)
}

.chip[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper)
}


/* =========================================================
   LIGHTBOX  (gallery + project data)
   ========================================================= */

.lb {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr minmax(290px, 332px);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s var(--ease), visibility .45s;
}

.lb.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.lb__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 56px);
    background: var(--paper-2);
    overflow: hidden;
}

.lb__frame {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex
}

.lb__img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .4);
}

.lb__video {
    display: none;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .4);
}

.lb.is-video .lb__frame {
    width: min(100%, calc((100vh - 112px) * 16 / 9));
    aspect-ratio: 16/9;
}

.lb.is-video .lb__img,
.lb.is-video .lb__zoom,
.lb.is-video .lb__nav,
.lb.is-video .lb__counter {
    display: none;
}

.lb.is-video .lb__video {
    display: block;
}

.lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--paper) 70%, transparent);
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: .25s var(--ease);
}

.lb__nav:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.lb__zoom {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--paper) 72%, transparent);
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: .25s var(--ease);
}

.lb__zoom:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.lb__nav--prev {
    left: 18px
}

.lb__nav--next {
    right: 18px
}

.lb__counter {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--ink-soft);
}


/* info panel */

.lb__info {
    position: relative;
    padding: clamp(22px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
    overflow-y: auto;
}

.lb__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: .25s var(--ease);
}

.lb__close:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.lb__code {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
    margin-bottom: 14px
}

.lb__title {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.18
}

.lb__cat {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted)
}

.lb__desc {
    margin-top: 18px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.62;
    max-width: 40ch
}

.lb__watch {
    display: none !important;
    align-self: flex-start;
    margin-top: 18px;
}

.lb__watch.is-visible {
    display: inline-flex !important;
}

.lb__specs {
    margin-top: 22px;
    border-top: 1px solid var(--line)
}

.spec {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.spec dt {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.spec dd {
    font-size: 12.5px;
    text-align: right
}

.lb__thumbs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 22px
}

.lb__thumb {
    width: 46px;
    height: 34px;
    object-fit: cover;
    border-radius: 2px;
    opacity: .42;
    outline: 1px solid transparent;
    transition: .25s var(--ease);
}

.lb__thumb.is-active {
    opacity: 1;
    outline-color: var(--ink)
}

.lb__thumb:hover {
    opacity: .85
}

.lb-open {
    overflow: hidden
}


/* fullscreen project gallery */

.fg {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    grid-template-rows: 1fr auto;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s var(--ease), visibility .32s;
}

.fg.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.fg__stage {
    position: relative;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 58px) clamp(58px, 8vw, 112px) 74px;
}

.fg__img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 24px 80px -36px rgba(0, 0, 0, .8);
}

.fg__caption {
    position: absolute;
    left: clamp(18px, 3vw, 36px);
    right: clamp(18px, 3vw, 36px);
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink-soft);
}

.fg__title,
.fg__counter {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fg__close,
.fg__nav {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--paper) 72%, transparent);
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: .25s var(--ease);
}

.fg__close:hover,
.fg__nav:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.fg__close {
    top: 18px;
    right: 18px;
}

.fg__nav {
    top: 50%;
    transform: translateY(-50%);
}

.fg__nav--prev {
    left: 18px
}

.fg__nav--next {
    right: 18px
}

.fg__thumbs {
    display: flex;
    gap: 8px;
    padding: 0 clamp(18px, 3vw, 36px) 20px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.fg__thumb {
    width: 74px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: cover;
    opacity: .45;
    outline: 1px solid var(--line-2);
    transition: .25s var(--ease);
}

.fg__thumb.is-active {
    opacity: 1;
    outline-color: var(--ink)
}

.fg__thumb:hover {
    opacity: .85
}

:root[data-theme="dark"] .fg {
    background: #080807;
    color: #FAFAF8;
}

:root[data-theme="dark"] .fg__caption {
    color: rgba(250, 250, 248, .86);
}

:root[data-theme="dark"] .fg__close,
:root[data-theme="dark"] .fg__nav {
    background: rgba(250, 250, 248, .14);
    border-color: rgba(250, 250, 248, .36);
    color: #FAFAF8;
}

:root[data-theme="dark"] .fg__close:hover,
:root[data-theme="dark"] .fg__nav:hover {
    background: #FAFAF8;
    color: #080807;
    border-color: #FAFAF8;
}

:root[data-theme="dark"] .fg__thumb {
    outline-color: rgba(250, 250, 248, .22);
}

:root[data-theme="dark"] .fg__thumb.is-active {
    outline-color: #FAFAF8;
}


/* =========================================================
   STUDIO / ABOUT
   ========================================================= */

.hero {
    padding: clamp(70px, 12vw, 150px) var(--pad) clamp(40px, 7vw, 80px);
    max-width: 1100px;
}

.hero__statement {
    font-weight: 400;
    line-height: 1.32;
    letter-spacing: -.015em;
    font-size: clamp(20px, 3.1vw, 30px);
    max-width: 20ch;
}

.hero__statement em {
    font-style: italic;
    color: var(--ink-soft)
}

.hero__sub {
    margin-top: 26px;
    max-width: 54ch;
    color: var(--ink-soft);
    font-size: var(--fs-lead)
}

.cols {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.block__k {
    font-family: var(--mono);
    font-weight: 400;
    font-size: var(--fs-meta);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px
}

.block p {
    color: var(--ink-soft);
    max-width: 50ch;
    margin-bottom: 14px
}

.svc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.svc__cell {
    background: var(--paper);
    padding: 22px 22px 26px
}

.svc__cell h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    align-items: baseline
}

.svc__cell h3 span {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    color: var(--muted)
}

.svc__cell p {
    font-size: 13px;
    color: var(--ink-soft);
    max-width: 38ch
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 6vw, 80px)
}

.stat__n {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1
}

.stat__l {
    margin-top: 8px;
    font-family: var(--mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap)
}

.member figure {
    background: var(--paper-2);
    overflow: hidden
}

.member img {
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter .5s var(--ease)
}

.member:hover img {
    filter: grayscale(0)
}

.member__name {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500
}

.member__role {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--muted)
}

.clients {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    align-items: center
}

.clients li {
    font-size: 14px;
    color: var(--ink-soft);
    letter-spacing: .01em
}

.clients li::before {
    content: "— ";
    color: var(--muted)
}

.process {
    counter-reset: step
}

.process__row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}

.process__row::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--mono);
    font-weight: 300;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .1em;
}

.process__row h3 {
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 6px
}

.process__row p {
    color: var(--ink-soft);
    font-size: 13.5px;
    max-width: 60ch
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px)
}

.field {
    margin-bottom: 16px
}

.field label {
    display: block;
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px
}

.field input,
.field textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    padding: 8px 0;
    transition: border-color .3s var(--ease);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink)
}

.field textarea {
    resize: vertical;
    min-height: 84px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 12px 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    transition: .3s var(--ease);
}

.btn:hover {
    background: var(--ink);
    color: var(--paper)
}

.contact__line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line)
}

.contact__line dt {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.contact__line dd {
    font-size: 13.5px;
    text-align: right
}

.note {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 14px
}


/* =========================================================
   FOOTER
   ========================================================= */

.foot {
    border-top: 1px solid var(--line);
    padding: 30px var(--pad) 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-end;
}

.foot__brand {
    display: flex;
    align-items: center;
    gap: 9px
}

.foot__brand .brand__mark {
    width: 16px;
    height: 16px
}

.foot__brand b {
    font-weight: 600;
    letter-spacing: .22em;
    font-size: 12px;
    text-transform: uppercase
}

.foot__nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.foot__nav a {
    font-size: 12px;
    color: var(--ink-soft)
}

.foot__nav a:hover {
    color: var(--ink)
}

.foot__meta {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 10.5px;
    letter-spacing: .08em;
    color: var(--muted)
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

.cols,
.contact {}

@media(max-width:860px) {
    .cols,
    .contact {
        grid-template-columns: 1fr;
        gap: 34px
    }
    .svc {
        grid-template-columns: 1fr
    }
    .team {
        grid-template-columns: repeat(2, 1fr)
    }
    .lb {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto
    }
    .lb__info {
        border-left: 0;
        border-top: 1px solid var(--line);
        max-height: 42vh
    }
    .lb__img {
        max-height: 54vh
    }
    .lb.is-video .lb__frame {
        width: min(100%, calc(58vh * 16 / 9));
    }
    .fg__stage {
        padding: 64px 16px 68px
    }
    .fg__img {
        max-height: calc(100vh - 176px)
    }
    .fg__nav {
        width: 38px;
        height: 38px;
        top: auto;
        bottom: 18px;
        transform: none;
    }
    .fg__nav--prev {
        left: 18px
    }
    .fg__nav--next {
        right: 18px
    }
    .fg__caption {
        bottom: 72px
    }
    .fg__thumbs {
        padding-bottom: 16px
    }
    .fg__thumb {
        width: 58px;
        height: 42px
    }
}


@media(max-width:760px) {
    :root {
        --bar-h: 76px;
    }
    .site-head {
        z-index: 120;
        height: var(--bar-h);
        align-items: center;
        gap: 10px;
        padding: 0 var(--pad);
    }
    .brand {
        position: relative;
        z-index: 90;
        margin-right: auto;
    }
    .brand img {
        max-width: 72px;
    }
    .menu-toggle {
        display: block;
        order: 2;
    }
    .theme-toggle {
        order: 3;
        position: relative;
        z-index: 90;
    }
    .nav {
        position: fixed;
        inset: 0;
        z-index: 85;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: calc(var(--bar-h) + 18px) var(--pad) 28px;
        background: var(--paper);
        background: color-mix(in srgb, var(--paper) 98%, transparent);
        backdrop-filter: saturate(140%) blur(14px);
        -webkit-backdrop-filter: saturate(140%) blur(14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
        overflow-y: auto;
    }
    .nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .nav__item,
    .nav__subitem {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        border-bottom: 1px solid var(--line);
    }
    .nav__item > a {
        font-size: clamp(18px, 5.2vw, 24px);
        line-height: 1.1;
        padding: 12px 0;
        color: var(--ink);
    }
    .nav__submenu-toggle {
        display: block;
        position: relative;
    }
    .nav a::after,
    .nav__submenu a::after,
    .nav__subitem--has-submenu > a::before,
    .nav__submenu::before {
        display: none;
    }
    .nav__submenu,
    .nav__submenu--nested {
        position: static;
        grid-column: 1 / -1;
        display: none;
        min-width: 0;
        padding: 0 0 12px 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }
    .nav__item:hover > .nav__submenu,
    .nav__item:focus-within > .nav__submenu,
    .nav__subitem:hover > .nav__submenu,
    .nav__subitem:focus-within > .nav__submenu {
        transform: none;
    }
    .nav__item.is-open > .nav__submenu,
    .nav__subitem.is-open > .nav__submenu {
        display: block;
    }
    .nav__submenu a {
        padding: 8px 0;
        font-size: 14px;
        color: var(--ink-soft);
        white-space: normal;
    }
    .nav__subitem {
        border-bottom: 0;
    }
    .nav__subitem > a {
        padding: 8px 0;
    }
    body.nav-open {
        overflow: hidden;
    }
    body.nav-open .site-head {
        background: var(--paper);
        border-bottom-color: var(--line);
    }
}
@media(max-width:620px) {
    .nav .nav-extra {
        display: none
    }
}

@media(max-width:460px) {
    .team {
        grid-template-columns: 1fr 1fr
    }
}


/* =========================================================
   MOTION PREFERENCE
   ========================================================= */

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none!important;
        transition: none!important
    }
    .tile[data-reveal] {
        opacity: 1!important;
        transform: none!important
    }
}

.forminator-error,
.forminator-error-message{
    color: red;
}
.forminator-success{
    color: darkgreen;
}
