:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --ink: #1a1a1a;
  --ink-2: #2b2b2b;
  --ink-soft: #6b6b6b;
  --ink-mute: #8b8b8b;
  --rule: #eaeaea;
  --rule-soft: #f0f0f0;
  --accent: #1E56A0;
  --accent-deep: #143C72;
  --accent-soft: #E8EFF8;
  --accent-soft-2: #DDE7F4;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.08;
  color: var(--ink);
}

.blue { color: var(--accent); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--ink);
  letter-spacing: 0;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-name { font-weight: 600; }
.brand-role { color: var(--ink-soft); font-weight: 400; margin-left: 6px; font-size: 14px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
  transition: color 140ms linear;
}
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 14px; font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  transition: background 160ms linear, transform 160ms var(--ease);
}
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-cta:active { transform: translateY(1px); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .hero-photo-wrap { justify-self: start; }
}

.hero-photo-wrap {
  position: relative;
  width: 220px; height: 220px;
}
.hero-photo {
  position: absolute; inset: 8px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 0 var(--accent);
  transition: box-shadow 150ms linear;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.hero-photo-wrap:hover .hero-photo { box-shadow: 0 0 0 2px var(--accent); }

.rev-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  transform: rotate(-90deg);
}
.rev-ring .track {
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 2;
}
.rev-ring .arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 691;
  stroke-dashoffset: 691;
  transition: stroke-dashoffset 900ms var(--ease);
}
.hero-photo-wrap:hover .arc { stroke-dashoffset: 200; }

.hero-copy { max-width: 640px; }
.hello {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px; font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hello .wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 .bold { font-weight: 700; }
.hero h1 .blue { color: var(--accent); font-weight: 600; }
.hero p.lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 580px;
}
.hero p.lead a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-soft-2);
  transition: border-color 140ms linear;
}
.hero p.lead a:hover { border-bottom-color: var(--accent); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms linear, color 150ms linear, border-color 150ms linear;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { transition: transform 150ms linear; }
.btn:hover .arr { transform: translateX(3px); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 26px;
}
.meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.meta-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0   rgba(30, 86, 160, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(30, 86, 160, 0); }
  100% { box-shadow: 0 0 0 0   rgba(30, 86, 160, 0); }
}
.meta-chip .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section.block { padding: clamp(72px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.block h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 720px;
}
.block h2 .bold { font-weight: 700; }
.block h2 .blue { color: var(--accent); font-weight: 600; }
.block h2 .light { color: var(--ink-soft); font-weight: 400; }
.block-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.block-head p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 600px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 2px;
}

.about-side { display: flex; flex-direction: column; gap: 16px; }
.pull-card {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  color: var(--accent-deep);
}
.pull-card .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.pull-card .quote {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.28;
  color: var(--accent-deep);
  margin: 0;
}
.pull-card .quote em { font-style: normal; font-weight: 600; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
}
.stat .n {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   PROJECTS (cards)
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: border-color 150ms linear;
  position: relative;
}
.project-card:hover { border-color: var(--accent); }
.project-card:hover .pc-title { color: var(--accent); }
.project-card:hover .pc-arrow { color: var(--accent); transform: translate(2px, -2px); }

.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pc-badge .num {
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.pc-arrow {
  color: var(--ink-mute);
  transition: color 150ms linear, transform 150ms linear;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  line-height: 1;
}
.pc-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  transition: color 150ms linear;
}
.pc-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.pill {
  display: inline-flex; align-items: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px; font-weight: 500;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
}
.pill.alt { background: var(--bg-soft); color: var(--ink-2); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .skills-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-card {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  transition: background 150ms linear, border-color 150ms linear;
}
.skill-card:hover { background: #fff; border-color: var(--rule); }
.skill-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.skill-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.skill-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skill-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.skill-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 14px;
}
.skill-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.skill-icon-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}
.skill-icon-item span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.2;
}

