/*
Theme Name: Gotry
Theme URI: https://antongotry.dev
Author: Anton Gotry
Author URI: https://t.me/notarikon
Description: Landing Page для веб-розробника - стекляний дизайн, lens-effect, Bento Grid
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: gotry
Tags: landing, web-development, glassmorphism, modern
*/

/* ============================================
   CSS VARIABLES (Custom Properties)
   ============================================ */
:root {
    /* Colors - Dark red/burgundy palette like reference */
    --color-primary: #ffffff;        /* White */
    --color-red-dark: #2d0a0a;       /* Dark red/burgundy */
    --color-red-medium: #4a1414;     /* Medium red */
    --color-orange-light: #ff6b3d;   /* Orange-red light source */
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.9);
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-dark: #210621;
    --color-bg-dark: #210621;        /* Dark background color */
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-hover: rgba(255, 255, 255, 0.3);
    --glass-blur: 20px;
    --glass-blur-strong: 40px;
    
    /* Gradients - Red/orange lighting like reference */
    --gradient-primary: radial-gradient(ellipse at right center, rgba(255, 107, 61, 0.4) 0%, rgba(255, 69, 0, 0.2) 30%, rgba(74, 20, 20, 0.6) 60%, rgba(26, 5, 5, 1) 100%);
    --gradient-red: linear-gradient(135deg, #4a1414 0%, #3a0f0f 50%, #2d0a0a 100%);
    
    /* Typography - Manrope font (отличная кириллица для креативной студии) */
    --font-family-base: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    
    --font-size-base: 16px;
    --font-size-h1: clamp(36px, 5vw, 64px);
    --font-size-h2: clamp(28px, 4vw, 48px);
    --font-size-body: clamp(14px, 2vw, 18px);
    
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing (8px grid) */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;
    
    /* Containers */
    --container-max-width: 1280px;
    --container-padding-mobile: 20px;
    --container-padding-tablet: 40px;
    --container-padding-desktop: clamp(20px, 5vw, 80px);
    
    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1100px;
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 300ms ease-out;
    --transition-slow: 500ms ease-out;
    
    /* Shadows - М'які, приглушені */
    --shadow-glow: 0 0 40px rgba(107, 114, 128, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CUSTOM SCROLLBAR - Тонкий та стильний
   ============================================ */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: none; /* No transitions - static */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* scroll-behavior закоментовано, бо використовуємо Lenis smooth scroll */
    /* scroll-behavior: smooth; */
    width: 100%;
    max-width: 100vw;
    overflow-x: visible; /* Allow sticky to work */
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: #210621;
    color: var(--color-text);
    overflow-x: visible; /* Allow sticky to work */
    font-weight: 400;
    width: 100%;
    max-width: 100vw; /* Prevent overflow */
    box-sizing: border-box;
}

body.home {
    background: #f5f3f7;
}

/* Скрываем стандартные header и footer */
body.home .site-footer {
    display: none !important;
}

/* Video Background - Hidden for Konpo style */
.video-background {
    display: none;
}

/* ============================================
   12-COLUMN GRID SYSTEM
   ============================================ */
.wide-container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(40px, 5vw, 120px);
    padding-right: clamp(40px, 5vw, 120px);
    box-sizing: border-box;
    position: relative;
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 2.5vw, 40px);
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Column classes */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Column start classes */
.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-5 { grid-column-start: 5; }
.col-start-6 { grid-column-start: 6; }
.col-start-7 { grid-column-start: 7; }
.col-start-8 { grid-column-start: 8; }
.col-start-9 { grid-column-start: 9; }
.col-start-10 { grid-column-start: 10; }
.col-start-11 { grid-column-start: 11; }
.col-start-12 { grid-column-start: 12; }

.section-fullwidth {
    width: 100vw;
    position: relative;
    overflow-x: hidden;
}

/* ============================================
   TOP NAVIGATION (12-col grid)
   ============================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: none; /* No transitions - static */
    padding: 32px 0;
    box-sizing: border-box;
    margin: 0;
    will-change: auto; /* No will-change */
    transform: none; /* No transforms */
    backface-visibility: visible !important; /* No backface-visibility */
    -webkit-backface-visibility: visible !important;
}

/* Remove old scrolled styles - header is always static */

.top-nav .wide-container {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: clamp(40px, 5vw, 120px);
    padding-right: clamp(40px, 5vw, 120px);
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-sizing: border-box;
    height: 100%;
}

/* Override for home page header - full width, no max-width, proper padding */
body.home .top-nav .header-content-wrapper .wide-container {
    width: 100% !important;
    max-width: none !important; /* No max-width to prevent white gap on right */
    padding-left: clamp(40px, 5vw, 120px);
    padding-right: clamp(40px, 5vw, 120px); /* Right padding should match visible edge */
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0; /* No margin */
    margin-right: 0;
    box-sizing: border-box;
    overflow: visible; /* Allow content to extend */
    display: flex; /* Flex container */
    justify-content: flex-end; /* Align content to right */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to right */
    width: 100%;
    gap: 16px;
    min-width: 0; /* Allow flex shrinking */
    box-sizing: border-box;
    flex-shrink: 1; /* Allow shrinking if needed */
    max-width: 100%; /* Don't exceed parent width */
    overflow: visible; /* Allow content to extend */
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 24px;
    box-sizing: border-box;
}

