/* ==========================================================================
   Vladoslava — Portfolio
   Swiss-inspired portfolio system with modular grid and bold typography.
   ========================================================================== */

:root {
    --bg: #ffffff;
    --ink: #0a0a0a;
    --ink-soft: #1a1a1a;
    --ink-mute: #6b6b6b;
    --ink-faint: #a8a8a8;
    --line: #e5e5e5;
    --line-soft: #f0f0f0;
    --accent: #ff2d2d;
    --accent-soft: #ff4a4a;
    --cursor-red: rgba(232, 28, 28, 0.95);
    --cursor-red-soft: rgba(214, 31, 31, 0.16);
    --grid-line: rgba(10, 10, 10, 0.07);
    --grid-line-dark: rgba(255, 255, 255, 0.07);
    --container: 1400px;
    --page-pad: 40px;
    --gutter: 24px;
    --grid-row: 96px;

    --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --display: var(--sans);
    --serif: var(--sans);

    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    font-size: 17px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
    transform: translateX(-50%);
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size:
        calc((100% + var(--gutter)) / 12) 100%,
        100% var(--grid-row);
    border-right: 1px solid var(--grid-line);
    z-index: 0;
}

@media (max-width: 900px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none !important; }
}

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

img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: white; }

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--cursor-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.32s var(--ease-out), height 0.32s var(--ease-out), background 0.32s var(--ease-out), opacity 0.32s var(--ease-out);
    opacity: 1;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(10, 10, 10, 0.72);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
    opacity: 0.86;
}

.cursor.is-hover {
    width: 16px;
    height: 16px;
    background: rgba(238, 34, 34, 0.96);
    box-shadow: 0 0 0 6px rgba(238, 34, 34, 0.08);
    opacity: 1;
}

.cursor-follower.is-hover {
    width: 42px;
    height: 42px;
    background: rgba(214, 31, 31, 0.1);
    border-color: rgba(214, 31, 31, 0.42);
    opacity: 0.78;
    animation: cursorHoverPulse 1.8s ease-in-out infinite;
}

@keyframes cursorHoverPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.82;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 0.58;
    }
}

/* ==========================================================================
   Page Transition
   ========================================================================== */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.9s var(--ease-in-out);
    pointer-events: none;
}

.page-transition.is-loaded {
    transform: translateY(-100%);
    transition-delay: 0.1s;
}

.transition-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 100px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.page-transition:not(.is-loaded) .transition-line {
    opacity: 1;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scaleY(1); }
    50% { transform: translate(-50%, -50%) scaleY(2); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease), padding 0.4s var(--ease);
}

.header.is-scrolled {
    border-bottom-color: var(--line);
    padding: 14px 40px;
}

.site-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink);
    white-space: nowrap;
    transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

.site-name:hover {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line-soft);
    overflow: hidden;
}

.progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
}

@media (max-width: 700px) {
    .header { padding: 16px 20px; }
    .header.is-scrolled { padding: 10px 20px; }
    .nav { gap: 18px; }
    .nav-link { font-size: 11px; letter-spacing: 0.08em; }
    .site-name { font-size: 11px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 124px var(--page-pad) 96px;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    left: var(--page-pad);
    right: var(--page-pad);
    bottom: 48px;
    height: 1px;
    background: var(--ink);
    opacity: 0.18;
}

.hero-grid {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 52px;
    align-items: start;
    position: relative;
}

.hero-grid::before {
    content: '';
    position: absolute;
    inset: -36px 0 -48px;
    pointer-events: none;
    background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
    background-size: calc((100% + var(--gutter)) / 12) 100%;
    border-right: 1px solid var(--grid-line);
    opacity: 0.95;
}

.hero-grid > * {
    position: relative;
    z-index: 1;
}

.hero-system {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink);
}

.hero-system span:nth-child(1) { grid-column: 1 / span 4; }
.hero-system span:nth-child(2) { grid-column: 6 / span 3; }
.hero-system span:nth-child(3) {
    grid-column: 12 / span 1;
    text-align: right;
    color: var(--accent);
}

