/* ============================================
   FANCY AGENCY — Variant 2
   Split-screen hero, red banner, editorial grid
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background: #FCF8F4;
    color: #1A1A1A;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; border: none; outline: none; background: none; }


/* ═══════════════════════════════════════
   HERO — Split Screen
   ═══════════════════════════════════════ */
.hero {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 100vh;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    padding: 28px clamp(24px, 4vw, 56px);
}

.hero-left-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26,26,26,0.08);
}

.tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1A1A1A;
}

.header-logo {
    height: clamp(18px, 3.8vw, 42px); /* Reduced by 10px: scales from 18px on mobile up to 42px on desktop */
    width: auto;
    display: block;
}

.hero-left-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
}

.hero-left-main h1 {
    font-size: clamp(3.5rem, 7vw, 7.8rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #D10220;
    margin-bottom: 40px;
}

.h1-line {
    display: block;
}

.h1-outline {
    -webkit-text-stroke: 2px #D10220;
    color: transparent;
}

.h1-dot {
    font-size: 0.6em;
    vertical-align: top;
    color: #D10220;
    -webkit-text-stroke: 0;
}

.hero-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(26,26,26,0.08);
}

.hero-sub-block p {
    font-size: 0.7rem;
    font-weight: 600; /* Increased by one step from 500 */
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1A1A1A; /* Made black */
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(26,26,26,0.08);
}

.cta-bracket-link, .cta-bracket-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    color: #D10220;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Base styling for brackets and symbols inside the CTA links */
.cta-bracket-link .bracket,
.cta-bracket-btn .bracket {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
}

.cta-bracket-link .bracket:first-child,
.cta-bracket-btn .bracket:first-child {
    margin-right: 4px;
}

.cta-bracket-link .bracket:last-child,
.cta-bracket-btn .bracket:last-child {
    margin-left: 4px;
}

/* Arrow transition */
.cta-bracket-btn .arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-left: 2px;
}

/* Hover effects */
.cta-bracket-link:hover .bracket:first-child,
.cta-bracket-btn:hover .bracket:first-child {
    transform: translateX(-6px);
    color: #1A1A1A;
}

.cta-bracket-link:hover .bracket:last-child,
.cta-bracket-btn:hover .bracket:last-child {
    transform: translateX(6px);
    color: #1A1A1A;
}

.cta-bracket-btn:hover .arrow {
    transform: translate(3px, -3px);
}

.cta-bracket-link:hover,
.cta-bracket-btn:hover {
    color: #1A1A1A; /* Text changes to main black on hover */
}


/* Hero right — photo */
.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-photo, .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}





/* ═══════════════════════════════════════
   SECTION BAR (common)
   ═══════════════════════════════════════ */
.s-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(24px, 4vw, 56px);
    border-bottom: 1px solid rgba(26,26,26,0.08);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
}

.s-bar-light {
    border-bottom-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.4);
}


/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */

.about-hero-text {
    padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px);
}

.about-hero-text h2 {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1A1A1A;
}

.about-hero-text h2 em {
    color: #D10220;
    font-style: normal;
}


.about-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(26,26,26,0.08);
    border-bottom: 1px solid rgba(26,26,26,0.08); /* Bottom line added */
    margin-bottom: clamp(40px, 6vw, 80px); /* Responsive gap before the black block */
}

.about-col {
    padding: 40px clamp(24px, 3vw, 48px);
    border-right: 1px solid rgba(26,26,26,0.08);
}

.about-col:last-child {
    border-right: none;
}

.about-col-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #D10220; /* Changed from pink to red */
    display: block;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.about-col h3 {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-col p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1A1A1A; /* Made black */
}

.about-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: transparent; /* No black background */
    border-top: 1px solid rgba(26,26,26,0.08); /* Top horizontal border */
    border-bottom: 1px solid rgba(26,26,26,0.08); /* Bottom horizontal border */
    margin-top: 0;
    margin-bottom: clamp(40px, 6vw, 80px); /* Gap before services block */
}