.logo-link {
    position: relative;
    width: auto;
    min-width: 120px;
    height: 24px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* Old logo-img styles removed - using new SVG logo */

.logo-white {
    opacity: 1;
    z-index: 2;
}

.logo-dark {
    opacity: 0;
    z-index: 1;
}

/* Old scrolled logo styles removed - header is always static */

/* Old hamburger-menu styles removed - using Konpo style below */

/* Old hamburger-line styles removed - using Konpo style below for home page */

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

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

.nav-link {
    color: var(--color-text);
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: none !important; /* No transitions - static */
}

.nav-link:hover {
    opacity: 0.7;
}

/* Old scrolled nav-link styles removed - header is always static */

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    gap: 16px; /* Gap between greeting and button */
    max-width: 100%; /* Don't exceed parent width */
}

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

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    background: transparent;
}

.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

/* Old scrolled social-icon styles removed - header is always static */

.social-icon svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   HERO SECTION (Base styles - overridden by body.home .hero-section)
   ============================================ */
.hero-section {
    position: relative;
    width: 100%; /* Use 100% instead of 100vw to prevent overflow */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
}

/* ============================================
   OLD COSMIC BACKUP STYLES REMOVED
   ============================================
   
   All old cosmic backup styles have been moved to:
   assets/css/backup/cosmic-backup-styles.css
   
   This file is NOT loaded in the theme - it's only for reference/backup purposes.
   The current design uses Konpo-style styles starting at line 1364.
   ============================================ */

/* ============================================
   RESPONSIVE STYLES (General - Not cosmic backup specific)
   ============================================ */

/* Old cosmic backup media queries removed - moved to assets/css/backup/cosmic-backup-styles.css */

/* Основні стилі для інших сторінок */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.entry-content p {
    margin-bottom: 1.5em;
}

/* ============================================
   KONPO-STYLE DESIGN OVERRIDES
   ============================================ */

/* Header - Konpo Style - Simplified: Hamburger (left) | Logo | Spacer | Greeting + Button (right) */
/* Header - At main-grid level, Fixed at top right of viewport */
body.home .top-nav {
    position: fixed !important; /* Force fixed - NEVER changes */
    top: 0 !important;
    left: 54px !important; /* Start after sidebar (54px) */
    right: 0 !important; /* Stretch to right edge - no need for calc(100vw - 54px) */
    width: auto !important; /* Auto width - right: 0 handles it */
    max-width: none !important; /* No max-width */
    background: transparent !important; /* Always transparent - NEVER changes */
    backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 54px !important; /* Fixed height - NEVER changes */
    min-height: 54px !important;
    max-height: 54px !important;
    transition: none !important; /* No transitions */
    border: none !important; /* No border - divider line handles it */
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important; /* Center vertically */
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow content to extend */
    will-change: auto !important; /* No will-change */
    transform: none !important; /* No transforms */
    backface-visibility: visible !important; /* No backface-visibility */
}

/* No scroll behavior - header is always static */

/* Logo - right after hamburger, with right border line */
.header-logo {
    flex-shrink: 0;
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 clamp(16px, 2vw, 24px); /* Padding around logo */
    border-right: none; /* No right border line */
    box-sizing: border-box;
}

body.home .header-logo .logo-link {
    display: flex;
    align-items: center;
    height: 24px;
    text-decoration: none;
}

