@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --text-main: #111111;
    --text-secondary: #4a4a4a;
    --text-light: #999999;
    --bg-main: #ffffff;
    --bg-soft: #f6f6f6;
    --border-soft: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.05);
    --accent-color: #2a45ff;
    --cursor-size: 12px;
    --cursor-hover-size: 60px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text-main);
    background: radial-gradient(circle at top left, #f5f5f5 0%, #e8e8e8 45%, #dcdcdc 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f0f0 55%, #e0e0e0 100%);
    opacity: 0.9;
    pointer-events: none;
}

.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 1.5px solid rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                opacity 0.25s ease;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.custom-cursor.hovered {
    width: var(--cursor-hover-size);
    height: var(--cursor-hover-size);
    background-color: rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 90%;
    max-width: 1000px;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 1000;
    overflow: hidden;
}

nav .logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.03em;
    transform: translateZ(0);
}

nav > div {
    display: flex;
    gap: 32px;
}

nav .menu-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

nav .menu-link:hover {
    color: var(--text-main);
}

nav .back-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: auto;
    transition: color 0.2s;
}

nav .back-link:hover {
    color: var(--text-main);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 40px 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-container h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    cursor: default;
}

.hero-container h1 span {
    display: block;
    transform-origin: left center;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.hero-container:hover h1 span {
    opacity: 0.25;
    filter: blur(3px);
}

.hero-container h1 span:hover {
    opacity: 1;
    filter: blur(0);
    transform: translateX(10px) scale(1.02);
    color: var(--text-main);
}

.hero-container .highlight {
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.hero-container .highlight::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: var(--text-main);
    margin-top: 4px;
    opacity: 0.1;
    border-radius: 2px;
}

.bio {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: var(--text-main);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.arrow {
    margin-left: 8px;
}

.work-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 40px 120px;
    position: relative;
    z-index: 2;
}

.work-header {
    text-align: center;
    margin-bottom: 60px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.work-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.work-card-image {
    width: 100%;
    padding-top: 65%;
    background-size: cover;
    background-position: center;
}

.work-card-meta {
    padding: 24px 28px;
}

.work-card-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.work-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.work-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.case-study-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 160px 24px 120px;
    position: relative;
    z-index: 2;
}

.project-meta-header {
    text-align: center;
    margin-bottom: 60px;
}

.breadcrumb {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    display: block;
    margin-bottom: 24px;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.summary {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 32px;
    text-align: center;
}

.meta-item span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.meta-item strong {
    font-size: 0.95rem;
    display: block;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-size: 2.2rem;
    margin-top: 100px;
    margin-bottom: 24px;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 700;
}

p, ul, li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.75;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    cursor: zoom-in;
}

.problem-card,
.insight-card,
.tldr-card,
.pivot-item,
.persona-card,
.final-solution-grid .solution-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), 
                box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.3s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.problem-card:hover,
.insight-card:hover,
.tldr-card:hover,
.pivot-item:hover,
.persona-card:hover,
.final-solution-grid .solution-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.tldr-card {
    margin: 40px 0;
    display: block;
}

.tldr-list li {

    font-size: 0.9rem; 
    line-height: 1.5;  
    margin-bottom: 12px; 

}

.at-a-glance-title {
    margin: 0 0 16px;
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--text-main);
}

.screen-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 100px 0;
}

.screen-section:nth-of-type(even) {
    flex-direction: row-reverse;
}

.screen-copy {
    flex: 1;
}

.screen-visual {
    flex: 1.5;
}

.screen-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.problem-grid {
    max-width: 1080px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.problem-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #555;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    margin-bottom: 12px;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.problem-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.problem-principle {
    margin-top: 56px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-main);
    max-width: 720px;
    padding-left: 20px;
    border-left: 4px solid #111;
}

.principle-highlight {
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #000, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-left: 6px;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 60px 0;
}

.quote-card {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f2f2f2;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 14px;
    font-style: italic;
    font-weight: 400;
}

.quote-author {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 70px 0;
}

.persona-card {
    text-align: center;
}

.persona-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    font-weight: 700;
    background: #eee;
    color: #333;
}

.tag-primary {
    background: #e0e7ff;
    color: var(--accent-color);
}

.tag-secondary {
    background: #f3f3f3;
    color: var(--text-secondary);
}

.persona-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 0;
    margin: 0 auto 20px;
    display: block;
}

.persona-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.persona-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

.pivot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.pivot-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    color: #333;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pivot-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 700;
}

.pivot-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.phone-frame, 
.phone-frame img,
.pivot-item img,
.final-solution-grid img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: transparent;
    border-radius: 12px;
    display: block;
    margin-top: auto;
}

.phone-frame {
    box-shadow: none;
    border: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.final-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 76px auto 0;
    text-align: center;
}

.final-solution-grid .solution-item {
    text-align: center;
}

.solution-item img {
    margin-bottom: 20px;
    height: 300px;
    object-fit: contain;
}

.final-solution-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.final-solution-grid p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 95%;
    margin: 0 auto;
}

.testing-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.insight-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.insight-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.figma-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 60px auto;
    background: #eee;
    max-width: 1000px;
    border: 1px solid rgba(0,0,0,0.1);
}

.figma-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-nav {
    margin-top: 140px;
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 32px;
}

.next-project {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-width: 250px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.next-project:hover {
    opacity: 0.6;
}

.next-project span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.next-project strong {
    font-size: 1.4rem;
    font-weight: 700;
}

.next-project:first-child {
    text-align: left;
}

.next-project:last-child {
    text-align: right;
}

.next-only {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.about-photo {
    width: 100%;
    border-radius: 20px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: rotate(0deg) scale(1.02);
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .hero-container h1 { font-size: 3rem; }
    .project-title { font-size: 2.5rem; }
    
    .screen-section { flex-direction: column !important; gap: 32px; }
    
    .meta-grid, 
    .quote-grid, 
    .problem-grid, 
    .final-solution-grid, 
    .pivot-grid { 
        grid-template-columns: 1fr; 
        gap: 32px; 
    }
    
    .persona-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-page-grid { grid-template-columns: 1fr; }
    
    .footer-nav { flex-direction: column; gap: 20px; }
    .next-project { width: 100%; }

    nav {
        width: calc(100% - 40px);
        padding: 12px 20px;
    }
    nav > div { gap: 16px; }
    
    .custom-cursor { display: none; }
    * { cursor: auto; }
}

.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; 
    background: transparent;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: #333333;
    transition: width 0.1s;
    border-radius: 0 2px 2px 0;
}

.cta-button.outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: none;
}

.cta-button.outline:hover {
    border-color: var(--text-main);
    background: transparent;
    transform: translateY(-2px);
}