.hero-masthead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 20px;
    align-items: start;
    padding: 8px 0 4px;
}

.hero-title {
    grid-column: 1 / span 7;
    font-family: var(--display);
    font-size: 86px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-title span {
    display: block;
}

.hero-title span:nth-child(2) {
    color: var(--ink);
    padding-left: calc((100% + var(--gutter)) / 7);
}

.hero-kicker {
    grid-column: 9 / span 3;
    max-width: 300px;
    padding-top: 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
}

/* No border-top on .hero-kicker — fully borderless. */

.hero-left, .hero-right {
    padding-top: 4px;
}

.hero-left {
    grid-column: 1 / span 3;
}

.hero-portrait {
    grid-column: 5 / span 4;
}

.hero-right {
    grid-column: 10 / span 3;
}

.hero-meta {
    margin-bottom: 28px;
    padding: 14px 0 18px;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 6px;
}

.hero-bio {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 16px;
    max-width: 320px;
}

.hero-bio em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
}

.hero-socials {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 18px;
}

.social-link {
    color: var(--ink-mute);
    transition: color 0.3s var(--ease), transform 0.4s var(--ease);
    display: inline-flex;
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Hero Portrait */
.hero-portrait {
    position: relative;
    margin: 0;
}

.portrait-image {
    position: relative;
    aspect-ratio: 3 / 4;
    width: 100%;
    overflow: hidden;
    background: var(--line-soft);
    /* border removed — container is now borderless, photo is static */
}

.portrait-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* no transitions: image is static, no hover reactions */
}

/* portrait-frame removed: no hover border, no edge treatment */
/* All hover-reactions on .portrait-image / .hero-portrait disabled. */

.portrait-caption {
    margin-top: 16px;
    font-size: 12px;
    font-style: normal;
    color: var(--ink-mute);
    text-align: center;
    font-family: var(--sans);
}

/* Hero Right */
.hero-contact, .hero-interests {
    margin-bottom: 36px;
    padding: 14px 0 28px;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.hero-interests { border-bottom: none; }

.contact-label, .interests-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.contact-label::before, .interests-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--accent);
    transform: translateY(-50%);
}

.contact-text, .interests-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.contact-email {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--display);
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    position: relative;
    transition: color 0.3s var(--ease);
}

.contact-email::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.contact-email:hover {
    color: var(--ink);
}

.contact-email:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--ink-mute);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ink-mute), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollDown 2.4s var(--ease) infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

@media (max-width: 1000px) {
    .hero { padding: 108px 24px 80px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-grid::before {
        background-size: 25% 100%;
    }
    .hero-system {
        grid-template-columns: 1fr 1fr;
        row-gap: 12px;
    }
    .hero-system span:nth-child(1),
    .hero-system span:nth-child(2),
    .hero-system span:nth-child(3) {
        grid-column: auto;
        text-align: left;
    }
    .hero-masthead {
        display: block;
    }
    .hero-title {
        font-size: 64px;
    }
    .hero-title span:nth-child(2) {
        padding-left: 0;
    }
    .hero-kicker {
        max-width: 520px;
        margin-top: 24px;
    }
    .hero-left,
    .hero-portrait,
    .hero-right {
        grid-column: auto;
    }
    .hero-left,
    .hero-right {
        max-width: 620px;
    }
    .hero-portrait { max-width: 480px; margin: 0; }
    .scroll-indicator { display: none; }
}

@media (max-width: 620px) {
    :root { --page-pad: 20px; }
    .hero { padding: 96px var(--page-pad) 64px; }
    .hero-title { font-size: 46px; }
    .hero-kicker {
        font-size: 13px;
    }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
    position: relative;
    padding-left: 32px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--accent);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--display);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
}

.section-title em {
    font-style: normal;
    color: var(--accent);
    font-weight: 900;
}

.work,
.studio,
.contact-section,
.footer {
    position: relative;
    overflow: hidden;
}

