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

html,
body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FAF9F6;
    color: #1A1918;
}

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

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    line-height: 1.1;
    color: #1A1918;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.03em;
    margin-top: 16px;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    margin-top: 36px;
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-top: 16px;
    margin-bottom: 16px;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    letter-spacing: -0.01em;
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: -0.01em;
}

h6 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    letter-spacing: 0;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 1200px;
}

.container--narrow {
    max-width: 680px;
}

.container--medium {
    max-width: 991px;
}

.container--wide {
    max-width: 1200px;
}

.container--full {
    max-width: 1440px;
}

.blog-header {
    padding: 120px 0 48px;
}

.blog-header h1 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #1A1918;
}

.blog-header p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 400px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 120px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.blog-card {
    display: block;
    padding: 32px 0;
    border-top: 1px solid rgba(26, 25, 24, 0.1);
    transition: all 0.2s ease;
}

.blog-card:last-child {
    border-bottom: 1px solid rgba(26, 25, 24, 0.1);
}

@media (min-width: 768px) {
    .blog-card {
        border-top: none;
        border-bottom: none;
        padding: 0;
    }
    
    .blog-card:last-child {
        border-bottom: none;
    }
}

.blog-card:hover .blog-card-title {
    color: #666;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-date {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-tag {
    font-size: 11px;
    font-weight: 600;
    color: #1A1918;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    background: rgba(26, 25, 24, 0.06);
    border-radius: 20px;
}

.blog-card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #1A1918;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article {
    padding-top: 100px;
    padding-bottom: 100px;
}

.article-header {
    padding: 40px 0 48px;
    border-bottom: 1px solid rgba(26, 25, 24, 0.1);
    margin-bottom: 48px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.article-date {
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.05em;
}

.article-tag {
    font-size: 11px;
    font-weight: 600;
    color: #1A1918;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    background: rgba(26, 25, 24, 0.06);
    border-radius: 20px;
}

.article-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #1A1918;
    max-width: 720px;
}

.article-content {
    padding-bottom: 120px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
    max-width: 680px;
}

.article-content h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1A1918;
    margin-top: 56px;
    margin-bottom: 20px;
    max-width: 680px;
}

.article-content h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #1A1918;
    margin-top: 40px;
    margin-bottom: 16px;
    max-width: 680px;
}

.article-content blockquote {
    border-left: 3px solid #1A1918;
    padding-left: 24px;
    margin: 40px 0;
    font-size: 1.125rem;
    font-style: italic;
    color: #1A1918;
    max-width: 680px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    max-width: 680px;
}

.article-content li {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
}

.article-content code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    background: rgba(26, 25, 24, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

.article-content pre {
    background: #1A1918;
    color: #FAF9F6;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
    max-width: 100%;
}

.article-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
}

.article-content strong {
    font-weight: 600;
    color: #1A1918;
}

.article-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #666;
}

.hero-content {
    background: #FAF9F6;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
}

.logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #1A1918;
    border-radius: 50%;
}