body.home .header-logo .logo-img {
    height: 24px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Spacer - fills space between logo and right content */
.header-spacer {
    flex: 1; /* Takes all remaining space between logo and button */
    min-width: 0;
}

/* Right Content - Greeting + Button with symmetric padding matching logo padding */
.header-right {
    flex-shrink: 0;
    height: 54px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: clamp(16px, 2vw, 24px); /* Symmetric to logo padding - creates logical symmetry */
    padding-left: 0; /* No left padding - spacer fills all space */
    box-sizing: border-box;
    position: relative;
}

/* Header-right always visible - no scroll behavior */
body.home .top-nav .header-right {
    display: flex; /* Always visible - static */
}

/* Header divider line - dark color, extends full width including hamburger area */
.header-divider {
    width: calc(100% + 54px); /* Full width of header (100%) + sidebar width (54px) to include hamburger area */
    height: 1px;
    background: #1D1D1D; /* Dark color like reference */
    margin: 0;
    position: absolute;
    bottom: 0; /* Exactly at bottom of 54px header */
    left: -54px; /* Start from left edge of viewport (54px before header starts) to include hamburger area */
    z-index: 1;
    pointer-events: none; /* Don't interfere with clicks */
}

/* No scroll behavior - divider always static */

/* Old nav-wrapper styles removed - using simplified header-right instead */

/* Logo image - SVG from URL */
body.home .logo-link .logo-img {
    height: 24px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Logo always static - no scroll behavior */



.nav-greeting {
    font-size: 14px;
    color: #858488;
    margin-right: 0; /* No margin - gap in header-right handles spacing */
    font-weight: 400;
    white-space: nowrap; /* Prevent wrapping */
}

.nav-hire-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1D1D1D; /* Dark/black button like reference */
    color: #fff;
    border-radius: 20px; /* More rounded, pill-shaped */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: none !important; /* No transitions - static */
    border: none;
    cursor: pointer;
    will-change: auto !important; /* No will-change */
    transform: none !important; /* No transforms */
}

.nav-hire-btn:hover {
    background: #1D1D1D !important; /* No hover effect - static */
    transform: none !important; /* No hover transform */
}

.nav-hire-btn svg {
    width: 14px;
    height: 14px;
    order: -1; /* Arrow before text */
}

/* Hero Section - Konpo Style */
body.home .hero-section {
    background: #f5f3f7;
    width: 100%; /* Full width of main-content, no overflow */
    min-height: auto;
    display: block;
    padding: 140px 0 80px;
    position: static;
    margin: 0; /* No margin */
    box-sizing: border-box;
    overflow: visible;
}

/* Wide container for home page - aligns with logo left edge and symmetric right padding */
/* Note: main-content already has margin-left: 54px, so we only add logo padding here */
body.home .hero-section .wide-container,
body.home .wide-container {
    width: 100%;
    max-width: calc(100vw - 54px);
    margin-left: 0;
    margin-right: 0;
    /* Left padding: only logo padding (clamp(16px, 2vw, 24px)) - main-content margin-left handles sidebar offset */
    padding-left: clamp(16px, 2vw, 24px); /* Aligns with logo left edge (54px sidebar + this padding) */
    /* Right padding symmetric to logo padding (clamp(16px, 2vw, 24px)) - creates logical symmetry */
    padding-right: clamp(16px, 2vw, 24px); /* Symmetric to logo padding */
    box-sizing: border-box;
    overflow: visible;
    position: static;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-main-title {
    margin: 0 0 32px 0;
    line-height: 1.1;
    text-align: center;
    width: 100%;
}

.title-line-1 {
    display: block;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    color: #1D1D1D;
    letter-spacing: -2px;
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
}

.title-line-2 {
    display: block;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700; /* Bold like first line */
    color: #1D1D1D; /* Same dark color as first line */
    letter-spacing: -1.5px;
    position: relative;
    text-align: center;
    width: 100%;
}

.strikethrough-text {
    text-decoration: line-through;
    opacity: 0.4;
    margin-right: 8px;
}

/* Globe Icon - centered separately */
.hero-globe-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px 0;
    width: 100%;
}

.globe-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    color: #1D1D1D;
}

/* Description text - centered below globe */
.hero-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: #1D1D1D;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    display: block;
}

/* Projects Section */
.projects-section {
    margin-top: 120px;
    width: 100%;
    margin-left: 0; /* No left margin - inherits padding from wide-container */
    margin-right: 0; /* No right margin - inherits padding from wide-container */
    padding-left: 0; /* No additional padding - uses wide-container padding */
    padding-right: 0; /* No additional padding - uses wide-container padding */
    box-sizing: border-box;
}

.projects-divider {
    width: 100%;
    height: 1px;
    border-top: 1px dotted #858488; /* Dotted line separator */
    margin-bottom: 60px;
    margin-left: 0; /* No left margin - uses container padding */
    margin-right: 0; /* No right margin - uses container padding */
    box-sizing: border-box;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%; /* Full width of container */
    margin-left: 0; /* No left margin */
    margin-right: 0; /* No right margin */
    padding-left: 0; /* No additional padding */
    padding-right: 0; /* No additional padding */
    box-sizing: border-box;
}

.cases-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    align-items: end;
    padding: 24px 0 32px;
}

.cases-kicker {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #7C7A80;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cases-kicker::before {
    content: '';
    width: 36px;
    height: 1px;
    background: #7C7A80;
    display: inline-block;
}

.cases-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 18px 0 0;
    color: #1D1D1D;
}

.cases-intro-actions {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.cases-note {
    font-size: 15px;
    line-height: 1.6;
    color: #6B6A6F;
    margin: 0;
}

.cases-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: #1D1D1D;
    padding: 14px 20px;
    border: 1px solid #1D1D1D;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.cases-cta:hover {
    background: #1D1D1D;
    color: #fff;
}

.cases-gallery {
    width: 100%;
    margin-bottom: 32px;
}

.cases-swiper,
.projects-swiper {
    width: 100%;
    overflow: hidden;
}

.cases-swiper .swiper-wrapper,
.projects-swiper .swiper-wrapper {
    align-items: stretch;
}

.cases-swiper .swiper-slide,
.projects-swiper .swiper-slide {
    height: auto;
}

.swiper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.swiper-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #1D1D1D;
    background: transparent;
    color: #1D1D1D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-btn:hover {
    background: #1D1D1D;
    color: #fff;
}

.swiper-pagination {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #C7C5CB;
    opacity: 1;
    margin: 0 !important;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #1D1D1D;
    width: 22px;
    border-radius: 999px;
}