.work::before,
.studio::before,
.contact-section::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
    transform: translateX(-50%);
    pointer-events: none;
    background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
    background-size: calc((100% + var(--gutter)) / 12) 100%;
    border-right: 1px solid var(--grid-line);
    z-index: 0;
}

.footer::before {
    background-image: linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px);
    border-right-color: var(--grid-line-dark);
}

.work > *,
.studio > *,
.contact-section > *,
.footer > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Work Section
   ========================================================================== */
.work {
    padding: 100px var(--page-pad) 120px;
    max-width: var(--container);
    margin: 0 auto;
}

.work-intro {
    text-align: left;
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    border-top: 2px solid var(--ink);
    padding-top: 18px;
}

.work-intro .section-eyebrow {
    padding-left: 0;
    padding-right: 32px;
    grid-column: 1 / span 3;
    margin-bottom: 0;
}

.work-intro .section-eyebrow::before {
    display: none;
}

.work-intro .section-title {
    grid-column: 5 / span 8;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 40px 32px;
}

.work-card {
    position: relative;
    grid-column: span 6;
}

.work-thumb {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    margin-bottom: 18px;
    border-radius: 2px;
}

.work-thumb-sprite {
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.7s var(--ease-out);
    will-change: transform;
}

.work-card:hover .work-thumb-sprite {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    pointer-events: none;
}

.work-view {
    display: none;
}

.work-card:hover .work-view {
    opacity: 1;
    transform: translateY(0);
}

.work-meta {
    padding: 0 4px;
}

.work-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 8px;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.work-card:hover .work-title {
    color: var(--accent);
}

.work-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-mute);
    margin-bottom: 12px;
}

.work-info {
    display: flex;
    gap: 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
}

@media (max-width: 1000px) {
    .section-title { font-size: 48px; }
    .work { padding: 80px 24px 100px; }
    .work-intro {
        display: block;
    }
    .work-intro .section-eyebrow {
        margin-bottom: 20px;
    }
    .work-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .work-card { grid-column: auto; }
}

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

/* ==========================================================================
   Studio Section
   ========================================================================== */
.studio {
    padding: 120px var(--page-pad);
    background: #fafafa;
}

.studio-header {
    max-width: var(--container);
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    border-top: 2px solid var(--ink);
    padding-top: 18px;
}

.studio-header .section-eyebrow {
    grid-column: 1 / span 3;
    padding-left: 0;
    margin-bottom: 0;
}

.studio-header .section-eyebrow::before {
    display: none;
}

.studio-header .section-title {
    grid-column: 5 / span 8;
}

.studio-gallery {
    max-width: var(--container);
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.studio-image--tall { grid-column: 1 / span 4; }
.studio-image--wide { grid-column: 5 / span 8; }

.studio-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 2px;
}

.studio-image--tall { aspect-ratio: 3 / 4; }
.studio-image--wide { aspect-ratio: 4 / 3; }

.studio-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.02);
}

.studio-image--tall img {
    object-position: 44% center;
}

.studio-image--wide img {
    object-position: center center;
}

.studio-content {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 48px;
}

.studio-col:first-child { grid-column: 1 / span 5; }
.studio-col:last-child { grid-column: 7 / span 5; }

.studio-col-title {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 24px;
    padding-bottom: 16px;
    /* B+A: removed border-bottom — the uppercase + font weight is the anchor. */
}

.studio-col p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.btn-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
    color: var(--accent);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

.btn-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.btn-link:hover {
    color: var(--ink);
    transform: translateX(6px);
}

.btn-link:hover::before {
    transform: scaleX(0);
    transform-origin: left;
}

.client-value-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.client-value-list li {
    display: grid;
    gap: 6px;
    padding: 14px 0 16px;
    border-top: 1px solid var(--line);
}

.client-value-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.client-value-list strong {
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
}