.an-item {
    padding: clamp(28px, 3.5vw, 44px) clamp(12px, 1.5vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(26,26,26,0.08); /* Dark vertical border */
}

.an-item:last-child { border-right: none; }

.an-big {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #D10220; /* Numbers remain red */
    letter-spacing: -0.03em;
}

.an-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    color: #1A1A1A; /* Text made dark */
}


/* ═══════════════════════════════════════
   SERVICES — Option 1: Fashion Editorial
   ═══════════════════════════════════════ */
.s-services {
    background: #FFC5E7;
    color: #1A1A1A;
    padding-bottom: clamp(40px, 6vw, 80px);
    border-top: 1px solid rgba(26,26,26,0.12);
    border-bottom: 1px solid rgba(26,26,26,0.12);
}

.services-banner {
    padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px);
    border-bottom: 1px solid rgba(26,26,26,0.12);
}

.services-banner h2 {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1A1A1A;
    white-space: nowrap;
}

.services-banner h2 span {
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid rgba(26,26,26,0.12);
}

.sg-item {
    padding: clamp(28px, 3vw, 40px) clamp(18px, 2vw, 28px);
    border-right: 1px solid rgba(26,26,26,0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease, opacity 0.3s ease;
}

/* Row 1 (first 5 items) bottom border */
.sg-item:nth-child(-n+5) {
    border-bottom: 1px solid rgba(26,26,26,0.12);
}

/* Items 5 and 10 have no right border on desktop */
.sg-item:nth-child(5n) {
    border-right: none;
}

.sg-item:hover {
    background: rgba(255,255,255,0.5);
}

.sg-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.sg-num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #D10220; /* Strong Red accent */
}

.sg-item h3 {
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.15;
    color: #1A1A1A;
}

.sg-item p {
    font-size: 0.88rem; /* ~14px */
    line-height: 1.55;
    color: rgba(26,26,26,0.8);
    margin-bottom: 24px;
    flex-grow: 1;
}

.sg-price {
    padding-top: 14px;
    border-top: 1px solid rgba(26,26,26,0.12);
    font-size: 0.88rem; /* ~14px */
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D10220; /* Strong Red accent */
}


/* WORK — Horizontal cards */

.work-headline {
    padding-top: clamp(60px, 8vw, 100px); /* Clean spacing after services section */
    padding-bottom: clamp(24px, 4vw, 48px); /* Reduced gap before cases */
    padding-left: clamp(24px, 4vw, 56px);
    padding-right: clamp(24px, 4vw, 56px);
}

.work-headline h2 {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1A1A1A;
    white-space: nowrap;
}

.work-list {
    border-top: 1px solid rgba(26,26,26,0.08);
}