.case-panel {
    min-height: 220px;
    border-radius: 16px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
}

.case-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
}

.case-panel > * {
    position: relative;
    z-index: 1;
}

.case-panel-tag {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
}

.case-panel-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.case-panel-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.case-panel-1 {
    background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.case-panel-2 {
    background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.case-panel-3 {
    background: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.cases-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 0 40px;
    border-top: 1px dotted #858488;
    border-bottom: 1px dotted #858488;
    margin-bottom: 32px;
}

.cases-metric {
    display: grid;
    gap: 6px;
}

.cases-metric-value {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1D1D1D;
}

.cases-metric-label {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6B6A6F;
}

.project-card {
    height: 530px; /* Увеличено в 2.5 раза (было ~212px, стало 530px) */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: none; /* No transitions - static */
    will-change: auto; /* No will-change */
    transform: none; /* No transforms */
}

.project-card:hover {
    transform: none; /* No hover effects - static */
    box-shadow: none; /* No hover effects */
}

.project-card-gradient {
    background: linear-gradient(135deg, #4C1D95 0%, #6B46C1 25%, #9333EA 50%, #1D1D1D 100%);
    position: relative;
}

.project-card-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 60px 60px;
    background-position: 0 0, 40px 40px, 20px 20px;
    opacity: 0.6;
}

.project-card-white {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.project-card-dark {
    background: #1D1D1D;
}

.project-card-image-1 {
    background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.project-card-image-2 {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.project-card-image-3 {
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.project-card-image-1::after,
.project-card-image-2::after,
.project-card-image-3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.project-card-image-2::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.project-card-image-1 .project-card-content,
.project-card-image-1 .project-card-bottom-left,
.project-card-image-2 .project-card-content,
.project-card-image-3 .project-card-content {
    z-index: 2;
}

.project-card-image-2 .project-type,
.project-card-image-2 .project-type-dark,
.project-card-image-2 .project-name-dark {
    color: #fff;
}

.project-card-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* All cards - content in top right */
.project-card-top-right {
    top: 24px;
    right: 24px;
    align-items: flex-end;
    text-align: right;
}

/* Project type - small gray text at top */
.project-type {
    font-size: 11px;
    font-weight: 400;
    color: #858488;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.project-type-dark {
    color: #6B7280;
}

/* Bottom left content (for Surge card - ChatGPT) */
.project-card-bottom-left {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.project-name-large {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    line-height: 1;
}

.project-sup {
    font-size: 10px;
    font-weight: 500;
    vertical-align: super;
    margin-left: 2px;
}

.project-name-dark {
    color: #1D1D1D;
    font-weight: 700;
}

.project-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.project-logo {
    width: 32px;
    height: 32px;
    display: block;
}

.project-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

/* About/Credibility Section */
.about-credibility-section {
    margin-top: 140px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    position: relative;
}

.about-headline {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: #1D1D1D;
    margin-bottom: 16px;
    max-width: 100%;
    letter-spacing: -0.02em;
}

.headline-main {
    color: #1D1D1D;
}

.headline-fade {
    color: #858488;
}

.about-tagline {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    color: #1D1D1D;
    margin-bottom: 28px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.about-divider {
    width: 100%;
    height: 1px;
    border-top: 1px dotted #858488;
    margin-bottom: 28px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: flex-end;
    max-width: 100%;
}

.about-content {
    max-width: 850px;
    margin-bottom: 0;
    position: relative;
}

.about-paragraph {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.75;
    color: #1D1D1D;
    margin-bottom: 20px;
    max-width: 850px;
    letter-spacing: -0.01em;
}

.about-paragraph-short {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.75;
    color: #1D1D1D;
    margin-top: 20px;
    margin-bottom: 0;
    max-width: 850px;
    letter-spacing: -0.01em;
}

.about-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    color: #1D1D1D;
    cursor: pointer;
    transition: none;
}

.about-link:hover {
    opacity: 0.6;
}

.about-logos {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 0;
    align-self: flex-end;
    flex-shrink: 0;
}

.about-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1D;
    opacity: 0.65;
    transition: none;
    flex-shrink: 0;
}

.about-logo-item:hover {
    opacity: 0.9;
}

.about-logo-item svg {
    height: 22px;
    width: auto;
    display: block;
}

.about-logo-item:first-child svg {
    height: 18px;
}

/* Services Section */
.services-section {
    margin-top: 160px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    display: block;
}

.services-section .wide-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
    overflow: visible;
    position: static;
}

.services-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #1D1D1D;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.02em;
}

.services-cards-stack {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 200px;
    overflow: visible;
    display: block;
    isolation: isolate;
}

.service-card {
    position: -webkit-sticky;
    position: sticky;
    width: 100%;
    margin-bottom: 0;
    background: #f5f3f7;
    border: 1px solid #1D1D1D;
    border-radius: 8px;
    box-shadow: none;
}

.service-card:nth-child(1) {
    z-index: 1;
    top: 78px; /* 54px (высота хедера) + 24px (отступ от хедера) */
    margin-top: 0;
}

.service-card:nth-child(2) {
    z-index: 2;
    top: 102px; /* 54px (высота хедера) + 48px (отступ от хедера) */
    margin-top: 100px; /* Отступ от предыдущей карточки, видна часть предыдущей */
}

.service-card:nth-child(3) {
    z-index: 3;
    top: 126px; /* 54px (высота хедера) + 72px (отступ от хедера) */
    margin-top: 100px; /* Отступ от предыдущей карточки */
}

.service-card:nth-child(4) {
    z-index: 4;
    top: 150px; /* 54px (высота хедера) + 96px (отступ от хедера) */
    margin-top: 100px; /* Отступ от предыдущей карточки */
}


.service-card-inner {
    padding: 48px 56px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-card-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: #1D1D1D;
    margin: 0;
    letter-spacing: -0.02em;
}

.service-card-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1D1D1D;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: none;
    color: #fff;
}

.service-card-action-btn:hover {
    opacity: 0.85;
}

.service-card-action-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.service-card-divider {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    margin-bottom: 32px;
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card-description {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.75;
    color: #1D1D1D;
    margin: 0 0 auto 0;
    max-width: 600px;
    letter-spacing: -0.01em;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    position: relative;
    min-height: 60px;
}

.service-card-learn-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1D1D1D;
    color: #fff;
    border: 1px solid #1D1D1D;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: none;
    font-family: var(--font-family-base);
}

.service-card-learn-btn:hover {
    opacity: 0.85;
}

.service-card-learn-btn svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.service-card-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.6;
    pointer-events: none;
}

.service-card-pattern svg {
    width: 120px;
    height: 120px;
    display: block;
}

/* Contact Section */
.contact-section {
    margin-top: 160px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 200px;
    box-sizing: border-box;
    position: static;
    overflow: visible;
    display: block;
}

.contact-section .wide-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
    overflow: visible;
    position: static;
}

.contact-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #1D1D1D;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.02em;
}