.client-value-list span {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

@media (max-width: 1000px) {
    .studio { padding: 80px 24px; }
    .studio-header { display: block; }
    .studio-header .section-eyebrow { margin-bottom: 20px; }
    .studio-gallery { grid-template-columns: 1fr; }
    .studio-image--tall,
    .studio-image--wide { grid-column: auto; }
    .studio-content { grid-template-columns: 1fr; gap: 40px; }
    .studio-col:first-child,
    .studio-col:last-child { grid-column: auto; }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 140px var(--page-pad) 120px;
    max-width: var(--container);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 48px;
    align-items: start;
}

.contact-left {
    grid-column: 1 / span 4;
}

.contact-right {
    grid-column: 6 / span 7;
}

.contact-title {
    font-family: var(--display);
    font-size: clamp(46px, 5.4vw, 72px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.contact-title em {
    font-style: normal;
    color: var(--accent);
    overflow-wrap: break-word;
}

.contact-big-email {
    display: block;
    font-family: var(--display);
    font-style: normal;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 48px;
    position: relative;
    width: fit-content;
    transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.contact-big-email::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform-origin: right;
    transition: transform 0.6s var(--ease);
}

.contact-big-email:hover {
    color: var(--accent);
    transform: translateX(8px);
}

.contact-big-email:hover::before {
    transform: scaleX(0.6);
    transform-origin: left;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-mute);
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: var(--ink);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.contact-social-icon,
.footer-social-icon {
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
}

.contact-social {
    font-size: 14px;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--ease);
}

.contact-social::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.contact-social:hover {
    color: var(--accent);
}

.contact-social:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ----- Quick contact form ----- */
.contact-form {
    max-width: var(--container);
    margin: 64px auto 0;
    padding: 40px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.contact-field-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
}

.contact-field input,
.contact-field textarea {
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    border: none;
    /* B+A: no permanent border-bottom — underline appears only on focus (engaged state). */
    padding: 12px 0;
    outline: none;
    transition: box-shadow 0.3s var(--ease);
    resize: none;
    width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--ink-faint);
}

.contact-field input:focus,
.contact-field textarea:focus {
    box-shadow: inset 0 -1px 0 0 var(--accent);
}

.contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-channel-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
}

.contact-channel-opt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    /* B+A: pill border removed — active state shown via ink fill instead. */
    border: 1px solid transparent;
    background: transparent;
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
    user-select: none;
}

.contact-channel-opt input { display: none; }

.contact-channel-opt:hover {
    color: var(--ink);
    background: var(--line-soft);
}

.contact-channel-opt.is-active {
    background: var(--ink);
    color: white;
}

.contact-channel-opt.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.contact-channel-opt.is-disabled:hover {
    background: transparent;
    color: var(--ink-soft);
}