/* ============================================================
   PARCOURS — timeline
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.tl-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  transition: border-color 150ms linear;
}
.tl-card:hover { border-color: var(--accent-soft-2); }
.tl-card.current { background: var(--accent-soft); border-color: transparent; }
@media (max-width: 720px) { .tl-card { grid-template-columns: 1fr; gap: 8px; } }
.tl-when {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 5px;
  display: flex; align-items: center; gap: 8px;
}
.tl-when .live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.18);
  flex-shrink: 0;
}
.tl-role { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 19px; color: var(--ink); margin: 0 0 2px; }
.tl-org { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.tl-desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card .eyebrow { background: rgba(255,255,255,0.08); color: #b9cdee; }
.contact-card h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
  max-width: 520px;
}
.contact-card h2 .blue { color: #6ea2e6; }
.contact-card .lead {
  color: rgba(255,255,255,0.72);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 460px;
}
.contact-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500;
  transition: background 160ms linear, color 160ms linear;
}
.contact-cta:hover { background: var(--accent); color: #fff; }
.contact-side { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14.5px;
  transition: background 160ms linear, border-color 160ms linear;
}
.contact-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.contact-link .k {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-link .v { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 32px 0 40px;
  font-size: 13px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.foot-row a { transition: color 140ms linear; }
.foot-row a:hover { color: var(--accent); }

/* ============================================================
   PANEL (slide-in projet)
   ============================================================ */
.panel-mask {
  position: fixed; inset: 0;
  background: rgba(20, 30, 50, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  z-index: 100;
  backdrop-filter: blur(2px);
}
.panel-mask.open { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed;
  top: 20px; right: 20px; bottom: 20px;
  width: min(580px, 92vw);
  background: var(--bg);
  border-radius: var(--radius-lg);
  transform: translateX(calc(100% + 24px));
  transition: transform 320ms var(--ease);
  z-index: 101;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(15, 30, 70, 0.18);
}
.panel.open { transform: translateX(0); }
.panel-head {
  padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: var(--bg);
  z-index: 1;
  border-bottom: 1px solid var(--rule);
}
.panel-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.panel-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms linear, color 160ms linear;
  cursor: pointer;
  flex-shrink: 0;
}
.panel-close:hover { background: var(--accent); color: #fff; }
.panel-body { padding: 28px 32px 40px; }
.panel-body h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.05;
  margin: 8px 0 8px;
}
.panel-body .sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.panel-body p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }
.panel-thumb {
  background: var(--bg-soft);
  border-radius: var(--radius);
  height: 200px;
  margin: 20px 0 24px;
  overflow: hidden;
}
.panel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel-section { margin-top: 24px; }
.panel-section h4 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 14px;
}
.panel-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   PAGE INTERNE — projet detail / liste
   ============================================================ */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  margin-bottom: 10px;
}
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 560px; margin: 0; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 32px;
  transition: color 140ms linear;
}
.back-link:hover { color: var(--accent); }

/* Project show layout */
.project-show-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .project-show-grid { grid-template-columns: 1fr; } }

.project-media {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.project-media img, .project-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.project-meta-card {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
}
.project-meta-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
}
.project-meta-card .meta-date {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.project-desc {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}
.project-desc h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}
.project-desc p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }

.github-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  margin-top: 16px;
  transition: background 150ms linear;
}
.github-link:hover { background: var(--accent); color: #fff; }

/* Carousel custom */
.carousel-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
  aspect-ratio: 16/9;
}
.carousel-slides { width: 100%; height: 100%; }
.carousel-slide {
  display: none;
  width: 100%; height: 100%;
}
.carousel-slide.active { display: block; }
.carousel-slide img, .carousel-slide video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--rule);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 150ms, color 150ms;
  z-index: 10;
}
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 0 4px;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: background 150ms;
  border: 0; padding: 0;
}
.carousel-dot.active { background: var(--accent); }

/* Contact page standalone */
.contact-page { padding: clamp(48px, 7vw, 96px) 0; }
