/* ============================================================
   PORTFOLIO — ROMAIN DROUHOT
   index.css
   ============================================================ */

/* ── VARIABLES ── */
:root {
    --bg:        #080810;
    --bg2:       #0d0d1a;
    --surface:   #111122;
    --border:    rgba(0, 255, 136, 0.12);
    --border-h:  rgba(0, 255, 136, 0.45);
    --green:     #00ff88;
    --green-d:   #00cc66;
    --orange:    #ff6b35;
    --purple:    #9d6aff;
    --cyan:      #00d4ff;
    --yellow:    #ffd166;
    --text:      #e0e0f0;
    --text-dim:  rgba(224, 224, 240, 0.55);
    --text-mute: rgba(224, 224, 240, 0.25);
    --mono:      'Share Tech Mono', monospace;
    --display:   'Orbitron', sans-serif;
    --body-font: 'Inter', sans-serif;
    --nav-w:     260px;
    --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scanlines overlay */
body::before {
    content: '';
    position: fixed; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 2px,
        rgba(0, 0, 0, 0.025) 2px, rgba(0, 0, 0, 0.025) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* Grid background */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
}

/* ── KEYFRAMES ── */
@keyframes blink   { 50% { opacity: 0; } }
@keyframes pulse   { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes growBar { to { transform: scaleX(1); } }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════
   SIDEBAR (desktop)
═══════════════════════════════════════════════════ */
.sidebar {
    display: none;
    width: var(--nav-w);
    min-height: 100vh;
    background: var(--bg2);
    border-right: 1px solid var(--border);
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 40px 0;
    flex-shrink: 0;
}

.sidebar-logo {
    padding: 0 28px 28px;
    border-bottom: 1px solid var(--border);
}

.s-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-tag::before {
    content: '>';
    animation: blink 1.2s step-end infinite;
}

.sidebar-logo h2 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-logo .sub {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 4px;
}

.sidebar-nav { padding: 28px 0; flex: 1; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 28px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-dim);
    transition: all 0.25s var(--ease);
    border-left: 2px solid transparent;
    user-select: none;
    position: relative;
}

.nav-item::before {
    content: attr(data-num);
    font-size: 10px;
    color: var(--text-mute);
    min-width: 20px;
}

.nav-item:hover  { color: var(--text); background: rgba(0, 255, 136, 0.04); }

.nav-item.active {
    color: var(--green);
    border-left-color: var(--green);
    background: rgba(0, 255, 136, 0.06);
}

.nav-item.active::after {
    content: '◀';
    position: absolute;
    right: 20px;
    font-size: 8px;
    color: var(--green);
}

.sidebar-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-mute);
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 10px;
    margin-bottom: 6px;
}

.status-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   MOBILE NAV
═══════════════════════════════════════════════════ */
.mobile-nav {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-brand {
    padding: 13px 18px;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.mobile-nav-items {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.mobile-nav-items::-webkit-scrollbar { display: none; }

.mobile-nav-item {
    padding: 13px 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.25s var(--ease);
    user-select: none;
}

.mobile-nav-item.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

/* ═══════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════ */
.main { flex: 1; min-width: 0; }

.section {
    display: none;
    min-height: calc(100vh - 48px);
    padding: 48px 24px 80px;
    animation: fadeUp 0.35s ease forwards;
}

.section.active { display: block; }

.section-header { margin-bottom: 44px; }

.section-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before { content: '//'; opacity: 0.45; }

.section-title {
    font-family: var(--display);
    font-size: clamp(28px, 5vw, 50px);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text) 30%, var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(to right, var(--green), transparent);
    margin-top: 18px;
}

/* ═══════════════════════════════════════════════════
   ACCUEIL — HERO
═══════════════════════════════════════════════════ */
.hero { display: grid; grid-template-columns: 1fr; gap: 48px; }

.hero-greeting {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--green);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-greeting::before { content: '$'; color: var(--orange); }

.hero-name {
    font-family: var(--display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text);
}

.hero-name span {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--green);
    letter-spacing: 4px;
    font-family: var(--mono);
}

.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }

.role-badge {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 14px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.rb-green  { background: rgba(0, 255, 136, 0.08);  color: var(--green);  border: 1px solid rgba(0, 255, 136, 0.25); }
.rb-orange { background: rgba(255, 107, 53, 0.08); color: var(--orange); border: 1px solid rgba(255, 107, 53, 0.25); }
.rb-purple { background: rgba(157, 106, 255, 0.08); color: var(--purple); border: 1px solid rgba(157, 106, 255, 0.25); }
.rb-cyan   { background: rgba(0, 212, 255, 0.08);  color: var(--cyan);   border: 1px solid rgba(0, 212, 255, 0.25); }

.hero-bio {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-bio strong { color: var(--text); font-weight: 500; }

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    border-radius: 2px;
    border: none;
}

.btn-primary { background: var(--green); color: var(--bg); font-weight: 700; }
.btn-primary:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 255, 136, 0.28); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-h); }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(0, 255, 136, 0.05); }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.25s var(--ease);
}

.stat-card:hover { border-color: var(--border-h); background: rgba(0, 255, 136, 0.04); }
.stat-num  { font-family: var(--display); font-size: 26px; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 5px; }
.stat-label { font-family: var(--mono); font-size: 10px; color: var(--text-mute); letter-spacing: 1px; text-transform: uppercase; }

/* ── Terminal ── */
.hero-terminal { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }

.terminal-bar {
    background: rgba(255, 255, 255, 0.03);
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--border);
}

.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot:nth-child(1) { background: #ff5f56; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #27c93f; }

.terminal-title { font-family: var(--mono); font-size: 11px; color: var(--text-mute); margin-left: 6px; }

.terminal-body { padding: 18px 20px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 2; }

.t-line { display: flex; gap: 8px; }
.t-i    { padding-left: 20px; }
.t-key  { color: var(--cyan); }
.t-str  { color: #a8ff78; }
.t-num  { color: var(--purple); }
.t-p    { color: var(--text-dim); }

/* ═══════════════════════════════════════════════════
   COMPÉTENCES
═══════════════════════════════════════════════════ */
.skills-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }

.skill-group { margin-bottom: 34px; }

.skill-group-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-group-title::before { content: '##'; color: var(--orange); }

/* ── Skill row with optional certification link ── */
.skill-row { margin-bottom: 15px; }

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
    gap: 8px;
}

.skill-name-wrap { display: flex; align-items: center; gap: 10px; }

.skill-name {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
}

.skill-cert {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--cyan);
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.skill-cert:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--cyan);
    color: #fff;
}

.skill-level {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-mute);
    white-space: nowrap;
}

.skill-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(to right, var(--bar-from), var(--bar-to));
    transform-origin: left;
    transform: scaleX(0);
    animation: growBar 0.9s var(--ease) forwards;
}

/* ── Technology badges — grilles par catégorie ── */
.tech-section { margin-bottom: 28px; }

.tech-section-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.tech-section-label .ts-icon { font-size: 11px; }

/* Langages : accent vert */
.tech-section.langages .tech-section-label { color: var(--green); }
.tech-section.langages .tech-badge {
    border-color: rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.04);
}
.tech-section.langages .tech-badge:hover {
    border-color: rgba(0, 255, 136, 0.55);
    background: rgba(0, 255, 136, 0.08);
    color: var(--text);
}

/* Technologies : accent cyan */
.tech-section.technologies .tech-section-label { color: var(--cyan); }
.tech-section.technologies .tech-badge {
    border-color: rgba(0, 212, 255, 0.18);
    background: rgba(0, 212, 255, 0.04);
}
.tech-section.technologies .tech-badge:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
    color: var(--text);
}

/* Logiciels : accent orange */
.tech-section.logiciels .tech-section-label { color: var(--orange); }
.tech-section.logiciels .tech-badge {
    border-color: rgba(255, 107, 53, 0.18);
    background: rgba(255, 107, 53, 0.04);
}
.tech-section.logiciels .tech-badge:hover {
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.08);
    color: var(--text);
}

.tech-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.tech-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    transition: all 0.2s var(--ease);
    cursor: default;
}

.tech-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--green), transparent);
}