.headline {
    font-family: 'Instrument Sans', sans-serif;
    word-spacing: 0.08em;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.headline em {
    font-style: italic;
}

.headline--article {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 800px;
}

.headline--display {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.headline--section {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.headline--card {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.headline--hero {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.03em;
}

.headline--minimal {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.headline--quote {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-style: italic;
    border-left: 3px solid #1A1918;
    padding-left: 24px;
}

.headline--mono {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.headline--gradient {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1A1918 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline--outline {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 2px #1A1918;
}

.headline--tight {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.04em;
}

.headline--loose {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.headline--stacked {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.headline--stacked span {
    display: block;
}

.headline--accent {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline--accent em {
    font-style: normal;
    color: #666;
}

.headline--inverted {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FAF9F6;
}

.subhead {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 400px;
    margin-bottom: 32px;
}

.cta {
    display: inline-block;
    padding: 16px 32px;
    background: #1A1918;
    color: #FAF9F6;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cta:hover {
    background: #333;
}

.date {
    position: absolute;
    bottom: 40px;
    left: 60px;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .date {
        position: static;
        margin-top: 40px;
        display: none;
    }
}

.hero-media {
    background: #EFEEEB;
}

.header {
    position: static;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    pointer-events: none;
    transition: background 0.3s ease;
}

.header.header--overlaid {
    position: fixed;
}

.header.scrolled {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header>* {
    pointer-events: auto;
}

.avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-expand-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: scale(0);
    transform-origin: top left;
    width: 240px;
    height: 240px;
    background: #EFEEEB;
    border-radius: 0 0 100% 0;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 100px;
    padding-left: 40px;
    gap: 8px;
}

@media (hover: hover) {
    .avatar-container:hover .avatar-expand-circle {
        transform: scale(1);
        opacity: 1;
    }

    .avatar-container:hover .avatar-expand-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .avatar-container:hover .avatar-expand-btn:nth-child(1) {
        transition-delay: 0.15s;
    }

    .avatar-container:hover .avatar-expand-btn:nth-child(2) {
        transition-delay: 0.2s;
    }

    .avatar-container:hover .header-avatar {
        transform: scale(1.05);
    }
}

.avatar-container.active .avatar-expand-circle {
    transform: scale(1);
    opacity: 1;
}

.avatar-container.active .avatar-expand-btn {
    opacity: 1;
    transform: translateY(0);
}

.avatar-container.active .avatar-expand-btn:nth-child(1) {
    transition-delay: 0.15s;
}

.avatar-container.active .avatar-expand-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.avatar-container.active .header-avatar {
    transform: scale(1.05);
}

.avatar-expand-btn {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    padding: 10px 24px;
    background: rgba(26, 25, 24, 0.08);
    border: none;
    border-radius: 20px;
    color: #1A1918;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

.avatar-expand-btn:hover {
    background: rgba(26, 25, 24, 0.15);
}

.avatar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 25, 24, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.avatar-container.active .avatar-overlay {
    opacity: 1;
    visibility: visible;
}

.header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #1A1918;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.menu-btn:hover {
    transform: scale(1.05);
    background: #333;
}

.menu-btn span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
    transition: transform 0.3s ease;
}

.menu-btn span::before,
.menu-btn span::after {
    content: '';
    height: 2px;
    background: #FAF9F6;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.active span::before {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-btn.active span::after {
    transform: translateY(-3.5px) rotate(-45deg);
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #FAF9F6;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0);
}

.sidebar.open {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 25, 24, 0.3);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.sidebar-link {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1A1918;
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 25, 24, 0.1);
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        color 0.2s ease;
}

.sidebar.open .sidebar-link {
    transform: translateX(0);
    opacity: 1;
}

.sidebar.open .sidebar-link:nth-child(1) {
    transition-delay: 0.1s;
}

.sidebar.open .sidebar-link:nth-child(2) {
    transition-delay: 0.15s;
}

.sidebar.open .sidebar-link:nth-child(3) {
    transition-delay: 0.2s;
}

.sidebar.open .sidebar-link:nth-child(4) {
    transition-delay: 0.25s;
}

.sidebar-link:hover {
    color: #666;
}

.sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.sidebar-card {
    background: #EFEEEB;
    border-radius: 12px;
    padding: 20px;
    color: #1A1918;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        background 0.2s ease;
}

.sidebar.open .sidebar-card {
    transform: translateY(0);
    opacity: 1;
}

.sidebar.open .sidebar-card:nth-child(1) {
    transition-delay: 0.25s;
}

.sidebar.open .sidebar-card:nth-child(2) {
    transition-delay: 0.3s;
}

.sidebar-card:hover {
    background: #E5E4E1;
}

.sidebar-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.sidebar-card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.sidebar-card-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        padding: 20px 24px;
    }

    .sidebar {
        max-width: 100%;
        padding: 80px 24px 24px;
    }

    .sidebar-overlay {
        display: none;
    }

    .sidebar-link {
        font-size: 1.5rem;
    }

    .avatar-expand-circle {
        padding-left: 24px;
        padding-top: 90px;
    }
}