.wl-item {
    display: grid;
    grid-template-columns: clamp(200px, 30vw, 400px) 1fr;
    border-bottom: 1px solid rgba(26,26,26,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.wl-item:hover {
    background: #FFFFFF;
}

.wl-img {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.wl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wl-item:hover .wl-img img {
    transform: scale(1.05);
}

.wl-info {
    padding: 32px clamp(24px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.wl-tag {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #D10220;
    margin-bottom: 12px;
}

.wl-info h3 {
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wl-info p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #888;
    max-width: 400px;
}

.wl-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 1.5rem;
    font-weight: 300;
    color: #D10220;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.3s ease;
}

.wl-item:hover .wl-arrow {
    opacity: 1;
    transform: translate(0, 0);
}


/* CONTACT */
.s-contact {
    margin-top: clamp(60px, 8vw, 100px); /* Symmetrical gap before contact section */
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
}

.contact-left {
    padding: clamp(30px, 4vw, 50px) clamp(24px, 4vw, 56px);
    display: flex;
    align-items: center;
    background: #FFC5E7;
}

.contact-left h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #1A1A1A;
}

.contact-left h2 em {
    color: #D10220;
    font-style: italic;
}

.contact-right {
    padding: clamp(30px, 4vw, 50px) clamp(24px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.c-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.c-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.c-field label {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #999;
}

.c-field input,
.c-field textarea {
    padding: 14px 0;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(26,26,26,0.12);
    color: #1A1A1A;
    transition: border-color 0.3s ease;
    background: transparent;
}

.c-field input:focus,
.c-field textarea:focus {
    border-bottom-color: #D10220;
}

.c-field input::placeholder,
.c-field textarea::placeholder {
    color: #CCC;
}

.c-field textarea {
    resize: none;
}

.c-btn {
    align-self: flex-start;
    padding: 16px 44px;
    background: #1A1A1A;
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.c-btn:hover {
    background: #D10220;
}

.contact-links {
    display: flex;
    gap: 24px;
}

.contact-links a {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #D10220;
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: #1A1A1A;
    padding: 20px clamp(24px, 4vw, 56px);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.f-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-logo {
    height: clamp(18px, 2.5vw, 32px);
    filter: brightness(0) invert(1);
}

.f-text {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.25);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sg-item:nth-child(n) {
        border-right: 1px solid rgba(26,26,26,0.12) !important;
        border-bottom: 1px solid rgba(26,26,26,0.12) !important;
    }
    .sg-item:nth-child(2n) {
        border-right: none !important;
    }
    .sg-item:nth-child(9),
    .sg-item:nth-child(10) {
        border-bottom: none !important;
    }
}

@media (max-width: 1024px) {
    .hero { 
        grid-template-columns: 1fr; 
        height: auto; 
        overflow: visible;
    }
    .hero-right { height: 50vh; order: -1; }
    .hero-left-main h1 { font-size: clamp(3rem, 11vw, 5rem); }
    .contact-inner { grid-template-columns: 1fr; }
    .contact-left { min-height: auto; padding: 40px clamp(24px, 4vw, 56px); }
}

@media (max-width: 768px) {
    .hero-sub-row { grid-template-columns: 1fr; }
    .about-cols { grid-template-columns: 1fr; }
    .about-col { border-right: none; border-bottom: 1px solid rgba(26,26,26,0.08); }
    .about-numbers { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .sg-item:nth-child(n) {
        border-right: none !important;
        border-bottom: 1px solid rgba(26,26,26,0.12) !important;
    }
    .sg-item:last-child {
        border-bottom: none !important;
    }
    .sg-head { min-height: auto; }
    .wl-item { grid-template-columns: 1fr; }
    .wl-img { aspect-ratio: 16/9; }
    .work-headline h2 { font-size: clamp(2rem, 7.5vw, 3.5rem); white-space: normal; }
    .f-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .services-banner h2 { font-size: clamp(2rem, 9vw, 3.5rem); white-space: normal; }
    .work-headline h2 { font-size: clamp(1.8rem, 8.5vw, 2.8rem); white-space: normal; }
    .contact-left h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
    .about-hero-text h2 { font-size: clamp(2rem, 9vw, 3.5rem); }
}


/* ═══════════════════════════════════════ */
::selection { background: #D10220; color: #FFF; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #FCF8F4; }
::-webkit-scrollbar-thumb { background: #D10220; }

/* Custom Cursor styling */
@media (hover: hover) and (pointer: fine) {
    body, a, button, input, textarea, select, .wl-item {
        cursor: none !important;
    }
    
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 30px;
        height: 30px;
        pointer-events: none;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        font-weight: 900;
        color: #1A1A1A; /* Default dark */
        user-select: none;
        transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%);
        will-change: transform;
        transition: color 0.2s ease, transform 0.1s ease-out;
    }

    .custom-cursor.cursor-white {
        color: #FFFFFF; /* White on dark backgrounds */
    }

    .custom-cursor.cursor-hover {
        color: #D10220; /* Red on hover */
        transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%) scale(1.4) rotate(45deg);
    }

    .custom-cursor.cursor-active {
        color: #D10220;
        transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%) scale(0.7) rotate(-90deg) !important;
    }
}

/* Hide custom cursor on mobile/touch screens */
@media (hover: none) or (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}


/* ═══════════════════════════════════════
   BRUTALIST ANIMATIONS & REVEALS
   ═══════════════════════════════════════ */

/* Reveal Wrapper & Inner (slide-up mask) */
.reveal-wrapper {
    overflow: hidden;
    display: block;
    padding-right: 0.15em;
    margin-right: -0.15em;
    padding-bottom: 0.05em;
    margin-bottom: -0.05em;
}

.reveal-inner {
    display: block;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.reveal-stagger.in-view .reveal-inner,
.in-view .reveal-inner {
    transform: translateY(0);
}

/* Stagger delays for reveal-inners inside a reveal-stagger container */
.reveal-stagger.in-view .reveal-wrapper:nth-child(1) .reveal-inner { transition-delay: 0.05s; }
.reveal-stagger.in-view .reveal-wrapper:nth-child(2) .reveal-inner { transition-delay: 0.15s; }
.reveal-stagger.in-view .reveal-wrapper:nth-child(3) .reveal-inner { transition-delay: 0.25s; }
.reveal-stagger.in-view .reveal-wrapper:nth-child(4) .reveal-inner { transition-delay: 0.35s; }
.reveal-stagger.in-view .reveal-wrapper:nth-child(5) .reveal-inner { transition-delay: 0.45s; }

/* Stagger delays for direct reveal-fade-up items inside a reveal-stagger container */
.reveal-stagger.in-view > .reveal-fade-up:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > .reveal-fade-up:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > .reveal-fade-up:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > .reveal-fade-up:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > .reveal-fade-up:nth-child(5) { transition-delay: 0.45s; }

/* Reveal Fade Up (opacity + slide-up) */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}

.reveal-fade-up.in-view,
.in-view .reveal-fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Image Slide Reveal */
.reveal-image-container {
    position: relative;
    overflow: hidden;
}



/* ═══════════════════════════════════════
   HERO INSTANT PAGE LOAD ANIMATIONS (CSS-ONLY)
   ═══════════════════════════════════════ */

/* Overrides for Hero elements to execute animations automatically without waiting for JS load */
.hero .reveal-inner {
    transform: translateY(105%);
    animation: heroRevealUp 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero .reveal-wrapper:nth-child(1) .reveal-inner { animation-delay: 0.3s; }
.hero .reveal-wrapper:nth-child(2) .reveal-inner { animation-delay: 0.6s; }
.hero .reveal-wrapper:nth-child(3) .reveal-inner { animation-delay: 0.9s; }

@keyframes heroRevealUp {
    to { transform: translateY(0); }
}

.hero .reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .hero-sub-row { animation-delay: 0.75s; }
.hero .hero-cta-row { animation-delay: 0.9s; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════
   SITE HEADER — fixed, shared on all pages
   ═══════════════════════════════════════ */
:root { --header-h: 72px; }
html { scroll-padding-top: var(--header-h); }

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(24px, 4vw, 56px);
    background: rgba(252,248,244,0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,26,26,0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(26,26,26,0.06); }

.sh-logo { display: block; flex-shrink: 0; }
.sh-logo img { height: clamp(20px, 2.6vw, 30px); width: auto; display: block; }

.sh-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.6vw, 40px);
}

.sh-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    padding: 10px 0;
    transition: color 0.3s ease;
}
.sh-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 2px;
    background: #D10220;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.sh-link:hover { color: #D10220; }
.sh-link:hover::after, .sh-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.sh-link[aria-current="page"] { color: #D10220; }

.sh-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid #D10220;
    color: #D10220;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}
.sh-cta .arrow { display: inline-block; transition: transform 0.3s ease; }
.sh-cta:hover { background: #D10220; color: #FFF; }
.sh-cta:hover .arrow { transform: translate(2px, -2px); }

.sh-burger {
    display: none;
    width: 44px; height: 44px;
    margin-right: -10px;
    position: relative;
    cursor: pointer;
}
.sh-burger span {
    position: absolute;
    left: 10px; right: 10px;
    height: 2px;
    background: #1A1A1A;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), top 0.35s ease;
}
.sh-burger span:nth-child(1) { top: 17px; }
.sh-burger span:nth-child(2) { top: 25px; }
.site-header.is-open .sh-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .sh-burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

:focus-visible { outline: 2px solid #D10220; outline-offset: 3px; }

/* Hero sits under the fixed header */
.hero { margin-top: var(--header-h); height: calc(100vh - var(--header-h)); }

@media (max-width: 1024px) {
    .hero { height: auto; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    /* backdrop-filter would trap the fixed menu inside the header box */
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FCF8F4; }
    .sh-burger { display: block; }
    .sh-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        padding: 40px 24px 32px;
        background: #D10220;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0.35s;
        overflow-y: auto;
    }
    .site-header.is-open .sh-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s;
    }
    .sh-link {
        font-size: clamp(2.6rem, 13vw, 4rem);
        font-weight: 900;
        letter-spacing: -0.04em;
        line-height: 1;
        color: #FCF8F4;
        padding: 6px 0;
    }
    .sh-link::after { display: none; }
    .sh-link:hover, .sh-link[aria-current="page"] { color: #1A1A1A; }
    .sh-cta {
        margin-top: auto;
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
        font-size: 0.72rem;
        background: #1A1A1A;
        border-color: #1A1A1A;
        color: #FFF;
    }
    .sh-cta:hover { background: #FCF8F4; color: #1A1A1A; }
    body.menu-open { overflow: hidden; }
}


/* ═══════════════════════════════════════
   WORK — "view all" button on homepage
   ═══════════════════════════════════════ */
.work-more {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) 0;
}
.work-more .cta-bracket-btn {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    padding: 8px 0;
}


/* ═══════════════════════════════════════
   CASES PAGE
   ═══════════════════════════════════════ */
.cases-hero {
    margin-top: var(--header-h);
    padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 56px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    border-bottom: 1px solid rgba(26,26,26,0.08);
}
.cases-hero h1 {
    font-size: clamp(3rem, 8vw, 8.5rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #D10220;
}
.cases-hero h1 .h1-outline { -webkit-text-stroke: 2px #D10220; color: transparent; }
.cases-hero-side {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}
.cases-count {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1A1A1A;
    line-height: 1;
}
.cases-hero-side p {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1A1A1A;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.case-card {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(26,26,26,0.08);
    transition: background 0.4s ease;
    position: relative;
}
.case-card:nth-child(odd) { border-right: 1px solid rgba(26,26,26,0.08); }
a.case-card:hover { background: #FFFFFF; }
.cc-img { aspect-ratio: 16/10; overflow: hidden; background: #f0ece8; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
a.case-card:hover .cc-img img { transform: scale(1.05); }
.cc-info {
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px) clamp(28px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.cc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cc-num { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; color: #D10220; }
.cc-tag { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.18em; color: #D10220; text-transform: uppercase; }
.cc-info h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
    color: #1A1A1A;
}
.cc-info p { font-size: 0.85rem; line-height: 1.6; color: #888; max-width: 460px; }
.cc-arrow {
    position: absolute;
    right: clamp(24px, 3vw, 40px);
    bottom: clamp(28px, 3.5vw, 44px);
    font-size: 1.6rem;
    font-weight: 300;
    color: #D10220;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.3s ease;
}
a.case-card:hover .cc-arrow { opacity: 1; transform: translate(0, 0); }
.cc-soon {
    align-self: flex-start;
    margin-top: 6px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(26,26,26,0.45);
    border: 1px solid rgba(26,26,26,0.15);
    padding: 5px 10px;
}

.cases-cta {
    background: #D10220;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 56px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: clamp(60px, 8vw, 100px);
}
.cases-cta h2 {
    font-size: clamp(2rem, 5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #1A1A1A;
}
.cases-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 44px;
    background: #1A1A1A;
    color: #FCF8F4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}
.cases-cta-btn:hover { background: #FCF8F4; color: #1A1A1A; }

@media (max-width: 768px) {
    .cases-hero { flex-direction: column; align-items: flex-start; }
    .cases-hero-side { text-align: left; max-width: none; }
    .cases-grid { grid-template-columns: minmax(0, 1fr); }
    .case-card:nth-child(odd) { border-right: none; }
    .cc-arrow { opacity: 1; transform: none; }
    .cases-cta { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════
   READABILITY — контраст і мінімальний розмір тексту
   ═══════════════════════════════════════ */
/* послуги на рожевому: трохи глибший червоний, щоб читалось */
.sg-num, .sg-price { color: #A3001A; }
.sg-num { font-size: 0.72rem; }

/* дрібні підписи — не менше ~11px */
.an-label { font-size: 0.7rem; }
.wl-tag, .cc-tag { font-size: 0.68rem; letter-spacing: 0.14em; }
.cc-num { font-size: 0.72rem; }

/* описи кейсів: темніший сірий і трохи більший */
.wl-info p, .cc-info p { color: #5C5C5C; font-size: 0.9rem; }
.cc-soon { color: rgba(26,26,26,0.7); font-size: 0.66rem; }

/* форма */
.c-field label { color: #5C5C5C; font-size: 0.68rem; }
.c-field input::placeholder, .c-field textarea::placeholder { color: #8A8A8A; }

/* футер */
.f-text { color: rgba(255,255,255,0.6); font-size: 0.68rem; }


/* ═══════════════════════════════════════
   HEADER — кнопка «← Всі кейси» на сторінках кейсів
   ═══════════════════════════════════════ */
.sh-left { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); min-width: 0; }
.sh-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px clamp(16px, 2.4vw, 32px);
    border-left: 1px solid rgba(26,26,26,0.15);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.sh-back-arrow { display: inline-block; color: #D10220; font-size: 1rem; line-height: 1; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sh-back:hover { color: #D10220; }
.sh-back:hover .sh-back-arrow { transform: translateX(-4px); }
.sh-back-short { display: none; }
@media (max-width: 768px) {
    .sh-back { font-size: 0.68rem; padding-left: 14px; gap: 6px; min-height: 44px; }
    .sh-back-full { display: none; }
    .sh-back-short { display: inline; }
}


/* ═══════════════════════════════════════
   HERO — диско-шар замість фото
   ═══════════════════════════════════════ */
.hero-right { background: #B5011C; }
.hero-disco { display: block; width: 100%; height: 100%; }
/* фон першого екрану під шаром — кремовий, як решта сайту */
.hero-right { background: #FCF8F4; border-left: 1px solid rgba(26,26,26,0.06); }
.hero-disco.no-webgl { background: radial-gradient(circle at 42% 38%, #ffffff 0 8%, #cfcfd4 30%, #6e6e75 62%, #2a2a2e 70%, transparent 71%) center / min(72%, 72vh) no-repeat; }


/* ═══════════════════════════════════════
   MOBILE POLISH — вузькі телефони, читабельність, зручні кнопки
   ═══════════════════════════════════════ */
/* мінімальний розмір дрібних підписів ~11.5px */
.wl-tag, .cc-tag, .c-field label, .f-text, .case-hero-tag, .case-meta-label { font-size: max(0.72rem, 11.5px); }

@media (max-width: 768px) {
    /* зручні для пальця посилання й кнопки (мін. 44px) */
    .sh-logo { display: flex; align-items: center; min-height: 44px; }
    .cta-bracket-link, .cta-bracket-btn, .contact-links a, .f-inner a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 400px) {
    .hero h1, .hero-left-main h1 { font-size: 11.6vw !important; }
    .cases-hero h1 { font-size: 12.5vw; }
    .ct-about-title { font-size: 15vw; }
    .case-gallery-header h2 { font-size: 10.5vw; }
    .case-stat-num { font-size: 8.4vw; }
    .contact-left h2 { font-size: 11vw; }
}


/* форма: службові елементи */
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cf-status { margin-top: 14px; font-size: 0.9rem; line-height: 1.5; min-height: 1.5em; }
.cf-status[data-state="ok"] { color: #1A1A1A; font-weight: 600; }
.cf-status[data-state="error"] { color: #D10220; font-weight: 600; }
.c-btn:disabled { opacity: 0.7; cursor: progress; }