.contact-submit {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: white;
    background: var(--ink);
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-submit:hover { background: var(--accent); }
.contact-submit:active { transform: scale(0.98); }

.contact-form-msg {
    display: block;
    min-height: 1.4em;
    font-size: 13px;
    color: var(--ink-mute);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.contact-form-msg.is-visible { opacity: 1; }

@media (max-width: 900px) {
    .contact-section { padding: 100px 24px 80px; }
    .contact-title { font-size: 48px; }
    .contact-big-email { font-size: 30px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-left,
    .contact-right { grid-column: auto; }
    .contact-details { grid-template-columns: 1fr 1fr; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-form-actions { flex-direction: column; align-items: flex-start; }
    .contact-submit { width: 100%; text-align: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--ink);
    color: #999;
    padding: 80px var(--page-pad) 32px;
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1a1a1a;
}

.footer-col:nth-child(1) { grid-column: 1 / span 5; }
.footer-col:nth-child(2) { grid-column: 7 / span 2; }
.footer-col:nth-child(3) { grid-column: 10 / span 3; }

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-name {
    font-family: var(--display);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
}

.footer-blurb {
    font-size: 13px;
    line-height: 1.6;
    color: #999;
    max-width: 280px;
}

.footer-link {
    font-family: var(--display);
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    color: white;
    width: fit-content;
    position: relative;
    transition: color 0.3s var(--ease);
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-link:hover::after {
    transform: scaleX(1);
}

.footer-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: white;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list a {
    font-size: 13px;
    color: #999;
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
    display: inline-block;
}

.footer-list a:hover {
    color: white;
    padding-left: 6px;
}

.footer-list .footer-social-icon {
    color: #999;
    padding-left: 0;
}

.footer-list .footer-social-icon:hover {
    color: var(--accent);
    padding-left: 0;
}

.footer-bottom {
    max-width: var(--container);
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@media (max-width: 900px) {
    .footer { padding: 60px 24px 24px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Magnetic hover utility (for [data-hover])
   ========================================================================== */
[data-hover] { transition: transform 0.4s var(--ease); }

/* ==========================================================================
   Project cards — hover scroll-sprite animation
   ========================================================================== */
.work-card {
    position: relative;
    cursor: pointer;
}

.work-card .work-link {
    display: block;
}

.work-card .work-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;  /* 1280x800 -> 16:10 */
    background: var(--line-soft);
    border-radius: 2px;
}

.work-card .work-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    will-change: transform, opacity;
}

/* ==========================================================================
   Project cards — hover scroll-sprite animation
   ========================================================================== */

/* The "5/6" trick: translate from 0% to ~-83.33% (which is 5/6 of own height)
   so the last frame exactly fills the visible viewport. */

.work-card .work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    pointer-events: none;
    z-index: 2;
}

.work-card .work-view {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: white;
    background: var(--ink);
    padding: 8px 14px;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    backdrop-filter: blur(8px);
    background: rgba(10, 10, 10, 0.7);
}

.work-card:hover .work-view {
    opacity: 1;
    transform: translateY(0);
}

/* Meta block — appears below thumb, always visible */
.work-card .work-meta {
    padding-top: 20px;
    display: grid;
    gap: 8px;
}

.work-card .work-title {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.work-card:hover .work-title {
    color: var(--accent);
}

.work-card .work-tagline {
    font-size: 15px;
    color: var(--ink-mute);
    line-height: 1.4;
    margin: 0;
}

.work-card .work-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.work-card .work-mini span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
}

.work-card .work-desc {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.work-card .work-info {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
}

/* Reduced motion: skip sprite scroll, just show overlay */
@media (prefers-reduced-motion: reduce) {
    .work-card:hover .work-thumb-img--sprite {
        animation: none;
        opacity: 0;
    }
    .work-card:hover .work-thumb-img--static {
        transform: none;
    }
}

/* Mobile: touch devices can't hover — just show overlay on tap */
@media (hover: none) {
    .work-card .work-view {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lang-btn {
    background: none;
    border: 0;
    padding: 4px 2px;
    font: inherit;
    color: var(--ink-faint);
    cursor: none;
    transition: color 0.25s var(--ease);
    border-radius: 0;
}

.lang-btn:hover {
    color: var(--ink);
}

.lang-btn.is-active {
    color: var(--accent);
    font-weight: 600;
}

.lang-sep {
    color: var(--ink-faint);
    opacity: 0.4;
    user-select: none;
}

@media (max-width: 900px) {
    .lang-switch {
        padding-left: 0;
        border-left: 0;
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .header {
        padding: 14px 20px;
    }

    .header.is-scrolled {
        padding: 10px 20px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 10px;
        white-space: nowrap;
    }

    .lang-switch {
        gap: 2px;
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .hero-title {
        font-size: 42px;
        line-height: 0.94;
        overflow-wrap: anywhere;
    }

    .hero-kicker {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 12px;
        letter-spacing: 0.02em;
    }

    .section-title,
    .contact-title {
        font-size: 36px;
        overflow-wrap: anywhere;
    }

    .section-title em,
    .contact-title em {
        overflow-wrap: anywhere;
    }

    .contact-section {
        padding-left: var(--page-pad);
        padding-right: var(--page-pad);
    }
}

/* ==========================================================================
   Continuous modular grid + framed text modules
   ========================================================================== */
.hero::before,
.work::before,
.studio::before,
.contact-section::before {
    display: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
    transform: translateX(-50%);
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
    background-size:
        calc((100% + var(--gutter)) / 12) 100%,
        100% var(--grid-row);
    border-right: 1px solid var(--grid-line-dark);
    z-index: 0;
}

.hero-grid::before {
    display: none;
}

.hero > *,
.work > *,
.studio > *,
.contact-section > *,
.footer > * {
    position: relative;
    z-index: 1;
}

.work,
.contact-section {
    width: 100%;
    max-width: none;
}

.work-intro,
.work-grid,
.contact-grid,
.contact-form {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.studio {
    background: transparent;
}

.studio-image {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(10, 10, 10, 0.72);
    border-radius: 5px;
}

.hero-left,
.hero-contact,
.hero-interests,
.work-card .work-meta,
.studio-col,
.contact-left,
.contact-right,
.contact-form,
.footer-col {
    border: 2px solid rgba(10, 10, 10, 0.72);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 22px;
}

.hero-left {
    padding-top: 18px;
}

.hero-meta {
    margin-bottom: 20px;
    padding: 0 0 18px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
}

.hero-bio {
    max-width: none;
}

.hero-contact,
.hero-interests {
    margin-bottom: 18px;
}

.hero-interests {
    border-bottom: 2px solid rgba(10, 10, 10, 0.72);
}

.work-card .work-meta {
    margin-top: 18px;
}

.studio-col-title {
    margin-bottom: 18px;
}

.contact-details {
    padding: 24px 0;
}

.footer-col {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 1000px) {
    .work,
    .contact-section {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .hero-left,
    .hero-contact,
    .hero-interests,
    .work-card .work-meta,
    .studio-col,
    .contact-left,
    .contact-right,
    .contact-form,
    .footer-col {
        padding: 18px;
    }
}

/* ==========================================================================
   Project cards — hover scroll-sprite animation
   ========================================================================== */
.work-card {
    position: relative;
    cursor: pointer;
}

.work-card .work-link {
    display: block;
}

.work-card .work-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--line-soft);
    border-radius: 2px;
}

.work-card .work-thumb-sprite {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: 0 0;
    /* background-size: 100% (N*100)% — where N is frame count.
       This keeps the sprite's native aspect ratio: every frame is 1280:800 = 16:10.
       JS overrides this inline for cards with data-frame-h that has non-800 frames. */
    background-size: 100% 600%;  /* default: 6 frames (lvl-trace, briefforge) */
    will-change: background-position;
}

.work-card .work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    pointer-events: none;
    z-index: 2;
}

.work-card .work-view {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: white;
    padding: 8px 14px;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    backdrop-filter: blur(8px);
    background: rgba(10, 10, 10, 0.7);
}

.work-card:hover .work-view {
    opacity: 1;
    transform: translateY(0);
}

.work-card .work-meta {
    padding-top: 20px;
    display: grid;
    gap: 8px;
}

.work-card .work-title {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.work-card:hover .work-title {
    color: var(--accent);
}

.work-card .work-tagline {
    font-size: 15px;
    color: var(--ink-mute);
    line-height: 1.4;
    margin: 0;
}

.work-card .work-desc {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.work-card .work-info {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
    .work-card:hover .work-thumb-img--sprite {
        animation: none;
        opacity: 0;
    }
    .work-card:hover .work-thumb-img--static {
        transform: none;
    }
}

@media (hover: none) {
    .work-card .work-view {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lang-btn {
    background: none;
    border: 0;
    padding: 4px 2px;
    font: inherit;
    color: var(--ink-faint);
    cursor: none;
    transition: color 0.25s var(--ease);
    border-radius: 0;
}

.lang-btn:hover {
    color: var(--ink);
}

.lang-btn.is-active {
    color: var(--accent);
    font-weight: 600;
}

.lang-sep {
    color: var(--ink-faint);
    opacity: 0.4;
    user-select: none;
}

@media (max-width: 900px) {
    .lang-switch {
        padding-left: 0;
        border-left: 0;
        margin-left: 0;
    }
}