.tl-item { position: relative; margin-bottom: 28px; }

.tl-item::before {
    content: '';
    position: absolute;
    left: -28px; top: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.2);
}

.tl-year  { font-family: var(--mono); font-size: 10px; color: var(--green); letter-spacing: 2px; margin-bottom: 4px; }
.tl-title { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tl-sub   { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ═══════════════════════════════════════════════════
   PROJETS
═══════════════════════════════════════════════════ */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
}

.project-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0, 255, 136, 0.09); }

.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    filter: saturate(0.65) brightness(0.75);
    transition: filter 0.3s;
}

.project-card:hover .project-img { filter: saturate(1) brightness(0.88); }

.project-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.project-id    { font-family: var(--mono); font-size: 10px; color: var(--text-mute); letter-spacing: 2px; }
.project-title { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); }
.project-desc  { font-size: 13px; line-height: 1.7; color: var(--text-dim); flex: 1; }

.project-tags  { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 10px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 2px;
    color: var(--cyan);
}

.project-footer { padding: 14px 22px; border-top: 1px solid var(--border); }

.project-link {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.project-link:hover { gap: 10px; }
.project-link::after { content: '→'; }

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

.form-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 34px;
    transition: border-color 0.25s;
}

.form-block:hover { border-color: rgba(0, 255, 136, 0.22); }

.form-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-title::before { content: '>_'; color: var(--orange); }

.form-row { display: flex; gap: 18px; margin-bottom: 18px; }

.field { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.field.full { flex: 1 1 100%; }

.field label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.field input,
.field textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.14);
    border-radius: 2px;
    padding: 11px 13px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 13px;
    transition: all 0.25s var(--ease);
    width: 100%;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(0, 255, 136, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.07);
}

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

.field.error input,
.field.error textarea { border-color: var(--orange) !important; }

.error-msg { display: none; font-family: var(--mono); font-size: 10px; color: var(--orange); }
.error-msg.show { display: block; }

.submit-btn {
    width: 100%;
    margin-top: 6px;
    background: var(--green);
    color: var(--bg);
    border: none;
    padding: 14px;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.25s var(--ease);
}

.submit-btn:hover:not(:disabled) { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 255, 136, 0.28); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

#form-message {
    display: none;
    margin-bottom: 22px;
    padding: 11px 14px;
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 12px;
    animation: fadeUp 0.3s ease;
}

#form-message.show    { display: block; }
#form-message.success { background: rgba(0, 255, 136, 0.07); border: 1px solid rgba(0, 255, 136, 0.28); color: var(--green); }
#form-message.error   { background: rgba(255, 107, 53, 0.07); border: 1px solid rgba(255, 107, 53, 0.28); color: var(--orange); }

/* ── Info panel ── */
.info-panel { display: flex; flex-direction: column; gap: 18px; }

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 22px;
    transition: border-color 0.25s;
}

.info-card:hover { border-color: rgba(0, 255, 136, 0.22); }

.info-card-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.info-row { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row .lbl { font-family: var(--mono); font-size: 10px; color: var(--green); letter-spacing: 1px; }
.info-row .val { font-size: 13px; color: var(--text); }
.info-row .val a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.info-row .val a:hover { color: var(--green); }

.avail-banner {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.18);
    border-radius: 4px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.avail-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avail-icon::after {
    content: '';
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

.avail-text strong { display: block; font-family: var(--mono); font-size: 12px; color: var(--green); margin-bottom: 3px; }
.avail-text span   { font-size: 12px; color: var(--text-dim); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (min-width: 560px) {
    /* form rows wrap only below 560px */
}

@media (max-width: 560px) {
    .form-row { flex-direction: column; }
}

@media (min-width: 800px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .mobile-nav  { display: none; }
    .sidebar     { display: flex; }
    .section     { min-height: 100vh; padding: 60px 64px 80px; }
    .contact-grid { grid-template-columns: 1fr 360px; gap: 56px; }
    .skills-layout { grid-template-columns: 1fr 1fr; gap: 52px; }
}

@media (max-width: 1023px) {
    .sidebar { display: none; }
}

@media (min-width: 1200px) {
    .hero { grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
}