﻿/* Editorial detail pages. Applied after the preserved content stylesheet. */
:root {
  --ink: #170d0b; --surface: #21100e; --paper: #f3e8d6; --muted: #ccb39c; --accent: #f0b25e;
  --color-base: var(--ink); --color-surface: var(--surface); --color-surface-2: #2e221b;
  --text-primary: var(--paper); --text-secondary: #d5c4b2; --text-muted: var(--muted);
  --accent-blue: var(--accent); --accent-purple: var(--accent); --accent-pink: var(--accent);
  --accent-cyan: var(--accent); --accent-green: var(--accent);
  --gradient-primary: linear-gradient(135deg, #f0b25e, #efe5db);
  --gradient-secondary: linear-gradient(135deg, #f0b25e, #efe5db);
  --glass-bg: #21100e; --glass-bg-hover: #2e221b; --glass-border: #443228;
  --glass-border-hover: #8c6d4b; --shadow-sm: none; --shadow-md: none;
  --shadow-glow: none; --shadow-glow-hover: none; --container-max: 1320px;
}
body { background: var(--ink); color: var(--paper); opacity: 1; animation: none; }
body::before, body::after, .hero-background, .scroll-indicator, .loading-screen { display: none; }
::selection { background: var(--accent); color: var(--ink); }
html { scroll-padding-top: 120px; }
button, input, textarea { font: inherit; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 9999; top: -80px; left: 20px; background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.navbar, .navbar.scrolled {
  top: 20px; left: 32px; right: 32px; width: auto; max-width: 1380px; margin: auto;
  height: 72px; background: rgba(25, 28, 25, .95); border: 1px solid #48392a;
  border-radius: 12px; box-shadow: 0 12px 32px #0002;
}
.nav-container { padding: 0 25px; gap: 24px; max-width: none; }
.nav-logo { margin-right: auto; }
.nav-logo a { background: none; -webkit-text-fill-color: var(--paper); color: var(--paper); letter-spacing: -.06em; font-size: 24px; white-space: nowrap; }
.nav-logo a::after { display: none; }
.profile-brand-mark { color: var(--accent); -webkit-text-fill-color: var(--accent); font-size: 22px; margin-left: 3px; }
.nav-menu { gap: 24px; }
.nav-link { font-size: 12px; letter-spacing: -.01em; }
.nav-link::after { height: 1px; }
.nav-extra { display: none; }
.nav-command { border: 1px solid #574633; background: transparent; color: var(--muted); border-radius: 6px; min-width: 46px; height: 35px; padding: 0 10px; font: 11px ui-monospace, monospace; cursor: pointer; }
.nav-command:hover { border-color: var(--accent); color: var(--paper); }
.nav-toggle { background: none; border: 0; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; }
.container { padding: 0; width: min(100% - 96px, 1200px); }
.hero { min-height: 760px; padding: 174px 48px 98px; text-align: left; border-bottom: 1px solid #402f25; }
.hero-content { width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 70px; }
.hero-eyebrow, .section-kicker, .project-number, .portrait-caption, .github-snapshot {
  display: block; color: var(--muted); font: 10px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-eyebrow { color: var(--accent); margin-bottom: 28px; }
.hero-eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 10px 2px 0; }
.hero h1.hero-title { color: var(--paper); font-size: clamp(56px, 6.7vw, 98px); font-weight: 500; line-height: .99; letter-spacing: -.07em; margin-bottom: 27px; }
.hero h1 .highlight { display: block; background: none; color: var(--paper); -webkit-text-fill-color: var(--paper); }
.hero-subtitle { color: var(--accent); font-size: 13px; line-height: 1.6; margin-bottom: 22px; font-weight: 400; max-width: none; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 550px; margin: 0 0 30px; }
.hero-buttons { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: 0; }
.btn { border-radius: 7px; font-size: 12px; min-height: 44px; font-weight: 500; padding: 13px 20px; transition: transform .2s, background .2s, border-color .2s; white-space: normal; }
.btn-primary, .btn-primary:hover { background: var(--accent); color: var(--ink); box-shadow: none; border-color: var(--accent); }
.btn-secondary, .btn-cv, .btn-cv-preview, .btn-outline { background: transparent; color: var(--paper); border-color: #554432; box-shadow: none; }
.btn-secondary:hover, .btn-cv:hover, .btn-cv-preview:hover, .btn-outline:hover { background: #382921; color: var(--paper); box-shadow: none; border-color: #a8835c; }
.hero-buttons .btn-cv, .hero-buttons .btn-cv-preview { min-height: 40px; padding: 10px 13px; font-size: 11px; }
.hero-image { width: 100%; margin: 0; }
.profile-card { width: 100%; max-width: 350px; padding: 0; border-radius: 12px; margin: 0 0 0 auto; transform: none; overflow: hidden; position: relative; background: #30231c; border: 1px solid #554432; box-shadow: none; }
.profile-card:hover { transform: none; box-shadow: none; }
.profile-card::before, .profile-card::after, .profile-img::before { display: none; }
.profile-img { width: 100%; height: 385px; margin: 0; border: 0; border-radius: 0; overflow: hidden; padding: 0; background: #30231c; box-shadow: none; }
.profile-avatar { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 0; filter: grayscale(1); transition: filter .4s; border: 0; padding: 0; }
.profile-card:hover .profile-avatar { filter: grayscale(.25); transform: none; }
.profile-info { text-align: left; padding: 23px; background: #2b2019; }
.profile-info h3 { font-size: 12px; color: var(--paper); margin-bottom: 4px; }
.profile-info h3::before { background: var(--accent); box-shadow: none; animation: none; }
.profile-info p { color: var(--muted); font-size: 11px; }
.portrait-caption { max-width: 350px; margin: 14px 0 0 auto; text-align: right; }
section.about, section.skills, section.projects, section.experience, section.github-profile, section.certifications, section.references, section.contact {
  padding: 105px 0; max-width: none; width: 100%; margin: 0; background: none; border-bottom: 1px solid #402f25;
}
.section-header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; text-align: left; margin-bottom: 50px; gap: 24px; }
.section-kicker { grid-column: 1 / -1; margin-bottom: 0; color: var(--accent); }
.section-header h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; color: var(--paper); background: none; -webkit-text-fill-color: var(--paper); text-shadow: none; margin: 0; max-width: 560px; }
.section-header p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 320px; margin: 0 0 2px auto; width: 100%; }
.about-content { grid-template-columns: 1.25fr .65fr; gap: 95px; align-items: start; text-align: left; }
.about-text p { color: #cfbba6; font-size: 14px; line-height: 1.9; }
.about-stats { border-top: 1px solid #453328; margin-top: 35px; padding-top: 25px; gap: 22px; }
.stat { text-align: left; background: none; border: 0; padding: 0; }
.stat h3, .stat .counter { font-size: 32px; font-weight: 500; letter-spacing: -.05em; color: var(--accent); background: none; -webkit-text-fill-color: var(--accent); }
.stat p { font-size: 10px; line-height: 1.7; margin-top: 7px; }
.about-image .image-container { max-width: 100%; border-radius: 9px; box-shadow: none; border: 1px solid #564532; }
.profile-photo { filter: grayscale(1); }
.image-overlay { background: linear-gradient(transparent, #170d0bd9); }
.skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.skill-category { border: 1px solid #433228; border-radius: 9px; padding: 26px; background: #211914; box-shadow: none; backdrop-filter: none; }
.skill-category::before, .skill-category::after, .skill-item::before { display: none; }
.skill-category:hover { transform: translateY(-3px); box-shadow: none; border-color: #765c40; }
.skill-category h3 { font-size: 15px; color: var(--paper); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #443228; }
.skill-category h3 i { color: var(--accent); }
.skill-items { gap: 5px; }
.skill-item { padding: 9px 0; background: none; border: 0; box-shadow: none; border-radius: 0; gap: 12px; }
.skill-item:hover { transform: translateX(3px); background: none; border: 0; box-shadow: none; }
.skill-item[data-skill] .skill-icon { background: #362820; color: var(--accent); width: 33px; height: 33px; min-width: 33px; border-radius: 6px; font-size: 16px; box-shadow: none; }
.skill-icon .custom-icon { font-size: 10px; font-weight: 500; }
.skill-name { font-size: 12px; font-weight: 500; }
.skill-level { font-size: 10px; }
.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
.project-card { background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; overflow: visible; }
.project-card::before { display: none; }
.project-card:hover { transform: none; box-shadow: none; }
.project-image { height: 360px; border-radius: 9px; background: #33261e; display: block; border: 1px solid #4f3f2e; overflow: hidden; }
.project-placeholder { font-size: 28px; font-weight: 500; letter-spacing: -.04em; padding: 40px; opacity: 1; color: var(--accent); }
.project-card:hover .project-placeholder { transform: none; }
.project-overlay, .project-card:hover .project-overlay { position: absolute; inset: auto 20px 20px; opacity: 1; background: none; backdrop-filter: none; justify-content: flex-end; }
.project-links { justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.project-links .btn { background: #19130f; color: var(--paper); border: 1px solid #71583d; font-size: 10px; min-height: 36px; padding: 9px 13px; }
.project-links .btn:hover { background: var(--accent); color: var(--ink); }
.project-content { padding: 24px 0 0; }
.project-number { font-size: 9px; margin-bottom: 10px; }
.project-content h3, .project-card:hover .project-content h3 { font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: -.04em; background: none; color: var(--paper); -webkit-text-fill-color: var(--paper); margin-bottom: 10px; }
.project-content p { font-size: 12px; line-height: 1.85; color: var(--muted); margin-bottom: 19px; }
.project-tech { gap: 6px; }
.project-tech span, .design-tool-tag { font-size: 9px; padding: 5px 9px; border-radius: 4px; color: #d2bfab; border: 1px solid #433228; background: none; }
.project-schematic { height: 100%; position: relative; overflow: hidden; padding: 32px; }
.schematic-label { display: block; font: 9px ui-monospace, monospace; letter-spacing: .2em; }
.project-schematic strong { display: block; max-width: 210px; margin-top: 22px; font-size: 34px; line-height: 1.12; font-weight: 400; letter-spacing: -.055em; }
.schematic-orbit { position: absolute; right: -10px; top: 10px; width: 235px; height: 260px; transform: rotate(-25deg); }
.schematic-orbit > span { position: absolute; left: 20%; top: 2%; width: 60%; height: 96%; border: 1px solid #b394726e; border-radius: 50%; transform: rotate(0deg); }
.schematic-orbit > span:nth-child(2) { transform: rotate(60deg); }
.schematic-orbit > span:nth-child(3) { transform: rotate(120deg); }
.schematic-orbit b { position: absolute; inset: 35%; font-size: 52px; font-weight: 400; color: var(--accent); transform: rotate(25deg); }
.schematic-flow { display: flex; position: absolute; bottom: 79px; left: 32px; gap: 8px; align-items: center; font: 8px ui-monospace, monospace; letter-spacing: .04em; }
.schematic-flow span { background: #19130f66; padding: 8px 10px; border: 1px solid #a7825b55; border-radius: 3px; }
.schematic-flow span + span::before { content: "→"; margin-right: 8px; color: var(--accent); }
.schematic-1 { background: #302e24; color: #e5dec1; }
.schematic-1 .schematic-orbit { transform: rotate(12deg); opacity: .7; }
.schematic-2 { background: #392a21; color: #e1d4c6; }
.schematic-2 .schematic-orbit > span { border-radius: 8px; transform: rotate(35deg); }
.schematic-2 .schematic-orbit > span:nth-child(2) { transform: rotate(65deg); }
.schematic-2 .schematic-orbit > span:nth-child(3) { transform: rotate(95deg); }
.schematic-3 { background: #2d2e34; color: #d6d6e2; }
.timeline { max-width: 100%; margin: 0; }
.timeline::before { left: 10px; background: #4a3b2b; width: 1px; }
.timeline-item { padding-left: 55px; margin-bottom: 20px; }
.timeline-marker { left: 4px; top: 28px; width: 13px; height: 13px; background: #745a3e; border: 3px solid var(--ink); box-shadow: none; }
.timeline-item.is-reached .timeline-marker { background: var(--accent); box-shadow: 0 0 0 4px #f0b25e12; }
.timeline-content { background: none; border: 0; border-bottom: 1px solid #3e2e25; padding: 23px 0 29px; border-radius: 0; backdrop-filter: none; }
.timeline-content::before { display: none; }
.timeline-item:hover .timeline-content { transform: none; box-shadow: none; }
.timeline-content h3 { font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.timeline-content h4 { font: 11px/1.8 ui-monospace, monospace; color: var(--accent); margin: 8px 0 12px; }
.timeline-content p { max-width: 760px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.github-content { max-width: none; }
.github-stats { gap: 1px; background: #453329; padding: 1px; border: 0; border-radius: 9px; overflow: hidden; margin: 0 0 20px; }
.stat-card { background: #211914; border: 0; border-radius: 0; padding: 28px; text-align: left; backdrop-filter: none; box-shadow: none; }
.stat-card:hover { transform: none; box-shadow: none; }
.stat-card h3 { font-size: 38px; font-weight: 500; letter-spacing: -.05em; color: var(--accent); -webkit-text-fill-color: var(--accent); background: none; }
.stat-card p { font-size: 11px; }
.github-snapshot { font-size: 9px; text-transform: none; letter-spacing: .03em; margin-bottom: 30px; }
.github-direct { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px; border: 1px solid #4d3e2e; border-radius: 8px; background: #231a15; margin-bottom: 45px; }
.github-direct strong { font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.github-direct p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.github-highlights h3 { text-align: left; font-size: 20px; font-weight: 500; color: var(--paper); margin-bottom: 24px; }
.activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.activity-item { background: none; border: 1px solid #433228; border-radius: 8px; padding: 24px; }
.activity-item i { color: var(--accent); background: #372820; }
.activity-item h4 { font-size: 13px; color: var(--paper); }
.activity-item p { font-size: 11px; line-height: 1.8; color: var(--muted); }
.certifications-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cert-category { background: #211914; border: 1px solid #453329; border-radius: 8px; padding: 26px; box-shadow: none; }
.cert-category h3 { color: var(--accent); font-size: 15px; font-weight: 500; }
.cert-item { background: none; border: 0; border-top: 1px solid #453329; border-radius: 0; padding: 18px 0; }
.cert-item h4 { color: var(--paper); font-size: 12px; }
.cert-item p { color: var(--muted); font-size: 11px; }
.soft-skills-container { margin-top: 45px; background: #2a1f19; border: 1px solid #4f3f2e; border-radius: 8px; padding: 30px; box-shadow: none; }
.soft-skills-container h3 { font-size: 20px; font-weight: 500; text-align: left; color: var(--paper); }
.soft-skill-item { background: none; border-color: #4f3f2e; color: var(--paper); font-size: 12px; }
.soft-skill-item i { color: var(--accent); }
.reference-card { border: 1px solid #453329; background: none; border-radius: 8px; padding: 30px; }
.reference-content h3 { color: var(--paper); font-size: 19px; font-weight: 500; }
.reference-content h4, .reference-contact p { color: var(--muted); font-size: 12px; }
.contact-content { grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info > h3 { font-size: 29px; font-weight: 500; letter-spacing: -.05em; color: var(--paper); }
.contact-info > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.contact-item { border: 0; border-bottom: 1px solid #443228; border-radius: 0; background: none; padding: 20px 0; box-shadow: none; }
.contact-item:hover { transform: none; background: none; box-shadow: none; }
.contact-item i { background: #34271f; color: var(--accent); box-shadow: none; }
.contact-item h4 { color: var(--paper); font-size: 12px; }
.contact-item p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.contact-form { padding: 30px; background: #231a14; border: 1px solid #4a3b2b; border-radius: 10px; box-shadow: none; }
.form-group label { display: block; font: 10px/1.8 ui-monospace, monospace; color: #d6c6b4; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .08em; }
.form-group input, .form-group textarea { background: #18120e; color: var(--paper); border: 1px solid #4c3d2d; border-radius: 5px; font-size: 12px; padding: 13px 15px; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #a9855f; }
.form-hint, .form-status { font-size: 11px; line-height: 1.8; color: var(--muted); }
.form-hint { margin-bottom: 20px; }
.form-status:not(:empty) { margin-top: 15px; color: var(--accent); }
.footer { background: var(--ink); padding: 55px 0 25px; border: 0; }
.footer-content { grid-template-columns: 1fr 1.5fr auto; align-items: start; text-align: left; gap: 30px; }
.footer-info h3 { color: var(--paper); font-size: 20px; background: none; -webkit-text-fill-color: var(--paper); font-weight: 500; letter-spacing: -.04em; }
.footer-info p, .footer-bottom p { font-size: 10px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { font-size: 11px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.social-link { width: 38px; height: 38px; border-radius: 6px; border: 1px solid #47392a; background: none; color: var(--paper); }
.social-link:hover { box-shadow: none; background: #372820; color: var(--accent); }
.back-to-top, .whatsapp-float { background: #37271d; border: 1px solid #7d6144; box-shadow: none; color: var(--accent); width: 44px; height: 44px; border-radius: 50%; right: 24px; }
.whatsapp-float { bottom: 24px; }
.back-to-top { bottom: 80px; }
.cv-modal-overlay, .lightbox-overlay { position: fixed; inset: 0; width: min(100% - 40px, 1050px); max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #6d553b; border-radius: 10px; background: #1d1511; color: var(--paper); opacity: 1; visibility: visible; transform: none; }
.cv-modal-overlay:not([open]), .lightbox-overlay:not([open]) { display: none; }
.cv-modal-overlay[open], .lightbox-overlay[open] { display: block; }
.cv-modal-overlay::backdrop, .lightbox-overlay::backdrop { background: #0a0604cc; backdrop-filter: blur(8px); }
.cv-modal { width: 100%; height: auto; max-height: none; max-width: none; margin: 0; border: 0; background: #1d1511; border-radius: 0; transform: none; box-shadow: none; }
.cv-modal-header { padding: 18px 24px; border-bottom: 1px solid #493b2b; background: #271d17; }
.cv-modal-title { color: var(--paper); font-size: 16px; }
.cv-modal-close, .lightbox-close { width: 44px; height: 44px; min-width: 44px; background: #3b2b22; color: var(--paper); border: 1px solid #72593e; border-radius: 6px; cursor: pointer; }
.cv-modal-body { height: min(65dvh, 700px); }
.cv-modal-body iframe { width: 100%; height: 100%; border: 0; }
.cv-fallback { padding: 14px 24px; font-size: 12px; color: var(--accent); text-decoration: underline; display: inline-block; }
.designs-hero { background: none; padding: 190px 32px 65px; text-align: left; max-width: 1264px; margin: auto; }
.designs-hero::before { display: none; }
.designs-hero h1 { color: var(--paper); -webkit-text-fill-color: var(--paper); background: none; font-size: clamp(50px, 7vw, 96px); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.designs-hero p { color: var(--muted); margin: 22px 0 0; font-size: 14px; max-width: 540px; }
.designs-filters, .designs-gallery { width: min(100% - 96px, 1200px); padding: 0; margin: 0 auto 35px; justify-content: flex-start; }
.filter-btn { color: var(--muted); background: none; border: 1px solid #4c3d2c; border-radius: 6px; font: 11px ui-monospace, monospace; padding: 11px 19px; min-height: 42px; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); box-shadow: none; }
.gallery-grid { gap: 25px; }
.design-card { background: #231a14; border: 1px solid #4c3d2d; border-radius: 9px; box-shadow: none; }
.design-card:hover { border-color: #a47f58; box-shadow: none; }
.design-card-title { color: var(--paper); font-size: 19px; }
.design-card-category { color: var(--accent); }
.design-card-overlay { background: #12090380; }
.design-card:focus-within .design-card-overlay { opacity: 1; }
.design-card-overlay-btn { background: var(--accent); color: var(--ink); border: 0; }
.designs-empty { padding: 85px 30px; margin-bottom: 65px; border: 1px dashed #514130; border-radius: 10px; background: #1f1712; text-align: center; }
.designs-empty > i { color: var(--accent); font-size: 42px; }
.designs-empty h3 { font-size: 25px; font-weight: 500; color: var(--paper); letter-spacing: -.035em; }
.designs-empty p { font-size: 12px; color: var(--muted); max-width: 400px; margin: 15px auto 25px; line-height: 1.8; }
.lightbox-container { max-width: none; width: 100%; max-height: none; transform: none; background: #231a14; border: 0; border-radius: 0; }
.lightbox-image-wrap { background: #18100c; }
.lightbox-info { padding: 24px; }
.lightbox-title { color: var(--paper); }
.lightbox-category { color: var(--accent); }
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-menu { gap: 15px; } .nav-container { padding: 0 18px; gap: 16px; }
  .nav-logo a { font-size: 21px; } .hero-content { gap: 35px; }
  .hero-buttons { max-width: 380px; } .skills-grid, .certifications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .navbar, .navbar.scrolled { top: 12px; left: 16px; right: 16px; height: 64px; }
  .nav-container { padding: 0 14px 0 20px; gap: 10px; }
  .nav-logo a { font-size: 23px; }
  .nav-toggle { display: flex; }
  .nav-menu { display: flex; position: absolute; top: 76px; right: 0; left: 0; width: 100%; height: auto; max-height: calc(100dvh - 110px); overflow: auto; border: 1px solid #594835; border-radius: 10px; background: #211813; padding: 18px 24px; gap: 0; flex-direction: column; align-items: stretch; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .nav-menu.active { visibility: visible; opacity: 1; pointer-events: auto; transform: none; right: 0; }
  .nav-extra { display: block; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid #3f2f25; font-size: 14px; }
  .nav-link::after { display: none; }
  html:not(.profile-enhanced) .nav-menu { position: static; visibility: visible; opacity: 1; pointer-events: auto; transform: none; display: flex; flex-direction: row; flex-wrap: wrap; max-height: none; padding: 10px; }
  html:not(.profile-enhanced) .navbar { height: auto; position: relative; }
  html:not(.profile-enhanced) .nav-container { flex-wrap: wrap; }
  html:not(.profile-enhanced) .nav-toggle, html:not(.profile-enhanced) .nav-command { display: none; }
  .container { width: calc(100% - 48px); }
  .hero { min-height: 0; padding: 135px 24px 70px; }
  .hero-content { grid-template-columns: 1fr .65fr; gap: 30px; }
  .hero h1.hero-title { font-size: 60px; }
  .hero-eyebrow { font-size: 8px; margin-bottom: 22px; }
  .hero-subtitle { font-size: 12px; }
  .hero-description { font-size: 12px; }
  .profile-img { height: 300px; }
  .profile-info { padding: 18px; }
  .portrait-caption { font-size: 8px; }
  .hero-buttons .btn { width: auto; max-width: none; }
  section.about, section.skills, section.projects, section.experience, section.github-profile, section.certifications, section.references, section.contact { padding: 75px 0; }
  .about-content { gap: 35px; }
  .skills-grid, .certifications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-image { height: 310px; }
  .project-schematic { padding: 23px; }
  .project-schematic strong { font-size: 28px; max-width: 175px; }
  .schematic-orbit { width: 170px; height: 200px; right: -55px; top: 15px; opacity: .55; }
  .schematic-flow { left: 23px; font-size: 7px; gap: 5px; }
  .schematic-flow span { padding: 6px; }
  .contact-content { gap: 35px; }
  .footer-content { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-social { justify-content: flex-start; }
  .designs-filters, .designs-gallery { width: calc(100% - 48px); }
}
@media (max-width: 600px) {
  .hero-content { grid-template-columns: 1fr; gap: 38px; }
  .hero h1.hero-title { font-size: clamp(58px, 15vw, 82px); max-width: 470px; }
  .hero-description { max-width: 440px; font-size: 13px; }
  .hero-subtitle { max-width: 320px; }
  .hero-buttons { max-width: 390px; }
  .hero-buttons .btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .hero-image { width: 100%; max-width: 390px; }
  .profile-card { max-width: 100%; display: grid; grid-template-columns: 100px 1fr; align-items: center; }
  .profile-img { height: 120px; }
  .profile-info { background: none; padding: 20px; }
  .portrait-caption { text-align: left; margin-left: 0; max-width: none; }
  .section-header { grid-template-columns: 1fr; gap: 17px; margin-bottom: 32px; }
  .section-kicker { grid-column: auto; font-size: 9px; }
  .section-header h2 { font-size: 36px; max-width: 360px; }
  .section-header p { margin: 0; max-width: 360px; font-size: 12px; }
  .about-content { grid-template-columns: 1fr; text-align: left; }
  .about-text { order: 0; }
  .about-image { order: 1; display: none; }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat h3, .stat .counter { font-size: 29px; }
  .stat p { font-size: 9px; }
  .skills-grid, .projects-grid, .certifications-grid, .references-grid, .contact-content { grid-template-columns: minmax(0, 1fr); }
  .skill-category { padding: 24px; }
  .projects-grid { gap: 40px; }
  .project-image { height: 330px; }
  .project-schematic strong { font-size: 35px; max-width: 210px; }
  .schematic-orbit { right: -35px; width: 230px; height: 255px; opacity: .65; }
  .schematic-flow { font-size: 8px; }
  .project-content h3 { font-size: 22px; }
  .timeline-item { padding-left: 32px; }
  .timeline-content h3 { font-size: 17px; }
  .timeline-content h4 { font-size: 10px; }
  .timeline-content p { font-size: 12px; }
  .github-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .stat-card { padding: 24px; }
  .stat-card h3 { font-size: 35px; }
  .github-direct { flex-direction: column; align-items: flex-start; padding: 24px; }
  .github-direct strong { font-size: 18px; }
  .activity-grid { grid-template-columns: minmax(0, 1fr); }
  .soft-skills-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soft-skills-container { padding: 24px; }
  .soft-skill-item { font-size: 11px; padding: 12px 8px; }
  .contact-form { padding: 22px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-links { gap: 13px 22px; max-width: 360px; }
  .cv-modal-overlay, .lightbox-overlay { width: calc(100% - 24px); }
  .cv-modal-header { padding: 14px; }
  .designs-hero { padding: 150px 24px 45px; }
  .designs-hero h1 { font-size: 60px; }
  .designs-hero p { font-size: 12px; }
  .designs-empty { padding: 65px 20px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