.contact-divider {
    width: 100%;
    height: 1px;
    border-top: 1px dotted #858488;
    margin-bottom: 60px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 100%;
}

/* Contact Form */
.contact-form-wrapper {
    width: 100%;
}

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

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

.contact-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #1D1D1D;
    letter-spacing: -0.01em;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f5f3f7;
    border: 1px solid #1D1D1D;
    border-radius: 8px;
    font-size: clamp(14px, 1.6vw, 16px);
    font-family: var(--font-family-base);
    color: #1D1D1D;
    line-height: 1.5;
    transition: none;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #1D1D1D;
    background: #f5f3f7;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family-base);
}

.contact-form-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1D1D1D;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family-base);
    align-self: flex-start;
    margin-top: 8px;
}

.contact-form-submit:hover {
    opacity: 0.85;
}

.contact-form-submit svg {
    width: 14px;
    height: 14px;
    order: -1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-label {
    font-size: 12px;
    font-weight: 500;
    color: #858488;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-link {
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 400;
    color: #1D1D1D;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: none;
    letter-spacing: -0.01em;
}

.contact-info-link:hover {
    opacity: 0.6;
}

.contact-info-text {
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 400;
    color: #1D1D1D;
    letter-spacing: -0.01em;
}

/* Social Links / Credentials Grid Section */
.social-links-section {
    margin-top: 160px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 80px;
    box-sizing: border-box;
    position: static;
    overflow: visible;
    display: block;
}

.social-links-section .wide-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
    overflow: visible;
    position: static;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    width: 100%;
    background: #f5f3f7;
    border: 1px solid #1D1D1D;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-decoration: none;
    color: #1D1D1D;
    border-right: 1px solid #E5E7EB;
    transition: none;
    box-sizing: border-box;
    position: relative;
}

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

.social-link-item:hover {
    background: rgba(29, 29, 29, 0.02);
}

.social-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #1D1D1D;
    min-height: 32px;
}

.social-link-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.social-link-label {
    font-size: 11px;
    font-weight: 500;
    color: #858488;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.social-link-text {
    font-size: 14px;
    font-weight: 400;
    color: #1D1D1D;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Footer */
.site-footer-main {
    width: calc(100% - 54px); /* Full width minus sidebar - same as main-content */
    margin-left: 54px; /* Space for sidebar - same as main-content */
    padding: 48px 0;
    background: #f5f3f7;
    border-top: 1px solid #1D1D1D;
    box-sizing: border-box;
}

.site-footer-main .wide-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 400;
    color: #858488;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    color: #1D1D1D;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: none;
    letter-spacing: -0.01em;
}

.footer-link:hover {
    opacity: 0.6;
}

