/* === COLOR VARIABLES === */
:root {
    --color-primary: #0a1628;
    --color-secondary: #1a365d;
    --color-muted: #718096;
    --color-accent: #3182ce;
    --color-background: #fafcff;
    --color-card-bg: #ffffff;
    --color-tag-bg: #bee3f8;
    --color-border: #e2e8f0;
}

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

body {
    font-family: 'Instrument Sans', 'SF Pro Display', -apple-system, sans-serif;
    background: var(--color-background);
    min-height: 100vh;
    color: var(--color-primary);
}

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

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 100;
    border-bottom: 1px solid transparent;
}

.main-nav.nav-scrolled,
.main-nav.nav-solid {
    background: rgba(250, 252, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--color-primary);
    text-decoration: none;
}

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

.nav-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

.nav-link:hover { color: var(--color-primary); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--color-primary); }
.nav-link.active::after { width: 100%; }

/* === BUTTONS === */
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover { background: #2b6cb0; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline:hover { border-color: var(--color-primary); }

.btn-text {
    background: none;
    border: none;
    color: var(--color-secondary);
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: color 0.2s ease;
    text-decoration: none;
}

.btn-text:hover { color: var(--color-accent); }

/* === CARDS === */
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 28px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.card-clickable { cursor: pointer; }
.card-clickable { text-decoration: none; color: inherit; display: block; }

/* === TAGS === */
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-tag-bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.tag-lg {
    padding: 8px 14px;
    font-size: 13px;
}

/* === LABELS === */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 16px;
}

/* === HEADINGS === */
.heading-serif {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.heading-xl {
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.heading-lg {
    font-size: 48px;
    margin-bottom: 16px;
}

.heading-md {
    font-size: 36px;
}

.heading-sm {
    font-size: 42px;
    line-height: 1.2;
}

/* === FORM INPUTS === */
.input-field {
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
    background: var(--color-card-bg);
    font-family: inherit;
    color: var(--color-primary);
}

.input-field:focus { border-color: var(--color-muted); }
.input-field::placeholder { color: var(--color-muted); }

textarea.input-field {
    min-height: 160px;
    resize: vertical;
}

/* === FILTER BUTTONS === */
.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--color-border);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--color-secondary);
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-in { animation: fadeIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* === PROSE === */
.prose p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.prose strong { font-weight: 600; }

.prose h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.5em;
    font-weight: 500;
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #0a1628;
}

.prose h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.25em;
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #0a1628;
}

.prose h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    color: #0a1628;
}

.prose ul, .prose ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    line-height: 1.8;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose a {
    color: #3182ce;
    text-decoration: underline;
}

.prose a:hover {
    color: #1a365d;
}

.prose pre {
    background: #f5f5f4;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1.5em;
    font-size: 0.9em;
    line-height: 1.6;
}

.prose code {
    background: #f5f5f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.prose pre code {
    background: none;
    padding: 0;
}

.prose em {
    font-style: italic;
}

.prose hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2em 0;
}

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }
.container-medium { max-width: 1000px; margin: 0 auto; }
.container-wide { max-width: 900px; margin: 0 auto; }

