:root {
    --bg: #f5f5f7;
    --card-bg: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --text-light: #6e6e73;
    --border: #d2d2d7;
    --border-hover: #000000;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --gap: 24px;
    --radius: 0px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-hover: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 20px;
    left: 20px;
    width: auto;
    height: auto;
    background: #000;
    color: #fff;
    padding: 12px 20px;
    z-index: 1000;
    font-weight: 600;
    font-size: 0.9rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    width: 100%;
    max-width: 1200px;
}

.span-all { grid-column: 1 / -1; }
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }

.tile {
    background: var(--card-bg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, box-shadow, border-color;
    transition: transform 0.4s var(--ease-hover), box-shadow 0.4s var(--ease-hover), border-color 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.tile:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 2px;
    z-index: 10;
}

.tile:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.tile:nth-child(1) { animation-delay: 0.05s; }
.tile:nth-child(2) { animation-delay: 0.10s; }
.tile:nth-child(3) { animation-delay: 0.15s; }
.tile:nth-child(4) { animation-delay: 0.20s; }
.tile:nth-child(5) { animation-delay: 0.25s; }
.tile:nth-child(6) { animation-delay: 0.30s; }
.tile:nth-child(7) { animation-delay: 0.35s; }
.tile:nth-child(8) { animation-delay: 0.40s; }

.tile-dark {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #1a1a1a;
}

.tile-dark:hover {
    border-color: #1a1a1a;
}

.header-content {
    padding: 3rem;
    justify-content: space-between;
}

.brand {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.company-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 1rem;
	letter-spacing: 14px;
	line-height: 1;
}

.titles {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    display: block;
    margin-top: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.manifesto {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-main);
    max-width: 90%;
    line-height: 1.4;
    margin-top: 3rem;
    letter-spacing: -0.01em;
}

.bold {
    font-weight: 700;
    color: var(--text-main);
}

.status {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.photo-tile {
    position: relative;
    min-height: 400px;
    cursor: pointer;
}

.photo-tile img {
    width: 101%;
    height: 101%;
    margin: -1px;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
	filter: grayscale(100%);
}

.photo-tile:hover img {
    transform: scale(1.03);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: #fff;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.founder-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-weight: 700;
}

.founder-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.founder-title {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.project-tile {
    min-height: 460px;
}

.img-box {
    flex: 3;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
    background: #f5f5f7;
}

.img-box img {
    width: 101%;
    height: 101%;
    margin: -1px;
    object-fit: cover;
    transition: transform 1s var(--ease-out-expo);
}

.project-tile:hover .img-box img {
    transform: scale(1.03);
}

.txt-box {
    flex: 2;
    padding: 2rem;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.5;
}

.cred-tile {
    padding: 2.5rem;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.center-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.icon-box {
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.cred-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.1;
}

.cred-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.linkedin-tile {
    padding: 2.5rem;
    background: var(--card-bg);
}

.li-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.li-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin: 1.5rem 0;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.li-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.li-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: auto;
}

.btn-link-black {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: opacity 0.3s ease;
}

.btn-link-black:hover {
    opacity: 0.6;
}

.footer-minimal {
    padding: 2rem 0 0 0;
    margin-top: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-minimal a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px dotted var(--border);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-minimal a:hover {
    color: var(--text-main);
    border-bottom-style: solid;
    border-bottom-color: var(--text-main);
}

.opacity-50 { opacity: 0.5; }

.grayscale { filter: grayscale(100%); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
	.mobile-only { display: none; }
}

@media (max-width: 1200px) {
    .header-content { padding: 2.5rem; }
    .txt-box { padding: 1.75rem; }
    .company-title { font-size: 3.5rem; }
}

@media (max-width: 1024px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .span-2 { grid-column: span 2; }
    .manifesto { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    body { padding: 30px 20px; text-align: center; }
    .desktop-only { display: none; }
    .grid-container { grid-template-columns: 1fr; gap: 2rem; }
    .span-1, .span-2 { grid-column: span 1; }
	.brand { margin-bottom: 30px; }
    .header-content, .linkedin-tile, .cred-tile, .txt-box { padding: 2rem 1.5rem; }
    .company-title { font-size: 2.75rem; }
    .manifesto { font-size: 1.25rem; margin-top: 2rem; max-width: 100%; }
    .project-tile { min-height: 0; }
	.project-tile .img-box { border-bottom: 0; }
	.project-tile .txt-box { padding-top: 0; padding-bottom: 25px; margin-top: -10px; z-index: 100; }
    .photo-tile { min-height: 380px; }
    .tile:hover { transform: none; box-shadow: none; }
    .tile { animation: none; opacity: 1; transform: none; }
	.li-title { margin-top: -10px; }
	.li-bottom { border-top: 0; display: block; margin-top: 0; padding-top: 30px; }
    .footer-minimal { margin-top: 0; padding-top: 1.0rem; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .tile, .photo-tile img, .img-box img {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media print {
    body { background: #fff; color: #000; padding: 0; }
    .grid-container { display: block; }
    .tile { 
        break-inside: avoid; 
        border: 1px solid #ccc; 
        box-shadow: none !important; 
        margin-bottom: 20px;
        page-break-inside: avoid;
    }
    .tile-dark { background: #fff; color: #000; border: 1px solid #000; }
    .tile-dark * { color: #000 !important; }
    .img-box img, .photo-tile img { filter: grayscale(100%); }
    .btn-link-black, .li-bottom { display: none; }
    .footer-minimal { margin-top: 2cm; border-top: 1px solid #000; padding: 1cm 0; }
}