/* Responsive - Konpo Style */
@media (max-width: 768px) {
    /* Hero section - adjust padding for mobile */
    .hero-section {
        padding: 80px 0 40px;
    }
    
    body.home .hero-section .wide-container,
    body.home .wide-container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: calc(100vw - 40px);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-main-title {
        margin-bottom: 20px;
    }

    .title-line-1 {
        font-size: clamp(34px, 10vw, 56px);
        letter-spacing: -1.4px;
    }

    .title-line-2 {
        font-size: clamp(28px, 8vw, 44px);
        letter-spacing: -1px;
    }

    .cases-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 12px 0 20px;
    }

    .cases-intro-actions {
        justify-items: stretch;
    }

    .cases-cta {
        width: 100%;
        justify-content: center;
    }

    .cases-gallery {
        margin-bottom: 20px;
    }

    .case-panel {
        min-height: 200px;
    }

    .cases-metric-value {
        font-size: 20px;
    }

    .cases-metric-label {
        letter-spacing: 0.12em;
    }

    .project-card {
        height: 360px;
    }

    .project-card-top-right {
        top: 16px;
        right: 16px;
    }

    .project-card-bottom-left {
        bottom: 16px;
        left: 16px;
    }

    .project-name-large {
        font-size: 20px;
    }

    .project-name {
        font-size: 16px;
    }

    .swiper-controls {
        margin-top: 12px;
    }

    .swiper-btn {
        width: 36px;
        height: 36px;
    }

    .cases-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0 28px;
        margin-bottom: 24px;
    }
    
    .nav-greeting {
        display: none;
    }
    
    .nav-hire-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .hero-description {
        flex-direction: column;
        gap: 8px;
    }
    
    .projects-divider {
        margin-bottom: 40px;
    }
    
    /* About section - adjust for mobile */
    .about-credibility-section {
        margin-top: 60px;
    }
    
    body.home .hero-section .wide-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .projects-section {
        margin-top: 60px;
    }
    
    .about-headline {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 20px;
    }
    
    .about-tagline {
        font-size: clamp(16px, 3vw, 20px);
        margin-bottom: 32px;
    }
    
    .about-divider {
        margin-bottom: 32px;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: flex-start;
    }
    
    .about-paragraph,
    .about-paragraph-short {
        font-size: clamp(14px, 2vw, 16px);
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .about-logos {
        justify-content: flex-start;
        gap: 20px;
        margin-top: 0;
    }
    
    .about-logo-item svg {
        height: 20px;
        width: auto;
    }
    
    .about-logo-item:first-child svg {
        height: 16px;
    }
    
    /* Services section - adjust for mobile */
    .services-section {
        margin-top: 80px;
    }
    
    .services-section .wide-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .service-card:nth-child(1) {
        top: 60px;
    }
    
    .service-card:nth-child(2) {
        top: 80px;
    }
    
    .service-card:nth-child(3) {
        top: 100px;
    }
    
    .service-card:nth-child(4) {
        top: 120px;
    }
    
    .services-title {
        font-size: clamp(28px, 6vw, 48px);
        margin-bottom: 40px;
    }
    
    .service-card {
        width: 100%;
        margin-bottom: 0;
    }
    
    .service-card:nth-child(2) {
        margin-top: 0;
    }
    
    
    .service-card-inner {
        padding: 32px 24px;
        min-height: auto;
    }
    
    .service-card-title {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    .service-card-action-btn {
        width: 36px;
        height: 36px;
    }
    
    .service-card-description {
        font-size: clamp(14px, 2vw, 16px);
        max-width: 100%;
    }
    
    .service-card-footer {
        margin-top: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .service-card-pattern {
        position: relative;
        opacity: 0.4;
    }
    
    .service-card-pattern svg {
        width: 80px;
        height: 80px;
    }
    
    /* Sidebar - smaller on mobile but still visible */
    .header-side {
        flex: 0 0 40px;
        width: 40px;
        min-height: 100vh;
    }
    
    .header-side .hamburger-menu {
        width: 40px;
        height: 40px;
    }
    
    .header-side .hamburger-menu div {
        width: 18px;
        margin-left: -9px;
    }

    .header-side .hamburger-menu {
        gap: 5px;
    }

    .header-side .hamburger-menu div {
        position: static;
        margin-left: 0;
        border: none;
        height: 2px;
        background: #1D1D1D;
    }

.header-side .hamburger-menu {
    flex-direction: column;
    gap: 6px;
}

.header-side .hamburger-menu div {
    position: static;
    margin-left: 0;
    border: none;
    height: 2px;
    background: #1D1D1D;
}
    
    .header-side .hamburger-menu div:nth-child(1) {
        top: 14px;
    }
    
    .header-side .hamburger-menu div:nth-child(2) {
        top: 20px;
    }
    
    .header-side .hamburger-menu div:nth-child(3) {
        top: 26px;
    }
    
    .sidebar-right-line {
        top: 40px;
        height: calc(100vh - 40px);
    }
    
    .header-side .scroll-indicator {
        width: 1px;
        height: 180px;
    }
    
    .scroll-line {
        height: 180px;
    }
    
    /* Header - adjust for smaller sidebar */
    body.home .top-nav {
        left: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
    
    body.home .header-logo {
        height: 40px;
        padding: 0 12px;
    }
    
    body.home .header-logo .logo-img {
        height: 20px;
    }
    
    .header-right {
        height: 40px;
        padding-right: 12px;
        gap: 12px;
    }
    
    .header-divider {
        width: calc(100% + 40px);
        left: -40px;
    }
    
    /* Main content - adjust for smaller sidebar */
    .main-content {
        width: auto;
        max-width: calc(100vw - 40px);
        margin-left: 40px;
        margin-top: 40px;
    }
    
    /* Contact section - adjust for mobile */
    .contact-section {
        margin-top: 80px;
        padding-bottom: 80px;
    }
    
    .contact-section .wide-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .contact-title {
        font-size: clamp(28px, 6vw, 48px);
        margin-bottom: 40px;
    }
    
    .contact-divider {
        margin-bottom: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .contact-info {
        gap: 24px;
    }
    
    .contact-info-link,
    .contact-info-text {
        font-size: clamp(15px, 2vw, 17px);
    }
    
    /* Social links section - adjust for mobile */
    .social-links-section {
        margin-top: 80px;
        padding-bottom: 60px;
    }
    
    .social-links-section .wide-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 8px;
    }
    
    .social-link-item {
        padding: 32px 16px;
        border-right: 1px solid #E5E7EB;
        border-bottom: 1px solid #E5E7EB;
    }
    
    .social-link-item:nth-child(2n) {
        border-right: none;
    }
    
    .social-link-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .social-link-icon {
        margin-bottom: 12px;
    }
    
    .social-link-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .social-link-text {
        font-size: 13px;
    }
    
    .site-footer-main {
        width: calc(100% - 40px); /* Full width minus smaller sidebar */
        margin-left: 40px; /* Space for smaller sidebar */
        padding: 32px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .footer-copyright,
    .footer-link {
        font-size: 13px;
    }
    
    .site-footer-main .wide-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Additional mobile optimizations */
    .project-card {
        height: 400px;
    }
    
    .title-line-1 {
        font-size: clamp(36px, 10vw, 64px);
    }
    
    .title-line-2 {
        font-size: clamp(28px, 8vw, 56px);
    }
    
    .hero-description {
        font-size: clamp(14px, 3vw, 18px);
    }
    
    .nav-hire-btn span {
        font-size: 12px;
    }
    
    .nav-hire-btn {
        padding: 8px 16px;
    }
}
/* Logo image style removed - using dots structure now */

/* ============================================
   KONPO SIDEBAR STRUCTURE
   ============================================ */

/* Main Flexbox Layout */
.main-grid {
    display: flex;
    min-height: auto;
    width: 100%;
    position: static;
    overflow: visible;
}

/* Left Sidebar - Fixed left side, 54px width, full height from top */
.header-side {
    flex: 0 0 54px;
    width: 54px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0; /* Start from very top of viewport */
    z-index: 999;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #1D1D1D;
    padding-top: 0;
    margin-top: 0;
    opacity: 1; /* Always visible - no animation */
}

/* Hamburger Menu - Top of Sidebar (54px height) - Only right and top borders */
.header-side .hamburger-menu {
    width: 54px;
    height: 54px;
    position: relative;
    border-right: none;
    border-top: none;
    border-left: none;
    border-bottom: none; /* No bottom border - header divider handles that */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    z-index: 2;
    transition: all 300ms cubic-bezier(0.61, 0.01, 0.42, 1);
}

/* Hamburger menu lines - 3 horizontal lines that transform on hover */
.header-side .hamburger-menu div {
    height: 0px;
    border: 1px solid #1D1D1D; /* Thinner border - was 1.5px */
    width: 22px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -11px; /* Center the line horizontally (22px / 2 = 11px) */
    transition: all 300ms cubic-bezier(0.61, 0.01, 0.42, 1);
    background: #1D1D1D;
    border-radius: 0;
    box-sizing: border-box; /* Include border in width/height calculations */
}

.header-side .hamburger-menu {
    flex-direction: column;
    gap: 6px;
}

.header-side .hamburger-menu div {
    position: static;
    margin-left: 0;
    border: none;
    height: 2px;
    background: #1D1D1D;
}

.header-side .hamburger-menu div:nth-child(1) {
    top: 20px; /* Adjusted for 54px button height */
}

.header-side .hamburger-menu div:nth-child(2) {
    top: 27px; /* Center of 54px button (54/2 = 27px) */
}

.header-side .hamburger-menu div:nth-child(3) {
    top: 34px; /* Adjusted for 54px button height */
}

/* Third line pseudo-element for animated dot on hover */
.header-side .hamburger-menu div:nth-child(3)::before {
    opacity: 0;
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #f5f3f7; /* Light background color for dot */
    border: 2px solid #1D1D1D;
    display: block;
    position: relative;
    top: 0.25px;
    transition: opacity 600ms cubic-bezier(0.61, 0.01, 0.42, 1);
}

/* OLD HOVER EFFECT - SAVED FOR REFERENCE (worked perfectly):
.header-side .hamburger-menu:hover div {
    border: 1.5px solid #1D1D1D;
    height: 7px;
    border-radius: 50%;
    margin-left: 0;
    margin-top: 0;
    animation: atom 300ms linear 1;
    width: 22px;
    background: transparent;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
}
.header-side .hamburger-menu:hover div:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-33deg);
}
.header-side .hamburger-menu:hover div:nth-child(2) {
    transform: translate(-50%, -50%) rotate(90deg);
}
.header-side .hamburger-menu:hover div:nth-child(3) {
    transform: translate(-50%, -50%) rotate(33deg);
}
*/

/* Hover state: disabled - no hover effect on hamburger */

/* Active state (on click): disabled for now - menu will open later */
/* For now, clicking does nothing - icon stays in default state */

/* Animations */
@keyframes atom {
    0% {
        transform: rotate(180deg);
    }
}

@keyframes division {
    0% {
        transform: rotate(180deg);
    }
}

@keyframes ball {
    0% {
        left: -20%;
        top: 10%;
    }
    10% {
        left: 10%;
        top: -35%;
    }
    25% {
        left: 45%;
        top: -50%;
    }
    40% {
        left: 80%;
        top: -20%;
    }
    50% {
        left: 98%;
        top: 18%;
    }
    60% {
        left: 80%;
        top: 50%;
    }
    75% {
        left: 45%;
        top: 80%;
    }
    90% {
        left: 0%;
        top: 60%;
    }
    100% {
        left: -20%;
        top: 10%;
    }
}

/* Right vertical line on sidebar that goes down from hamburger (starts at 54px from top) */
.sidebar-right-line {
    display: none;
}

/* Old hamburger styles removed - hamburger is now in header-side, styled above */

/* Scroll Indicator - vertical line with dot at top, in sidebar */
/* Scroll Indicator - centered on screen, top at 50vh, line goes down 220px */
/* Scroll Indicator - Inside Sidebar, centered horizontally within sidebar */
.header-side .scroll-indicator {
    position: absolute; /* Absolute within sidebar */
    left: 50%; /* Center horizontally within 54px sidebar */
    top: 50vh; /* Center vertically - top dot at vertical center */
    transform: translateX(-50%); /* Center the element within sidebar */
    width: 1px;
    height: 220px; /* Line goes down 220px */
    display: block; /* Block for absolute children positioning */
    z-index: 1;
    pointer-events: none; /* Don't interfere with clicks */
}

.scroll-line {
    width: 1px;
    height: 220px; /* Fixed height - 220px down */
    background: #858488; /* Gray color */
    margin-top: 0; /* No margin - dot moves along the line */
    flex-shrink: 0;
    position: absolute; /* Absolute positioning */
    top: 0; /* Start at top of scroll-indicator */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
}

.scroll-dot {
    width: 19px; /* Inner circle - increased to compensate for visual decrease (16px * 1.1875 ≈ 19px for better visibility) */
    height: 19px; /* Inner circle - increased to compensate for visual decrease (16px * 1.1875 ≈ 19px for better visibility) */
    border: 7.2px solid #f5f3f7; /* Outer circle border - increased by 30% from 5.5px (5.5 * 1.3 = 7.15 ≈ 7.2px) */
    background: #1D1D1D; /* Dark dot - inner circle */
    border-radius: 50%;
    position: absolute; /* Absolute to allow movement within scroll-indicator */
    top: 0; /* Start at top of scroll-indicator - will be updated by JS */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally only */
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: top 0.15s ease-out; /* Smooth movement on scroll */
    will-change: top; /* Optimize for animation */
}

.scroll-dot-top {
    margin-bottom: 0;
}

/* Main Content Area - flex: 1 to fill remaining space */
/* Main Content Area - Below Header */
/* Main Content Area - Right Side (Working Area) - Starts after sidebar and header */
.main-content {
    flex: 1;
    width: auto;
    min-height: auto;
    margin-left: 54px; /* Space for sidebar */
    margin-right: 0; /* No right margin - stretch to edge */
    margin-top: 54px; /* Space for fixed header (54px height) */
    padding-top: 0; /* No padding - margin handles spacing */
    padding-left: 0; /* No padding - wide-container handles it */
    padding-right: 0; /* No padding - wide-container handles it */
    position: static;
    box-sizing: border-box;
    max-width: calc(100vw - 54px);
    overflow: visible;
}

.site-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
}

.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, 86vw);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: stretch;
}

.site-menu-panel {
    width: 100%;
    background: #f5f3f7;
    border-left: 1px solid #1D1D1D;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.site-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-menu-kicker {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #7C7A80;
}

.site-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #1D1D1D;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1D;
}

.site-menu-links {
    display: grid;
    gap: 18px;
}

.site-menu-link {
    font-size: 18px;
    font-weight: 600;
    color: #1D1D1D;
    text-decoration: none;
}

.site-menu-footer {
    margin-top: auto;
    display: grid;
    gap: 16px;
}

.site-menu-note {
    font-size: 14px;
    line-height: 1.6;
    color: #6B6A6F;
}

.site-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid #1D1D1D;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 600;
    color: #1D1D1D;
    text-decoration: none;
}

body.menu-open .site-menu {
    transform: translateX(0);
}

body.menu-open .site-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Header styles moved to Konpo section above - no wide-container in header anymore */

/* Hero section - content boundaries handled by body.home .wide-container above */

/* All animations removed - elements are always visible and static */