.section-padding { padding: 120px 48px; }
.page-top { padding-top: 120px; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-2-wide {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }

.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-muted); }
.text-light { color: var(--color-muted); }

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 20px;
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-scroll-text {
    font-size: 11px;
    color: var(--color-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-gradient-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-gradient-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* === ABOUT SECTION === */
.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

/* === SECTION HEADER === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

/* === PROJECT IMAGES === */
.project-image-wrap {
    height: 160px;
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-wrap-lg {
    height: 200px;
    margin-bottom: 24px;
}

.project-image-wrap-xl {
    height: 300px;
    margin-bottom: 40px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === BLOG CARDS === */
.blog-card-title {
    font-size: 18px;
    font-weight: 500;
    margin: 16px 0 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-card-meta {
    font-size: 13px;
    color: var(--color-muted);
}

.blog-list-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.blog-list-title {
    font-size: 22px;
    font-weight: 500;
    margin: 12px 0 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-list-excerpt {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.6;
}

.blog-list-meta {
    text-align: right;
    min-width: 100px;
}

.blog-list-meta p {
    font-size: 13px;
    color: var(--color-muted);
}

/* === PROJECT CARDS === */
.project-placeholder {
    height: 160px;
    background: linear-gradient(135deg, #e8f2fc 0%, #bee3f8 100%);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-lg {
    height: 200px;
    margin-bottom: 24px;
}

.project-placeholder-xl {
    height: 300px;
    margin-bottom: 40px;
}

.project-placeholder span {
    font-size: 32px;
    opacity: 0.3;
    color: var(--color-accent);
}

.project-placeholder-lg span {
    font-size: 40px;
}

.project-placeholder-xl span {
    font-size: 64px;
}

.project-card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-card-desc {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.project-list-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.project-list-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.project-list-year {
    font-size: 13px;
    color: var(--color-muted);
}

.project-list-desc {
    font-size: 15px;
    color: var(--color-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* === CARD HIGHLIGHTS === */
.card-highlights {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
}

.card-highlights li {
    padding-left: 14px;
    position: relative;
    font-size: 13px;
    color: var(--color-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.card-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* === WORK CARDS === */
.work-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tag-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.tag-type-experience {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-type-project {
    background: var(--color-tag-bg);
    color: var(--color-accent);
}

.experience-card-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.experience-card-company {
    font-size: 15px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.experience-card-year {
    font-size: 13px;
    color: var(--color-muted);
    white-space: nowrap;
}

.experience-detail-company {
    font-size: 18px;
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 4px;
}

/* === POST DETAIL === */
.post-header { margin-bottom: 48px; }

.post-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 16px 0;
    line-height: 1.2;
}

.post-meta {
    font-size: 14px;
    color: var(--color-muted);
}

.post-content {
    font-size: 17px;
    color: var(--color-secondary);
}

.share-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.share-buttons {
    display: flex;
    gap: 16px;
}

.share-buttons .btn-outline {
    padding: 10px 20px;
}

/* === PROJECT DETAIL === */
.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.project-detail-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.project-detail-desc {
    font-size: 18px;
    color: var(--color-secondary);
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.project-meta-value {
    font-size: 16px;
}

/* === NEWSLETTER === */
.newsletter {
    padding: 120px 48px;
    background: var(--color-primary);
    color: var(--color-background);
}

.newsletter-light {
    background: var(--color-card-bg);
    color: var(--color-primary);
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter .section-label {
    color: var(--color-muted);
}

.newsletter .heading-md {
    margin-bottom: 16px;
}

.newsletter-desc {
    color: var(--color-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form .input-field {
    flex: 1;
    background: #fff;
    color: var(--color-primary);
}

.newsletter .btn-primary {
    background: var(--color-accent);
    color: #fff;
    white-space: nowrap;
}

.newsletter .btn-primary:hover {
    background: #2b6cb0;
}

.newsletter-light .btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.newsletter-light .btn-primary:hover {
    background: #2b6cb0;
}

.subscribed-msg {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.newsletter-light .subscribed-msg {
    background: var(--color-tag-bg);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-desc {
    font-size: 17px;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.contact-email {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 16px;
}

.contact-social {
    display: flex;
    gap: 20px;
}

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

/* === FOOTER === */
.main-footer {
    padding: 40px 48px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-background);
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-muted);
}

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

.footer-links .nav-link {
    color: var(--color-secondary);
}

/* === MESSAGES (Django) === */
.messages {
    list-style: none;
    margin-bottom: 24px;
}

.messages li {
    padding: 12px 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.messages .success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.messages .error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Newsletter banner (inline AJAX feedback) */
.newsletter-banner {
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: opacity 0.4s ease;
}

.newsletter-banner-success {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.newsletter-light .newsletter-banner-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.newsletter-banner-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.newsletter-light .newsletter-banner-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Contact / general form banners */
.form-banner {
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: opacity 0.4s ease;
}

.form-banner-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-banner-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* === PAGE HEADER === */
.page-header {
    margin-bottom: 60px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-secondary);
    max-width: 600px;
}

/* === NEW UTILITY CLASSES (for responsive) === */
.page-section {
    padding: 60px 48px 120px;
}

.filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
}

.share-label {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 16px;
}

.btn-form-submit {
    align-self: flex-start;
}

/* === HAMBURGER MENU (hidden on desktop) === */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

.nav-toggle-active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle-active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* === SMALL DESKTOP (max 1024px) === */
@media (max-width: 1024px) {
    .heading-xl { font-size: 60px; }
    .grid-2-wide { gap: 48px; }
    .hero { padding: 100px 48px 60px; }
}

/* === TABLET (max 768px) === */
@media (max-width: 768px) {
    /* Navigation */
    .main-nav { padding: 16px 24px; }
    .nav-links { gap: 24px; }

    /* Typography */
    .heading-xl { font-size: 48px; }
    .heading-lg { font-size: 36px; }
    .heading-md { font-size: 28px; }
    .heading-sm { font-size: 32px; }

    /* Layout */
    .section-padding { padding: 80px 32px; }
    .page-section { padding: 40px 32px 80px; }
    .page-top { padding-top: 100px; }

    /* Grids */
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .grid-2 { gap: 24px; }
    .grid-2-wide { grid-template-columns: 1fr; gap: 32px; }

    /* Hero */
    .hero { padding: 100px 32px 60px; }
    .hero-tagline { font-size: 18px; }
    .hero-scroll-indicator { left: 32px; }
    .hero-gradient-1 { width: 250px; height: 250px; }
    .hero-gradient-2 { width: 200px; height: 200px; }

    /* Blog list */
    .filter-row { flex-wrap: wrap; }

    /* Blog detail */
    .post-title { font-size: 32px; }

    /* Project detail */
    .project-detail-title { font-size: 32px; }
    .project-image-wrap-xl { height: 240px; }

    /* Contact */
    .contact-grid { gap: 48px; }
    .contact-heading { font-size: 36px; }

    /* Newsletter */
    .newsletter { padding: 80px 32px; }

    /* Footer */
    .main-footer { padding: 32px 32px; }

    /* Page header */
    .page-header { margin-bottom: 40px; }
}

/* === MOBILE (max 480px) === */
@media (max-width: 480px) {
    /* Navigation - hamburger */
    .nav-toggle { display: flex; }
    .main-nav { padding: 14px 20px; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 252, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 100;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 18px;
    }

    /* Typography */
    .heading-xl { font-size: 36px; }
    .heading-lg { font-size: 28px; }
    .heading-md { font-size: 24px; }
    .heading-sm { font-size: 26px; }

    /* Layout */
    .section-padding { padding: 60px 20px; }
    .page-section { padding: 32px 20px 60px; }
    .page-top { padding-top: 80px; }

    /* Grids */
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2-wide { gap: 24px; }

    /* Hero */
    .hero { padding: 100px 20px 60px; }
    .hero-tagline { font-size: 16px; max-width: 100%; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary,
    .hero-cta .btn-outline { width: 100%; justify-content: center; }
    .hero-scroll-indicator { display: none; }
    .hero-gradient-1 { width: 150px; height: 150px; }
    .hero-gradient-2 { display: none; }

    /* Section header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    /* Cards */
    .card { padding: 20px; }

    /* Blog list */
    .blog-list-card { grid-template-columns: 1fr; }
    .blog-list-meta { text-align: left; min-width: auto; }
    .blog-list-title { font-size: 18px; }
    .filter-row { flex-wrap: wrap; margin-bottom: 32px; }

    /* Experience cards */
    .experience-card-header { flex-direction: column; gap: 4px; }
    .experience-card-year { margin-left: 0; }
    .experience-card-title { font-size: 18px; }

    /* Blog detail */
    .post-title { font-size: 26px; }
    .post-content { font-size: 16px; }
    .share-buttons { flex-wrap: wrap; }
    .share-section { margin-top: 40px; padding-top: 24px; }

    /* Project detail */
    .project-detail-header {
        flex-direction: column;
        gap: 16px;
    }
    .project-detail-title { font-size: 26px; }
    .project-detail-desc { font-size: 16px; }
    .project-meta-grid { gap: 24px; }
    .project-image-wrap-xl { height: 180px; }
    .project-image-wrap-lg { height: 160px; }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-heading { font-size: 28px; }
    .contact-desc { font-size: 16px; }
    .btn-form-submit { align-self: stretch; }

    /* Newsletter */
    .newsletter { padding: 60px 20px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn-primary { width: 100%; justify-content: center; }

    /* Footer */
    .main-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 32px 20px;
    }

    /* Page header */
    .page-header { margin-bottom: 32px; }
    .page-subtitle { font-size: 16px; }

    /* Margins */
    .mb-48 { margin-bottom: 32px; }
    .mb-40 { margin-bottom: 28px; }
    .mb-60 { margin-bottom: 40px; }
}
