/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — style.css
   Typographies : Syne (display) + DM Sans (body)
   Thème : Dark élégant, accents cyan/teal
═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --bg:          #f4f8ff;
  --bg-2:        #e6efff;
  --bg-3:        #ffffff;
  --border:      rgba(46, 97, 168, .2);
  --border-2:    rgba(46, 97, 168, .35);
  --text:        #0f2c55;
  --text-muted:  #4c6d9f;
  --text-dim:    #7a94bf;
  --accent:      #2a79ff;
  --accent-2:    #539dff;
  --accent-glow: rgba(42, 121, 255, .2);
  --accent-muted:rgba(42, 121, 255, .14);
  --danger:      #c1374c;
  --warning:     #f5b331;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 6px 24px rgba(44, 72, 129, .18);
  --shadow-lg:   0 12px 54px rgba(44, 72, 129, .25);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --nav-h:       68px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-muted); border-radius: 3px; }

/* ─── UTILITIES ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

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

/* ─── ANIMATIONS ─── */
.reveal, .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible, .fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s !important; }
.delay-2 { transition-delay: .24s !important; }
.delay-3 { transition-delay: .36s !important; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  background: var(--accent);
  color: #0c0d10;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: var(--transition);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--border-2);
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
#navbar.scrolled {
  border-color: var(--border);
  background: rgba(255,255,255,.95);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
}
.nav-logo .accent { font-size: 1.8rem; line-height: 0; vertical-align: -.1em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Language toggle */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: .25rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-btn img {
  width: 18px;
  height: auto;
  border-radius: 2px;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--accent-muted);
  color: var(--accent);
}

/* Burger */
.menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.menu-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-burger.open span:nth-child(2) { opacity: 0; }
.menu-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  padding: 2rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(42,121,255,.18) 0%, transparent 65%);
  filter: blur(20px);
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 1.8rem;
  color: var(--text);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: var(--text-dim);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about {
  padding: 7rem 0;
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.tag {
  display: inline-block;
  padding: .35rem .9rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: .82rem;
  color: var(--text-muted);
}

.about-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-height: 200px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.avatar-placeholder {
  width: 90px;
  height: 90px;
  color: var(--accent);
  opacity: .6;
}
.avatar-placeholder svg { width: 100%; height: 100%; }

.about-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
}
.info-label { color: var(--text-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.info-value { color: var(--text); font-weight: 500; }
.status-badge {
  background: rgba(0,201,177,.15);
  color: var(--accent);
  padding: .2rem .7rem;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--accent-muted);
}

.btn-cv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  margin-top: .5rem;
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid rgba(0,201,177,.3);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-cv:hover { background: var(--accent); color: var(--bg); }

/* ══════════════════════════════════════
   SKILLS
══════════════════════════════════════ */
#skills {
  padding: 7rem 0;
  background: var(--bg);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.skill-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-4px);
}

.skill-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.skill-card-icon svg { width: 24px; height: 24px; }

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.skill-tags span {
  padding: .25rem .65rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   TIMELINE
══════════════════════════════════════ */
#timeline {
  padding: 7rem 0;
  background: var(--bg-2);
}

.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 4rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .4rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: .6rem 1.8rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: var(--accent);
  color: #0c0d10;
}

/* Panel */
.timeline-panel {
  display: none;
  position: relative;
  padding: 2rem 0;
}
.timeline-panel.active { display: block; }

/* Central vertical line */
.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border-2) 10%, var(--border-2) 90%, transparent);
}

/* Timeline item */
.timeline-item {
  position: relative;
  width: 45%;
  margin-bottom: 3.5rem;
}
.timeline-item.left  { margin-right: auto; padding-right: 2.5rem; text-align: right; }
.timeline-item.right { margin-left: auto;  padding-left: 2.5rem;  text-align: left; }

/* Dot */
.timeline-dot {
  position: absolute;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--bg-2);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-muted), 0 0 16px var(--accent-glow);
  transition: box-shadow var(--transition);
}
.timeline-item.left  .timeline-dot { right: -7px; transform: translateX(50%); }
.timeline-item.right .timeline-dot { left: -7px;  transform: translateX(-50%); }
.timeline-item:hover .timeline-dot { box-shadow: 0 0 0 5px var(--accent-muted), 0 0 24px var(--accent); }

/* Card */
.timeline-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  padding-right: 86px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.timeline-logo {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.timeline-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text);
}

.timeline-org {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  font-style: italic;
}

.timeline-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: inherit;
}
.timeline-tags span {
  padding: .2rem .6rem;
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid rgba(0,201,177,.25);
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
#projects {
  padding: 7rem 0;
  background: var(--bg);
}

#project-detail {
  padding-top: calc(var(--nav-h) + 1.2rem);
  padding-bottom: 3rem;
}

.project-detail-content {
  margin-top: 1rem;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: .45rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--border-2); color: var(--text); }
.filter-btn.active {
  background: var(--accent-muted);
  border-color: rgba(0,201,177,.4);
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.project-card.hidden { display: none; }

.project-img { position: relative; }
.project-img-placeholder {
  width: 100%;
  height: 160px;
  background: hsl(var(--hue) 60% 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--hue) 70% 55%);
}
.project-img-placeholder svg { width: 56px; height: 56px; opacity: .6; }

.project-body { padding: 1.5rem; }

.project-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.project-year {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: .08em;
}

.project-type {
  padding: .18rem .65rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: .06em;
}
.project-type.perso { background: rgba(245,197,24,.1);  color: #f5c518; border: 1px solid rgba(245,197,24,.25); }
.project-type.acad  { background: rgba(0,201,177,.1);  color: var(--accent); border: 1px solid rgba(0,201,177,.25); }
.project-type.asso  { background: rgba(100,130,255,.1); color: #7b9eff;  border: 1px solid rgba(100,130,255,.25); }

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.project-body p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1.2rem;
}
.project-tech span {
  padding: .2rem .6rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .72rem;
  color: var(--text-muted);
}

.project-links {
  display: flex;
  gap: .75rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: .35rem .8rem;
  border-radius: 7px;
  transition: var(--transition);
}
.project-link svg { width: 14px; height: 14px; }
.project-link:hover { color: var(--text); border-color: var(--border-2); }
.project-link.demo { color: var(--accent); border-color: rgba(0,201,177,.3); }
.project-link.demo:hover { background: var(--accent-muted); }

.project-detail-content {
  border: 1px solid var(--border);
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.project-detail-content h3 {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.05rem;
}
.project-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.project-media-item {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 260px;
}
.project-resources {
  margin-top: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact {
  padding: 7rem 0;
  background: var(--bg-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-link:hover { color: var(--accent); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .92rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-feedback {
  font-size: .85rem;
  margin-top: .25rem;
  min-height: 1.2em;
}
.form-feedback.success { color: var(--accent); }
.form-feedback.error   { color: var(--danger); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
  padding: 2.5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy, .footer-made {
  font-size: .82rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 440px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-burger { display: flex; }

  .timeline-item.left, .timeline-item.right {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 0;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .timeline-line {
    left: 10px;
    transform: none;
  }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: -6px;
    right: auto;
    transform: translateX(-50%);
  }
  .timeline-tags { justify-content: flex-start; }

  .footer-inner { flex-direction: column; text-align: center; }

  .hero-name { font-size: clamp(2.5rem, 12vw, 5rem); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { text-align: center; }
  .timeline-tabs { flex-direction: column; width: 100%; }
}
