/* ==========================================================================
   Design Tokens: ☀️ Buttercup Sky, Dewy Blue & Morning Breeze System
   ========================================================================== */
:root {
  /* Palette Tokens */
  --buttercup: #FFF2B2;       /* Buttercup Sky */
  --dewy-blue: #A8C6E7;       /* Dewy Blue */
  --sunwashed: #FFE08A;       /* Sunwashed Golden Accent */
  --cloud-puff: #FFF7D6;      /* Cloud Puff Soft Cream */
  --morning-breeze: #7FA8D6;  /* Morning Breeze Sky Azure */

  /* Executive Dark Contrast Anchor */
  --deep-plum: #0B2238;       /* Mediterranean Midnight Slate */
  --berry-rose: #153A60;      /* Deep Ocean Azure */
  --raspberry: #2463A3;       /* Electric Azure Blue Accent */
  --rose-pink: #7FA8D6;       /* Morning Breeze Accent */
  --soft-blush: #FFF2B2;      /* Buttercup highlight */

  --ink: #0B2238;
  --ink-secondary: #1F3F60;
  --muted: #486581;
  --muted-light: #829AB1;
  --paper: #FAFCFF;           /* Luminous crystalline sky canvas */
  --paper-2: #F0F5FA;         /* Soft airy mist */
  --paper-card: #ffffff;
  --line: rgba(21, 58, 96, 0.09);
  --line-strong: rgba(21, 58, 96, 0.22);
  --white: #ffffff;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 4px 18px rgba(11, 34, 56, 0.04);
  --shadow-card: 0 14px 40px rgba(11, 34, 56, 0.07);
  --shadow-hover: 0 24px 65px rgba(11, 34, 56, 0.12);
  --shadow-glow: 0 16px 50px rgba(127, 168, 214, 0.25);
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; }

/* Subtle Grain & Ambient Glow */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.cursor-glow {
  width: 440px; height: 440px; position: fixed; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(168, 198, 231, 0.22), rgba(255, 242, 178, 0.14) 45%, transparent 70%);
  transform: translate(-50%, -50%); z-index: 0; transition: opacity .2s ease;
}

.container {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1200px, calc(100% - 36px)); height: 64px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 18px; background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 32px rgba(11, 34, 56, 0.05);
}
.brand {
  display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 15px; color: var(--deep-plum);
}
.brand-photo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--morning-breeze);
  box-shadow: 0 0 0 4px rgba(255, 242, 178, 0.6), 0 4px 12px rgba(11, 34, 56, 0.12);
}
.desktop-nav {
  display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: var(--muted);
}
.desktop-nav a { position: relative; transition: color .2s; }
.desktop-nav a:hover { color: var(--deep-plum); }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--morning-breeze), var(--sunwashed));
  transform: scaleX(0); transform-origin: right; transition: .25s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 10px 18px; border-radius: 12px; background: var(--deep-plum); color: #fff;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s;
  box-shadow: 0 6px 16px rgba(11, 34, 56, 0.18);
}
.nav-cta:hover { background: var(--berry-rose); transform: translateY(-2px); }
.menu-toggle { display: none; font-size: 22px; color: var(--deep-plum); }

/* Typography */
.serif-accent {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600; font-style: italic; color: #1e5a96;
}
.gradient-text {
  background: linear-gradient(105deg, #0B2238 0%, #153A60 50%, #2463A3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   HERO SECTION: High-End Dual-Casquette Showcase
   ========================================================================== */
/* ==========================================
   HERO — BACKGROUND IMAGE
========================================== */

.hero {
  min-height: 94vh;
  padding: 140px 0 65px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;

  /* Image de fond limitée au Hero */
  background-color: #f4f8ff;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 249, 255, 0.88) 0%,
      rgba(245, 249, 255, 0.68) 42%,
      rgba(245, 249, 255, 0.20) 100%
    ),
    url("assets/bg1.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--berry-rose);
  margin-bottom: 24px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 22px;
}

.hero-copy {
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-copy strong { color: var(--deep-plum); }

.hero-actions {
  display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap;
}
.btn-primary-rose {
  padding: 13px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #0B2238 0%, #153A60 100%);
  color: #fff; font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 28px rgba(11, 34, 56, 0.20);
  transition: all .25s ease;
}
.btn-primary-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11, 34, 56, 0.30);
  background: linear-gradient(135deg, #153A60 0%, #2463A3 100%);
}

.btn-secondary-rose {
  padding: 13px 24px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line-strong);
  color: var(--deep-plum); font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s ease;
}
.btn-secondary-rose:hover {
  background: #ffffff; border-color: var(--morning-breeze);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(127, 168, 214, 0.2);
}

/* Horizontal Metric Strip in Hero */
.hero-metrics-ribbon {
  display: flex; gap: 36px; padding-top: 24px; border-top: 1px solid var(--line);
}
.metric-item span { font-size: 12px; color: var(--muted); display: block; }
.metric-item strong { font-size: 19px; font-weight: 700; color: var(--deep-plum); }

/* ==========================================================================
   Aesthetic Showcase Card (Interactive Data & AI Engine)
   ========================================================================== */
.hero-visual {
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(168, 198, 231, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orbit-one { width: 460px; height: 460px; right: 2%; top: 16%; }
.orbit-two { width: 620px; height: 620px; right: -8%; top: 4%; opacity: 0.6; }

.main-card {
  width: min(500px, 95%);
  min-height: 295px;
  padding: 22px 24px 26px;
  border-radius: var(--radius-xl);
  transform: rotate(-1.2deg);
  position: relative;
  z-index: 2;
  transition: transform .35s ease, box-shadow .35s ease;
}
.main-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 250, 0.90));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 75px rgba(11, 34, 56, 0.10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.card-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.mini-dot {
  width: 9px; height: 9px; border-radius: 50%;
}
.mini-dot.pink { background: #ff758f; }
.mini-dot.purple { background: #b5179e; }
.mini-dot.blue { background: #4361ee; }

.topbar-title {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 600;
}

/* Dashboard Card — Hero Visual (non-technical) */
.dashboard-card {
  padding: 22px 24px 24px;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dash-avatar {
  width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--morning-breeze);
  box-shadow: 0 0 0 4px rgba(255, 242, 178, 0.55);
  flex-shrink: 0;
}

.dash-name {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.dash-name strong {
  font-size: 14px; font-weight: 800; color: var(--deep-plum);
}
.dash-name span {
  font-size: 11.5px; color: var(--muted); font-weight: 500;
}

.dash-badge {
  font-size: 10.5px; font-weight: 700; padding: 5px 11px;
  border-radius: 999px; white-space: nowrap;
  background: rgba(36, 99, 163, 0.12);
  color: var(--raspberry);
  border: 1px solid rgba(36, 99, 163, 0.22);
  animation: badge-pulse 2.6s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36, 99, 163, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(36, 99, 163, 0); }
}

.dash-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 10px;
}

.dash-bars { display: flex; flex-direction: column; gap: 9px; }

.dash-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 34px;
  align-items: center;
  gap: 10px;
}
.dash-bar-row > span:first-child {
  font-size: 12px; font-weight: 600; color: var(--ink-secondary);
}

.dash-bar-track {
  height: 7px; border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%; border-radius: 999px;
  background: var(--c, var(--morning-breeze));
  transform-origin: left;
  animation: bar-grow 1.4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.dash-pct {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-align: right;
}

.dash-tech-row {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.dash-tech-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  background: var(--chip-c, rgba(127, 168, 214, 0.14));
  color: var(--deep-plum);
  border: 1px solid rgba(127, 168, 214, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dash-tech-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 34, 56, 0.1);
}

/* ---- Shared hero visual components ---- */
.pulse-line {
  width: 75%;
  height: 2.5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--morning-breeze), var(--sunwashed), transparent);
  animation: pulse-line 2.2s infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

.floating-pill {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(11, 34, 56, 0.08);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--deep-plum);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(14px);
  animation: float-badge 4s ease-in-out infinite;
}

.pill-ai { top: 14%; left: 0%; }
.pill-cloud { right: -2%; top: 28%; animation-delay: 1s; }
.pill-data { bottom: 18%; right: 4%; animation-delay: 2s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.mini-stat {
  position: absolute;
  z-index: 3;
  left: 2%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--deep-plum);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(11, 34, 56, 0.22);
}
.stat-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--morning-breeze), var(--sunwashed));
  color: #0B2238;
}
.stat-icon svg { width: 16px; height: 16px; stroke: #0B2238; stroke-width: 2.2; }
.mini-stat strong { font-size: 13.5px; display: block; }
.mini-stat small { font-size: 11px; opacity: 0.8; }

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #F0F5FA 0%, #FFFDF2 50%, #F0F5FA 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  position: relative;
}
.marquee-content {
  display: flex;
  gap: 40px;
  animation: marquee-scroll 28s linear infinite;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep-plum);
}
.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--morning-breeze);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-block {
  padding: 95px 0;
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 50px;
}
.section-tagline {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1e5a96;
  display: inline-block;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--deep-plum);
}

/* ==========================================================================
   SECTION 1: THE DUAL CONTINUUM
   ========================================================================== */
.continuum-card {
  background: linear-gradient(145deg, #ffffff 0%, rgba(240, 245, 250, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}
.continuum-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.continuum-side h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.continuum-side p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.continuum-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.continuum-badges span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(168, 198, 231, 0.25);
  color: var(--deep-plum);
  border: 1px solid rgba(127, 168, 214, 0.3);
}
.divider-badge {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1e5a96;
}

.focus-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.focus-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}
.focus-box:hover {
  transform: translateY(-4px);
  border-color: var(--morning-breeze);
  box-shadow: var(--shadow-card);
}
.focus-icon {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: #1e5a96;
  margin-bottom: 14px;
}
.focus-box h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 8px;
}
.focus-box p {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.6;
}


/* ==========================================================================
   SECTION 2: TECHNICAL TOOLKIT — EDITORIAL STYLE
   ========================================================================== */

.toolkit-editorial {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}


/* ==========================================================================
   TOOLKIT ROW / BLUE FRAME
   ========================================================================== */

.toolkit-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 42px;
  align-items: start;
  gap: 28px;

  margin-bottom: 18px;
  padding: 34px 30px;

  border: 1px solid rgba(36, 99, 163, 0.28);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.72);

  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* Subtle blue frame on hover */

.toolkit-row:hover {
  border-color: rgba(36, 99, 163, 0.60);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(36, 99, 163, 0.10);
}


/* Disable the old background hover layer */

.toolkit-row::before {
  display: none;
}


/* ==========================================================================
   TOOLKIT NUMBER
   ========================================================================== */

.toolkit-index {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
}

.toolkit-index span {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2463A3;
}


/* ==========================================================================
   TOOLKIT MAIN CONTENT
   ========================================================================== */

.toolkit-main {
  min-width: 0;
}


/* ==========================================================================
   TOOLKIT TITLE
   ========================================================================== */

.toolkit-title-block {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}

.toolkit-title-block h3 {
  margin: 0;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.025em;

  color: var(--deep-plum);
}

.toolkit-title-block p {
  margin: 0;

  font-size: 13px;
  line-height: 1.5;

  color: var(--muted);
}


/* ==========================================================================
   TECHNOLOGY TAGS
   ========================================================================== */

.toolkit-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.toolkit-techs span {
  display: inline-flex;
  align-items: center;

  min-height: 34px;
  padding: 7px 13px;

  border: 1px solid rgba(36, 99, 163, 0.18);
  border-radius: 999px;

  background: #ffffff;
  color: #294B6B;

  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.toolkit-techs span:hover {
  background: #EEF6FC;
  border-color: rgba(30, 95, 168, 0.35);
  color: #1E5FA8;
  transform: translateY(-2px);
}




/* ==========================================================================
   TOOLKIT RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 960px) {

  .toolkit-row {
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    gap: 20px;

    padding: 30px 24px;
  }

  .toolkit-title-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;

    margin-bottom: 18px;
  }

  .toolkit-title-block h3 {
    font-size: 21px;
  }


}


/* ==========================================================================
   TOOLKIT RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 600px) {

  .toolkit-editorial {
    margin-top: 34px;
  }

  .toolkit-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;

    margin-bottom: 14px;
    padding: 26px 20px;

    border-radius: 15px;
  }

  .toolkit-index span {
    font-size: 11px;
  }

  .toolkit-title-block {
    gap: 6px;
    margin-bottom: 16px;
  }

  .toolkit-title-block h3 {
    font-size: 19px;
    line-height: 1.2;
  }

  .toolkit-title-block p {
    font-size: 12px;
    line-height: 1.5;
  }

  .toolkit-techs {
    gap: 7px;
  }

  .toolkit-techs span {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 11.5px;
  }
}
@media (max-width: 650px) {
  .experience-company {
    gap: 12px;
  }

  .experience-company-logo {
    width: 60px;
    height: 60px;
    flex-basis: 50px;
  }

  .leadership-company-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* ==========================================================================
   SECTION 3 : EXPERIENCE
   ========================================================================== */

.experience-group {
  margin-top: 54px;
}

.experience-group + .experience-group {
  margin-top: 82px;
}


/* ==========================================================================
   EXPERIENCE GROUP HEADER
   ========================================================================== */

.experience-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
}

.experience-group-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  border: 1px solid rgba(36, 99, 163, 0.30);
  border-radius: 50%;

  color: #2463A3;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.experience-group-label {
  display: block;

  margin-bottom: 4px;

  color: #2463A3;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-group-heading h3 {
  margin: 0;

  color: var(--deep-plum);

  font-family: "DM Sans", sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}


/* ==========================================================================
   PROFESSIONAL EXPERIENCE — FEATURE CARDS
   ========================================================================== */

.experience-feature-card {
  display: block;

  margin-bottom: 22px;
  padding: 30px;

  border: 1px solid rgba(36, 99, 163, 0.28);
  border-radius: 20px;

  background: #ffffff;

  box-shadow: 0 5px 24px rgba(11, 34, 56, 0.045);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.experience-feature-card:hover {
  transform: translateY(-3px);

  border-color: rgba(36, 99, 163, 0.55);

  box-shadow: 0 16px 42px rgba(36, 99, 163, 0.10);
}

.experience-feature-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;

  margin-bottom: 15px;

  color: #2463A3;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.experience-feature-main h3 {
  margin: 0 0 5px;

  color: var(--deep-plum);

  font-family: "DM Sans", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.experience-role {
  margin: 0 0 18px;

  color: #486581;

  font-size: 14px;
  font-weight: 600;
}

.experience-description {
  max-width: none;

  margin: 0 0 22px;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.75;
}

.experience-description strong {
  color: var(--deep-plum);
  font-weight: 700;
}


/* ==========================================================================
   EXPERIENCE TAGS
   ========================================================================== */

.experience-feature-card .trajectory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.experience-feature-card .trajectory-tags span {
  padding: 6px 10px;

  border: 1px solid rgba(36, 99, 163, 0.15);
  border-radius: 999px;

  background: #F7FAFD;

  color: #294B6B;

  font-size: 11px;
  font-weight: 600;
}


/* ==========================================================================
   EXPERIENCE LINKS
   ========================================================================== */

.experience-actions {
  display: flex;
  margin-top: 24px;
}

.experience-link,
.leadership-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  width: fit-content;

  padding: 9px 15px;

  border: 1px solid rgba(36, 99, 163, 0.25);
  border-radius: 999px;

  background: #ffffff;

  color: #2463A3;

  font-size: 12px;
  font-weight: 700;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.experience-link:hover,
.leadership-link:hover {
  background: #2463A3;
  border-color: #2463A3;
  color: #ffffff;
  transform: translateY(-2px);
}



/* ==========================================================================
   TECHNICAL × LEADERSHIP
   ========================================================================== */

.leadership-group {
  padding-top: 5px;
}

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


/* ==========================================================================
   LEADERSHIP CARD
   ========================================================================== */

.leadership-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border: 1px solid rgba(36, 99, 163, 0.25);
  border-radius: 18px;

  background: #ffffff;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-4px);

  border-color: rgba(36, 99, 163, 0.55);

  box-shadow: 0 16px 38px rgba(36, 99, 163, 0.10);
}


/* ==========================================================================
   LEADERSHIP CARD HEADER
   ========================================================================== */

.leadership-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 20px 15px;
}

.leadership-card-header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.leadership-number {
  color: #2463A3;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.leadership-category {
  color: #6B8196;

  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
}

.leadership-year {
  color: #2463A3;

  font-size: 11px;
  font-weight: 700;
}


/* ==========================================================================
   LEADERSHIP TWO-IMAGE LAYOUT
   ========================================================================== */

.leadership-images {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 7px;

  padding: 0 14px;
}

.leadership-image {
  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 11px;

  background: #F2F6FA;

  transition: transform 0.3s ease;
}

.leadership-card:hover .leadership-image {
  transform: scale(1.015);
}


/* ==========================================================================
   LEADERSHIP CONTENT
   ========================================================================== */

.leadership-content {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 20px;
}

.leadership-content h3 {
  margin: 0 0 6px;

  color: var(--deep-plum);

  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.leadership-role {
  margin: 0 0 14px;

  color: #2463A3;

  font-size: 12px;
  font-weight: 700;
}

.leadership-content p:not(.leadership-role) {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.65;
}

.leadership-actions {
  display: flex;

  margin-top: auto;
  padding-top: 20px;
}


/* ==========================================================================
   EXPERIENCE RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1000px) {

 .experience-feature-card {
    gap: 26px;
  }

  .leadership-grid {
    grid-template-columns: 1fr 1fr;
  }

  .leadership-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
  }
}


/* ==========================================================================
   EXPERIENCE RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 650px) {

  .experience-group {
    margin-top: 40px;
  }

  .experience-group + .experience-group {
    margin-top: 62px;
  }

  .experience-group-heading {
    gap: 14px;
    margin-bottom: 20px;
  }

  .experience-group-number {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }

  .experience-group-heading h3 {
    font-size: 23px;
  }

  .experience-feature-card {
    gap: 22px;

    margin-bottom: 16px;
    padding: 20px;

    border-radius: 16px;
  }

  .experience-feature-main h3 {
    font-size: 28px;
  }

  .experience-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .experience-schema-image {
    aspect-ratio: 4 / 3;
    padding: 8px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .leadership-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .leadership-content h3 {
    font-size: 19px;
  }
}


/* ==========================================================================
   SECTION 4 : CASE STUDIES & PROJECTS
   ========================================================================== */


/* --------------------------------------------------------------------------
   PROJECT CATEGORY FILTERS
   -------------------------------------------------------------------------- */

.project-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 10px;

  margin: 34px 0 42px;
}

.project-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 38px;

  padding: 8px 15px;

  border: 1px solid transparent;
  border-radius: 999px;

  background: #F1F5F9;

  color: #486581;

  font-size: 12.5px;
  font-weight: 600;

  white-space: nowrap;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-filter:hover {
  background: #E7EFF7;

  color: #153A60;

  transform: translateY(-2px);
}

.project-filter.active {
  background: #2463A3;

  color: #ffffff;

  border-color: #2463A3;

  box-shadow:
    0 8px 20px rgba(36, 99, 163, 0.20);
}

.project-filter span:first-child {
  font-size: 13px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   FILTER ICONS
   -------------------------------------------------------------------------- */

.filter-icon {
  width: 15px;
  height: 15px;

  flex: 0 0 auto;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.project-filter:hover .filter-icon {
  transform: translateY(-1px);
}

.project-filter small {
  margin-left: 2px;

  padding: 2px 6px;

  border-radius: 999px;

  background: rgba(36, 99, 163, 0.08);

  color: #2463A3;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.project-filter.active small {
  background: rgba(255, 255, 255, 0.18);

  color: #ffffff;
}


/* --------------------------------------------------------------------------
   PROJECT LINK ICONS
   -------------------------------------------------------------------------- */

.project-link-icon {
  width: 14px;
  height: 14px;

  flex: 0 0 auto;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* GitHub */

.project-action-btn.github-btn {
  background: #ffffff;
}


/* Report */

.project-action-btn.report-btn {
  background: #F7FAFD;
}


/* --------------------------------------------------------------------------
   PROJECT DESCRIPTION / CONTRIBUTION
   -------------------------------------------------------------------------- */

.project-description {
  margin-bottom: 10px !important;
}

.project-contribution {
  margin-bottom: 16px !important;

  padding-left: 11px;

  border-left: 2px solid rgba(36, 99, 163, 0.30);

  color: #294B6B !important;

  font-size: 11.5px !important;

  line-height: 1.6 !important;
}

.project-contribution strong {
  color: #153A60;

  font-weight: 700;
}
/* --------------------------------------------------------------------------
   PROJECT GRID
   -------------------------------------------------------------------------- */

.projects-deck {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  align-items: stretch;
}


/* --------------------------------------------------------------------------
   PROJECT CARD
   -------------------------------------------------------------------------- */

.project-card {
  min-width: 0;

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 18px;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 18px 42px rgba(11, 34, 56, 0.10);

  border-color: rgba(127, 168, 214, 0.55);
}


/* --------------------------------------------------------------------------
   PROJECT IMAGE
   -------------------------------------------------------------------------- */

.project-thumb {
  height: 170px;

  background: #ffffff;

  border-bottom: 1px solid var(--line);

  overflow: hidden;

  position: relative;

  display: grid;
  place-items: center;

  padding: 9px;
}

.clickable-thumb {
  cursor: zoom-in;
}

.project-thumb img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  border-radius: 7px;

  transition: transform 0.35s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.035);
}

/* Boutons alignés en bas de chaque carte */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}


.project-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding: 1px 20px 8px;
}


/* --------------------------------------------------------------------------
   IMAGE ZOOM OVERLAY
   -------------------------------------------------------------------------- */

.thumb-zoom-overlay {
  position: absolute;

  inset: 0;

  background: rgba(11, 34, 56, 0.78);

  backdrop-filter: blur(4px);

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 7px;

  opacity: 0;

  transition: opacity 0.25s ease;

  color: #ffffff;

  z-index: 2;
}

.clickable-thumb:hover .thumb-zoom-overlay,
.clickable-thumb:focus-visible .thumb-zoom-overlay {
  opacity: 1;
}

.thumb-zoom-overlay .zoom-icon {
  width: 24px;
  height: 24px;

  stroke: #ffffff;
  stroke-width: 2.2;

  transform: scale(0.9);

  transition: transform 0.25s ease;
}

.clickable-thumb:hover .zoom-icon {
  transform: scale(1.08);
}

.thumb-zoom-overlay span {
  font-size: 10.5px;
  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.18);

  padding: 5px 10px;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.3);
}


/* --------------------------------------------------------------------------
   PROJECT DETAILS
   -------------------------------------------------------------------------- */

.project-details {
  padding: 18px 19px 20px;

  display: flex;
  flex-direction: column;

  flex-grow: 1;
}

.project-meta-top {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-bottom: 10px;

  gap: 7px;

  flex-wrap: wrap;
}

.project-tag {
  font-size: 9.5px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.07em;

  color: #153A60;

  background: rgba(168, 198, 231, 0.35);

  padding: 4px 8px;

  border-radius: 6px;
}



/* ==========================================================================
   PROJECT ACTIONS
   ========================================================================== */

.project-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;

  margin-top: 18px;
}


/* --------------------------------------------------------------------------
   ACTION BUTTON
   -------------------------------------------------------------------------- */

.project-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 42px;

  padding: 0 18px;

  border: 1px solid rgba(36, 99, 163, 0.22);
  border-radius: 10px;

  background: #ffffff;

  color: #2463A3;

  font-size: 11px;
  font-weight: 700;

  text-decoration: none;

  white-space: nowrap;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.project-action-btn:hover {
  transform: translateY(-2px);

  border-color: rgba(36, 99, 163, 0.45);

  background: #F8FBFE;

  box-shadow: 0 5px 16px rgba(11, 34, 56, 0.08);
}


/* --------------------------------------------------------------------------
   GITHUB IMAGE
   -------------------------------------------------------------------------- */

.github-action-icon {
  width: 17px;
  height: 17px;

  display: block;

  object-fit: contain;

  flex: 0 0 auto;
}


/* --------------------------------------------------------------------------
   LIVE DEMO
   -------------------------------------------------------------------------- */

.demo-btn {
  color: #E39A00;
}

.demo-btn:hover {
  border-color: rgba(227, 154, 0, 0.35);

  background: #FFF9EC;
}


/* --------------------------------------------------------------------------
   REPORT
   -------------------------------------------------------------------------- */

.report-btn {
  color: #2463A3;
}


/* --------------------------------------------------------------------------
   LINK ICONS
   -------------------------------------------------------------------------- */

.project-link-icon {
  width: 15px;
  height: 15px;

  flex: 0 0 auto;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-gh-btn {
  width: 26px;
  height: 26px;

  border-radius: 50%;

  border: 1px solid var(--line);

  display: grid;
  place-items: center;

  font-size: 9px;

  font-weight: 700;

  color: var(--deep-plum);

  transition: all 0.2s;

  background: #ffffff;
}

.project-gh-btn:hover {
  background: var(--deep-plum);

  color: #ffffff;

  border-color: var(--deep-plum);
}


/* --------------------------------------------------------------------------
   PROJECT TYPOGRAPHY
   -------------------------------------------------------------------------- */

.project-details h3 {
  margin-bottom: 8px;

  color: var(--deep-plum);

  font-size: 17px;

  line-height: 1.25;

  letter-spacing: -0.025em;

  font-weight: 750;
}

.project-details p {
  margin-bottom: 14px;

  color: var(--muted);

  font-size: 11.5px;

  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   PROJECT TECHNOLOGY PILLS
   -------------------------------------------------------------------------- */

.project-tech-pills {
  display: flex;

  flex-wrap: wrap;

  gap: 5px;

  margin-top: auto;
}

.project-tech-pills span {
  padding: 4px 7px;

  border-radius: 999px;

  background: #F7FAFD;

  border: 1px solid rgba(36, 99, 163, 0.13);

  color: #294B6B;

  font-size: 9px;

  font-weight: 600;

  line-height: 1.2;
}


/* --------------------------------------------------------------------------
   PROJECT RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {

  .projects-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
  }

  .project-thumb {
    height: 180px;
  }

}


@media (max-width: 600px) {

  .project-filters {
    justify-content: flex-start;

    margin: 28px 0 30px;

    gap: 8px;

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 4px;

    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .project-filter {
    flex: 0 0 auto;

    min-height: 36px;

    padding: 7px 13px;

    font-size: 11.5px;
  }

  .projects-deck {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .project-thumb {
    height: 200px;
  }

  .project-details {
    padding: 18px;
  }

}


/* ==========================================================================
   SECTION 4: TRAJECTORY & ROADMAP
   ========================================================================== */
.trajectory-list {
  display: flex; flex-direction: column; gap: 18px;
}

.trajectory-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  transition: all .2s ease;
  box-shadow: 0 2px 12px rgba(11, 34, 56, 0.04);
}
.trajectory-card:hover {
  border-color: var(--morning-breeze);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(11, 34, 56, 0.08);
}

.trajectory-time {
  font-family: "Playfair Display", serif;
  font-style: italic; font-size: 17px;
  color: #1e5a96; font-weight: 600;
}
.trajectory-time span {
  display: block; font-family: "DM Sans", sans-serif; font-style: normal;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px;
}

.trajectory-info h3 {
  font-size: 18px; font-weight: 700; color: var(--deep-plum); margin-bottom: 4px;
}
.trajectory-context {
  font-size: 13.5px; font-weight: 600; color: var(--berry-rose); margin-bottom: 8px !important;
}
.trajectory-info p {
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.trajectory-tags {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px;
}
.trajectory-tags span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 6px;
  background: var(--paper-2); color: #0B2238; font-weight: 600;
  border: 1px solid var(--line);
}

/* Company logo in trajectory time column */
.trajectory-logo {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 5px;
  box-shadow: 0 2px 8px rgba(11,34,56,0.07);
  display: block;
  margin-bottom: 10px;
}

/* ==========================================================================
   CERTIFICATIONS — Minimal Badge Grid
   ========================================================================== */
.cert-badge-section {
  margin-top: 40px;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.cert-badge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-badge-head h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--deep-plum);
  letter-spacing: -0.02em;
}

.cert-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}
.cert-chip:hover {
  background: #ffffff;
  border-color: var(--morning-breeze);
  box-shadow: 0 6px 20px rgba(11, 34, 56, 0.08);
  transform: translateY(-2px);
}

.cert-chip i {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--deep-plum);
  opacity: 0.75;
}

.cert-chip span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cert-chip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-plum);
  line-height: 1.3;
}
.cert-chip em {
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

.ext-icon {
  width: 13px; height: 13px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--muted-light);
  stroke-width: 2;
  margin-left: 2px;
  transition: stroke .2s;
}
.cert-chip:hover .ext-icon { stroke: var(--raspberry); }


/* ==========================================================================
   ARCHITECTURE LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 56, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1080px, 96vw);
  max-height: 92vh;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1) translateY(0);
}

.lightbox-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.lightbox-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lightbox-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(168, 198, 231, 0.35);
  color: var(--deep-plum);
  padding: 4px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}

.lightbox-header h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--deep-plum);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--deep-plum);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.lightbox-close-btn:hover {
  background: var(--deep-plum);
  color: #ffffff;
  transform: rotate(90deg);
}

.lightbox-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.lightbox-body {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: auto;
  max-height: calc(92vh - 140px);
}

.lightbox-body img {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(11, 34, 56, 0.08);
}

.lightbox-footer {
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.lightbox-hint {
  font-size: 12px;
  color: var(--muted);
}

.lightbox-hint kbd {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--deep-plum);
}

.lightbox-raw-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e5a96;
  transition: color .2s;
}

.lightbox-raw-btn:hover {
  color: var(--deep-plum);
}

/* ==========================================================================
   SECTION 5: CONTACT & COLLABORATION (Dual Card + Pre-filled Form)
   ========================================================================== */
.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card {
  background: linear-gradient(135deg, #0B2238 0%, #153A60 65%, #1D436C 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(11, 34, 56, 0.20);
  position: relative;
  overflow: hidden;
}

.contact-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  width: fit-content;
}

.contact-info-card h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.contact-info-card p {
  color: #DCE6F1;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all .2s ease;
  color: #ffffff;
}

.direct-contact-item:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--morning-breeze);
  transform: translateX(4px);
}

.contact-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(168, 198, 231, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.direct-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A8C6E7;
  font-weight: 600;
}

.direct-contact-item strong {
  font-size: 13.5px;
  color: #ffffff;
  word-break: break-all;
}

.contact-social-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.contact-social-btn {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s ease;
}

.contact-social-btn:hover {
  background: #ffffff;
  color: #0B2238;
  transform: translateY(-2px);
}

/* Contact Form Card (Clean, Modern, Interactive) */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-plum);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #D5E0EA;
  background: #F7FAFC;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: all .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--morning-breeze);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(168, 198, 231, 0.35);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-helper-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-helper-note strong {
  color: var(--deep-plum);
}

.form-actions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-send-message {
  padding: 13px 26px;
  border-radius: 12px;
  background: #5CA0E6;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
  box-shadow: 0 8px 20px rgba(92, 160, 230, 0.35);
}

.btn-send-message:hover {
  background: #4A8ED4;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(92, 160, 230, 0.45);
}

.btn-send-message svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.btn-copy-email-subtle {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--deep-plum);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-copy-email-subtle:hover {
  background: #ffffff;
  border-color: var(--morning-breeze);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 36px 0 45px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand-title {
  color: var(--deep-plum); font-weight: 700; font-size: 15px;
}

/* UI Icons */
.ui-icon {
  width: 15px; height: 15px; display: inline-block; fill: none !important;
  stroke: currentColor !important; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; vertical-align: -2px;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 110px; }
  .continuum-inner { grid-template-columns: 1fr; gap: 24px; }
  .focus-cards-row { grid-template-columns: 1fr; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .projects-deck { grid-template-columns: 1fr; }
  .trajectory-card { grid-template-columns: 1fr; gap: 10px; }
  .contact-dual-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row-dual { grid-template-columns: 1fr; }
  .desktop-nav, .nav-cta { display: none; }
  .desktop-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 252, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    gap: 16px;
    z-index: 100;
  }
  .menu-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .hero-metrics-ribbon { flex-direction: column; gap: 14px; }
  .contact-form-card { padding: 24px; }
  .contact-info-card { padding: 24px; }
  .footer-row { flex-direction: column; gap: 14px; text-align: center; }
  .cursor-glow {
    width: 320px; height: 320px; position: fixed; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(168, 198, 231, 0.22), transparent 70%);
    transform: translate(-50%, -50%); z-index: 0; transition: opacity .2s ease;
  }
}



/* ==========================================================================
   OUMAYMA HERO — TECHNICAL × IMPACT
   ========================================================================== */

.dual-identity-visual {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.identity-photo {
  position: absolute;
  width: 315px;
  height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 8px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(11, 34, 56, 0.16);
}

.identity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.identity-photo:hover img {
  transform: scale(1.035);
}

.technical-photo {
  left: 3%;
  top: 4%;
  transform: rotate(-5deg);
  z-index: 2;
}

.impact-photo {
  right: 2%;
  bottom: 3%;
  transform: rotate(5deg);
  z-index: 3;
}

.identity-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 14px;

  background: rgba(11, 34, 56, 0.88);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.identity-overlay > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.identity-overlay strong {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.identity-overlay div span {
  font-size: 11px;
  opacity: 0.78;
}

.identity-number {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--sunwashed);
}

.identity-center-label {
  position: absolute;
  z-index: 5;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 11px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--deep-plum);

  white-space: nowrap;
}

.identity-center-label b {
  color: var(--raspberry);
  font-size: 14px;
}

.hero-impact-line {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 8px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-impact-line span:nth-child(2) {
  color: var(--raspberry);
  font-size: 16px;
}


/* Mobile */
@media (max-width: 900px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dual-identity-visual {
    min-height: 500px;
    margin-top: 10px;
  }

  .identity-photo {
    width: 280px;
    height: 390px;
  }

  .technical-photo {
    left: 4%;
  }

  .impact-photo {
    right: 4%;
  }
}

@media (max-width: 560px) {
  .dual-identity-visual {
    min-height: 430px;
  }

  .identity-photo {
    width: 225px;
    height: 320px;
  }

  .technical-photo {
    left: 0;
  }

  .impact-photo {
    right: 0;
  }

  .identity-center-label {
    font-size: 9px;
    padding: 9px 12px;
  }

  .hero-impact-line {
    flex-wrap: wrap;
  }
}
/* ==========================================================================
   OUMAYMA — HERO VISUAL IDENTITY
   ========================================================================== */

/* --- Modern Blue Opportunity Badge --- */

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 9px 17px;
  margin-bottom: 26px;

  border-radius: 999px;

  background: #1E5FA8;
  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #ffffff;

  box-shadow:
    0 10px 24px rgba(30, 95, 168, 0.20);

  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow-pill b {
  font-weight: 700;
  color: #ffffff;
}

.eyebrow-pill .status-dot {
  flex: 0 0 auto;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #8ED8F8;

  box-shadow:
    0 0 0 4px rgba(142, 216, 248, 0.16),
    0 0 12px rgba(142, 216, 248, 0.45);
}


/* --- New Oumayma Hero Typography --- */

.oumayma-hero-title {
  display: flex;
  flex-direction: column;

  margin-bottom: 25px;

  color: var(--deep-plum);
}

.oumayma-hero-title .hero-title-small {
  display: block;

  margin-bottom: 5px;

  font-family: "DM Sans", sans-serif;

  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;

  letter-spacing: 0.16em;
  line-height: 1.1;

  color: #2463A3;
}

.oumayma-hero-title .hero-title-main {
  display: block;

  font-family: "DM Sans", sans-serif;

  font-size: clamp(48px, 5.5vw, 74px);
  font-weight: 800;

  letter-spacing: -0.055em;
  line-height: 0.98;

  color: var(--deep-plum);
}

.oumayma-hero-title .hero-title-main em {
  display: block;

  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;

  letter-spacing: -0.035em;

  color: #2463A3;
}


/* --- Stronger Hero Paragraph --- */

.hero-copy {
  max-width: 590px;

  font-size: 17px;
  line-height: 1.72;

  color: var(--muted);
}

.hero-copy strong {
  color: var(--deep-plum);
  font-weight: 700;
}


/* --- Technical × Impact line --- */

.hero-impact-line {
  margin-top: 10px;
}

.hero-impact-line span:first-child {
  color: #2463A3;
}

.hero-impact-line span:last-child {
  color: #486581;
}


/* --- Mobile --- */

@media (max-width: 560px) {

  .eyebrow-pill {
    font-size: 11px;
    padding: 8px 13px;
  }

  .oumayma-hero-title .hero-title-small {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .oumayma-hero-title .hero-title-main {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
  }
}
/* ==========================================================================
   OUMAYMA — TECHNICAL × IMPACT
   ========================================================================== */

.technical-impact-section {
  padding-top: 105px;
  padding-bottom: 110px;
}

.technical-impact-section .section-head {
  max-width: 760px;
}

.technical-impact-section .section-intro {
  max-width: 680px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   DUAL PANELS
   -------------------------------------------------------------------------- */

.impact-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.impact-panel {
  min-height: 430px;
  padding: 34px 36px 30px;
  border-radius: 26px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.impact-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(11, 34, 56, 0.10);
}


/* Technical */

.impact-panel-technical {
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #F2F7FC 100%
    );
}

.impact-panel-technical:hover {
  border-color: rgba(36, 99, 163, 0.35);
}


/* Impact */

.impact-panel-impact {
  background:
    linear-gradient(
      145deg,
      #FFFDF7 0%,
      #F7F3E8 100%
    );
}

.impact-panel-impact:hover {
  border-color: rgba(36, 99, 163, 0.28);
}


/* --------------------------------------------------------------------------
   PANEL HEADER
   -------------------------------------------------------------------------- */

.impact-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
}

.impact-number {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  color: #2463A3;
}

.impact-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   PANEL CONTENT
   -------------------------------------------------------------------------- */

.impact-panel-content {
  max-width: 540px;
}

.impact-panel-content h3 {
  margin: 0 0 16px;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;

  color: var(--deep-plum);
}

.impact-panel-content p {
  margin: 0;

  max-width: 500px;

  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}


/* --------------------------------------------------------------------------
   TAGS
   -------------------------------------------------------------------------- */

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

  margin-top: 28px;
}

.impact-tags span {
  padding: 7px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(127, 168, 214, 0.28);

  color: var(--deep-plum);

  font-size: 11.5px;
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   PANEL FOOTER
   -------------------------------------------------------------------------- */

.impact-panel-footer {
  margin-top: auto;
  padding-top: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top: 1px solid rgba(11, 34, 56, 0.08);

  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: #486581;
}




/* --------------------------------------------------------------------------
   CONNECTION BETWEEN THE TWO SIDES
   -------------------------------------------------------------------------- */

.impact-connection {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;

  margin-top: 48px;
}

.impact-line {
  height: 1px;
  background: var(--line);
}

.impact-connection-content {
  display: flex;
  align-items: center;
  gap: 15px;

  text-align: center;
}

.impact-connection-symbol {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  border-radius: 50%;

  background: #2463A3;
  color: #ffffff;

  font-size: 20px;
  font-weight: 500;

  box-shadow: 0 8px 22px rgba(36, 99, 163, 0.20);
}

.impact-connection-content strong {
  display: block;

  color: var(--deep-plum);

  font-size: 13px;
  font-weight: 700;
}

.impact-connection-content p {
  margin-top: 4px;

  color: var(--muted);

  font-size: 12px;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {

  .impact-dual-grid {
    grid-template-columns: 1fr;
  }

  .impact-panel {
    min-height: 390px;
  }

  .impact-connection {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .impact-line {
    display: none;
  }

  .impact-connection-content {
    justify-content: center;
  }

}


@media (max-width: 600px) {

  .technical-impact-section {
    padding-top: 80px;
    padding-bottom: 85px;
  }

  .impact-dual-grid {
    margin-top: 32px;
    gap: 16px;
  }

  .impact-panel {
    min-height: 390px;
    padding: 28px 24px 24px;
    border-radius: 22px;
  }

  .impact-panel-top {
    margin-bottom: 45px;
  }

  .impact-panel-content h3 {
    font-size: 40px;
  }

  .impact-panel-content p {
    font-size: 14px;
  }

  .impact-tags span {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .impact-connection-content {
    align-items: flex-start;
    text-align: left;
  }

}



/* ==========================================================================
   ORGANIZATION LOGOS
   ========================================================================== */

.experience-company {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.experience-company-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 9px;

  border: 1px solid rgba(36, 99, 163, 0.18);
  border-radius: 13px;

  background: #ffffff;
  box-shadow: 0 5px 16px rgba(11, 34, 56, 0.06);
}

.experience-company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-company h3 {
  margin: 0 0 5px;
}

.experience-company .experience-role {
  margin: 0;
}


/* ---------- Leadership logos ---------- */

.leadership-company {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.leadership-company-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 7px;

  border: 1px solid rgba(36, 99, 163, 0.16);
  border-radius: 10px;

  background: #ffffff;
}

.leadership-company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.leadership-company h3 {
  margin: 0 0 4px;
}

.leadership-company .leadership-role {
  margin: 0;
}
/* ==========================================================================
   CLOUD — COMING SOON
   ========================================================================== */

.cloud-coming-soon {
  grid-column: 1 / -1;

  min-height: 330px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 48px 30px;

  border: 1px solid rgba(36, 99, 163, 0.18);
  border-radius: 20px;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(36, 99, 163, 0.08),
      transparent 42%
    ),
    #ffffff;

  text-align: center;

  position: relative;

  overflow: hidden;

  box-shadow:
    0 8px 28px rgba(11, 34, 56, 0.05);
}


/* subtle decorative line */

.cloud-coming-soon::before {
  content: "";

  position: absolute;

  top: 0;
  left: 12%;
  right: 12%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(36, 99, 163, 0.35),
      transparent
    );
}


/* icon */

.cloud-coming-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  border: 1px solid rgba(36, 99, 163, 0.18);
  border-radius: 16px;

  background: #F8FBFE;

  color: #2463A3;
}

.cloud-coming-icon svg {
  width: 28px;
  height: 28px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* small label */

.cloud-coming-label {
  margin-bottom: 8px;

  color: #2463A3;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


/* title */

.cloud-coming-soon h3 {
  margin: 0 0 10px;

  color: #102A43;

  font-size: 24px;

  font-weight: 800;

  letter-spacing: -0.02em;
}


/* description */

.cloud-coming-soon p {
  max-width: 560px;

  margin: 0;

  color: #6B8196;

  font-size: 12px;

  line-height: 1.7;
}


/* coming soon divider */

.cloud-coming-line {
  display: flex;
  align-items: center;
  gap: 12px;

  width: min(360px, 80%);

  margin-top: 26px;
}

.cloud-coming-line span {
  flex: 1;

  height: 1px;

  background: rgba(36, 99, 163, 0.14);
}

.cloud-coming-line strong {
  color: #2463A3;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.16em;
}


/* year */

.cloud-coming-year {
  margin-top: 10px;

  color: #B2C0CD;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.2em;
}
.cloud-coming-icon {
  animation: cloudFloat 3.5s ease-in-out infinite;
}

@keyframes cloudFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

}



/* ==========================================================================
   EDUCATION — VERTICAL TIMELINE
   ========================================================================== */

.education-timeline {
  --timeline-line: var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
  padding: 8px 0 8px 8px;
}

.education-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 30px;
  left: 27px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--morning-breeze),
    var(--timeline-line)
  );
}

.education-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.education-marker {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--morning-breeze);
  border-radius: 50%;
  background: #fff;
  color: var(--deep-plum);
  box-shadow: 0 0 0 6px var(--paper-2);
}

.education-marker span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.education-card {
  min-width: 0;
  padding: 25px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.education-card:hover {
  transform: translateY(-3px);
  border-color: var(--morning-breeze);
  box-shadow: 0 12px 32px rgba(11, 34, 56, 0.08);
}

.education-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.education-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-plum);
}

.education-status {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--deep-plum);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.education-status.completed {
  color: var(--muted);
}

.education-location {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-card h3 {
  margin-bottom: 7px;
  color: var(--deep-plum);
  font-size: 18px;
  line-height: 1.4;
}

.education-card > p:not(.trajectory-context) {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.education-card .trajectory-context {
  margin-bottom: 10px !important;
}

.education-card .trajectory-tags {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .education-timeline {
    gap: 20px;
    padding-left: 0;
  }

  .education-timeline::before {
    left: 19px;
  }

  .education-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .education-marker {
    width: 38px;
    height: 38px;
  }

  .education-card {
    padding: 19px 17px;
  }

  .education-card h3 {
    font-size: 16px;
  }

  .education-date {
    font-size: 12px;
  }
}



/* ================================
   CERTIFICATIONS
================================ */

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.certificate-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line, rgba(100, 90, 110, 0.18));
  border-radius: var(--radius-lg, 18px);
  background: var(--paper-2, #fff);
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(30, 20, 40, 0.06));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(30, 20, 40, 0.12);
}

.certificate-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 18px;
  background: #f3f0f6;
}

.certificate-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-preview img {
  transform: scale(1.025);
}

.certificate-preview-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--deep-plum, #493653);
  text-align: center;
}

.certificate-preview-fallback span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certificate-preview-fallback strong {
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.certificate-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
}

.certificate-type {
  color: var(--deep-plum, #493653);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certificate-content h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.certificate-issuer,
.certificate-date {
  margin: 0;
  color: var(--muted, #716b78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 16px;
  border: 1px solid var(--deep-plum, #493653);
  border-radius: 999px;
  color: var(--deep-plum, #493653);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.certificate-link:hover {
  color: #fff;
  background: var(--deep-plum, #493653);
}

@media (max-width: 700px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certificate-content {
    padding: 20px;
  }
}



/* ==========================================================================
   CONTACT SECTION — focused layout update (scoped to #contact only)
   ========================================================================== */
#contact .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 38px;
  align-items: start;
}
#contact .contact-form-card {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#contact .contact-form-layout { gap: 18px; }
#contact .form-row-dual { gap: 16px; }
#contact .form-group label {
  color: var(--deep-plum);
  font-size: 13px;
  margin-bottom: 1px;
}
#contact .form-group input,
#contact .form-group textarea {
  background: var(--paper-card);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 13px;
}
#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder { color: var(--muted-light); }
#contact .form-group input:focus,
#contact .form-group textarea:focus {
  outline: none;
  border-color: var(--raspberry);
  box-shadow: 0 0 0 3px rgba(36, 99, 163, .10);
}
#contact .form-group textarea { min-height: 126px; resize: vertical; }
#contact .form-actions-bar { margin-top: -2px; }
#contact .btn-send-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 156px;
  padding: 12px 22px;
  border-radius: 9px;
  background: var(--raspberry);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
#contact .btn-send-message:hover {
  background: var(--berry-rose);
  transform: translateY(-2px);
}
#contact .btn-send-message .ui-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
#contact .contact-sidebar { display: flex; flex-direction: column; gap: 18px; }
#contact .contact-side-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
#contact .contact-side-card h3 {
  margin: 0 0 14px;
  color: var(--deep-plum);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
#contact .contact-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
#contact .contact-side-link:hover { color: var(--raspberry); }
#contact .contact-side-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#contact .availability-card { padding-bottom: 20px; }
#contact .availability-card h3 { margin-bottom: 10px; }
#contact .availability-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
#contact .availability-card .availability-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 600;
}
#contact .availability-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #10b981;
}
@media (max-width: 760px) {
  #contact .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  #contact .contact-sidebar { gap: 14px; }
  #contact .contact-side-card { padding: 20px; }
}
@media (max-width: 520px) {
  #contact .form-row-dual { grid-template-columns: 1fr; }
}


/* ==========================================================================
   GLOBAL SCALE REFINEMENT — desktop portfolio only
   Reduces the overall visual scale without changing section content or colors.
   Mobile/tablet layouts remain governed by their existing responsive rules.
   ========================================================================== */
@media (min-width: 1024px) {
  body {
    zoom: 0.92;
    width: calc(100% / 0.92);
    margin-left: calc((100% - (100% / 0.92)) / 2);
  }
}


/* ==========================================================================
   CONTACT POLISH — dark social cards, clear link affordances and CV action
   Scoped exclusively to #contact.
   ========================================================================== */
#contact .contact-side-card {
  background: linear-gradient(145deg, #0B2238 0%, #153A60 100%);
  border: 1px solid rgba(168, 198, 231, 0.22);
  box-shadow: 0 14px 32px rgba(11, 34, 56, 0.14);
}
#contact .contact-side-card h3 {
  color: #FFF2B2;
}
#contact .contact-side-link {
  color: #D6E5F5;
  border-radius: 8px;
  padding: 9px 8px;
  margin: 0 -8px;
  gap: 11px;
}
#contact .contact-side-link:hover,
#contact .contact-side-link:focus-visible {
  color: #FFF2B2;
  background: rgba(255, 242, 178, 0.10);
  outline: none;
}
#contact .contact-side-link svg {
  color: #A8C6E7;
  transition: color .2s ease, transform .2s ease;
}
#contact .contact-side-link:hover svg,
#contact .contact-side-link:focus-visible svg {
  color: #FFF2B2;
  transform: translateY(-1px);
}
#contact .contact-external-arrow {
  margin-left: auto;
  padding-left: 8px;
  color: #A8C6E7;
  font-size: 16px;
  font-weight: 700;
  opacity: .9;
  transition: color .2s ease, transform .2s ease;
}
#contact .contact-side-link:hover .contact-external-arrow,
#contact .contact-side-link:focus-visible .contact-external-arrow {
  color: #FFF2B2;
  transform: translate(2px, -2px);
}

#contact .contact-cv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 15px;

  border: 1px solid rgba(77, 104, 255, 0.35);
  border-radius: 10px;

  /* Blue → violet gradient */
  background: linear-gradient(
    100deg,
    #3478FF 0%,
    #4D68FF 52%,
    #9250FF 100%
  );

  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 8px 18px rgba(77, 104, 255, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#contact .contact-cv-button:hover,
#contact .contact-cv-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
  filter: brightness(1.04);
  outline: 2px solid rgba(255, 242, 178, .55);
  outline-offset: 3px;
}
#contact .contact-cv-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#contact .contact-cv-arrow {
  margin-left: auto;
  font-size: 16px;
}
#contact .availability-card p {
  color: #D6E5F5;
}
#contact .availability-card .availability-status {
  color: #FFF2B2;
}
#contact .availability-card p strong {
  color: #FFFFFF;
  font-weight: 700;
}
@media (max-width: 760px) {
  #contact .contact-side-link { padding: 9px 7px; }
}


/* ==========================================================================
   CONTACT VISUAL COHESION — unified outer panel + navy form accents
   Scoped exclusively to #contact.
   ========================================================================== */
#contact .contact-layout {
  position: relative;
  align-items: stretch;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(36, 99, 163, 0.20);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(168, 198, 231, 0.20), transparent 38%),
    linear-gradient(145deg, #FFFFFF 0%, #F0F5FA 100%);
  box-shadow: 0 18px 46px rgba(11, 34, 56, 0.08);
}
#contact .contact-form-card {
  display: flex;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(21, 58, 96, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}
#contact .contact-form-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 16px;
}
#contact .form-group label {
  color: #153A60;
  font-weight: 700;
}
#contact .form-group input,
#contact .form-group textarea {
  border: 1px solid rgba(21, 58, 96, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 2px rgba(11, 34, 56, 0.025);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#contact .form-group input:hover,
#contact .form-group textarea:hover {
  border-color: rgba(36, 99, 163, 0.55);
}
#contact .form-group input:focus,
#contact .form-group textarea:focus {
  border-color: #2463A3;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(36, 99, 163, 0.13);
}
#contact .contact-sidebar {
  min-width: 0;
  height: 100%;
  justify-content: space-between;
  gap: 16px;
}
#contact .contact-side-card {
  flex: 1 1 auto;
  border-radius: 16px;
}
#contact .availability-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contact .contact-cv-button {
  margin-top: 16px;
}
@media (max-width: 760px) {
  #contact .contact-layout {
    padding: 14px;
    gap: 16px;
    border-radius: 18px;
  }
  #contact .contact-form-card {
    padding: 14px;
  }
  #contact .contact-sidebar {
    height: auto;
    gap: 14px;
  }
}


/* ==========================================================================
   CONTACT PALETTE REFINEMENT — blue gradient only
   Scoped exclusively to #contact.
   ========================================================================== */
#contact .contact-side-card {
  background: linear-gradient(145deg, #0B2238 0%, #12385C 55%, #1D5687 100%);
  border-color: rgba(168, 198, 231, 0.25);
}
#contact .contact-side-card h3 {
  color: #D6E8FA;
}
#contact .contact-side-link:hover,
#contact .contact-side-link:focus-visible {
  color: #FFFFFF;
  background: rgba(168, 198, 231, 0.14);
}
#contact .contact-side-link svg,
#contact .contact-external-arrow {
  color: #A8C6E7;
}
#contact .contact-side-link:hover svg,
#contact .contact-side-link:focus-visible svg,
#contact .contact-side-link:hover .contact-external-arrow,
#contact .contact-side-link:focus-visible .contact-external-arrow {
  color: #FFFFFF;
}
#contact .contact-cv-button {
  background: linear-gradient(110deg, #DCEBFA 0%, #A8C6E7 52%, #6F9FCE 100%);
  border-color: rgba(220, 235, 250, 0.55);
  color: #0B2238;
}
#contact .contact-cv-button:hover,
#contact .contact-cv-button:focus-visible {
  filter: brightness(1.06);
  outline-color: rgba(168, 198, 231, 0.65);
}
#contact .availability-card p {
  color: #D6E5F5;
}
#contact .availability-card .availability-status {
  color: #FFFFFF;
}
#contact .availability-dot {
  background: #7DB5E8;
  box-shadow: 0 0 0 3px rgba(125, 181, 232, 0.16);
}
#contact .availability-card p strong {
  color: #FFFFFF;
}
#contact .contact-form-card {
  border-color: rgba(36, 99, 163, 0.32);
  box-shadow: inset 0 0 0 1px rgba(168, 198, 231, 0.10);
}
#contact .form-group input,
#contact .form-group textarea {
  border-color: #2463A3;
}
#contact .form-group input:hover,
#contact .form-group textarea:hover {
  border-color: #4D8CC7;
}
#contact .form-group input:focus,
#contact .form-group textarea:focus {
  border-color: #4D8CC7;
  box-shadow: 0 0 0 3px rgba(77, 140, 199, 0.18);
}


/* Contact form sending feedback — scoped to contact only */
#contact .contact-form-status {
  min-height: 1.25em;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
#contact .contact-form-status:empty { display: none; }
#contact .contact-form-status[data-state="sending"] { color: #2463A3; }
#contact .contact-form-status[data-state="success"] { color: #2463A3; }
#contact .contact-form-status[data-state="error"] { color: #153A60; }
#contact .btn-send-message:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}



/* ==========================================
   HERO — PHOTO CONTRAST
========================================== */

.hero-text-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.identity-photo {
  box-shadow:
    0 18px 50px rgba(11, 34, 56, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}
/* ==========================================
   HERO POLISH — TECHNICAL × IMPACT
========================================== */

/* ==========================================
   HERO — TECHNICAL × IMPACT POSITION
========================================== */

.hero .identity-center-label {
  position: absolute;

  /* Position au centre de l'intersection */
  left: 50%;
  top: 50%;

  /* Centrage précis */
  transform: translate(-50%, -50%);

  /* Priorité d'affichage */
  z-index: 10;

  /* Animation conservée */
  animation: technicalImpactFloat 5s ease-in-out infinite;

  will-change: transform;
}

@keyframes technicalImpactFloat {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 9px));
  }
}

/* ==========================================
   HERO POLISH — AVAILABILITY BADGE
========================================== */

.hero .eyebrow-pill {
  overflow: hidden;
}

/* ==========================================
   HERO — LOOPING TYPEWRITER
========================================== */

.hero .eyebrow-main {
  display: inline-block;
  white-space: nowrap;
  vertical-align: bottom;

  width: auto;
  max-width: none;

  animation: none;
}



/* Mention PFE */
.hero .eyebrow-pfe {
  display: inline-block;
  opacity: 1;
  white-space: nowrap;
  flex-shrink: 0;
  animation: none;
}

/* Apparition du texte */
@keyframes eyebrowTyping {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}



/* ==========================================
   HERO POLISH — AMBIENT LIGHT
========================================== */

.hero {
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 25% 35%,
    rgba(120, 180, 255, 0.16),
    transparent 55%
  );

  animation: heroAmbientLight 12s ease-in-out infinite alternate;
}

@keyframes heroAmbientLight {
  0% {
    transform: translateX(-2%) translateY(0);
    opacity: 0.55;
  }

  100% {
    transform: translateX(3%) translateY(-1%);
    opacity: 1;
  }
}

/* ==========================================
   ACCESSIBILITY — REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .hero .identity-center-label,
  .hero .eyebrow-main,
  .hero .eyebrow-pfe,
  .hero::after {
    animation: none !important;
    transition: none !important;
  }

  .hero .eyebrow-main {
    width: auto;
    max-width: 100%;
  }

  .hero .eyebrow-pfe {
    opacity: 1;
    transform: none;
  }
}



/* ==========================================
   HERO — SINGLE-LINE OPPORTUNITY BADGE
========================================== */

.hero .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  gap: 10px;

  width: max-content;
  max-width: calc(100vw - 40px);

  white-space: nowrap;
  overflow: hidden;
}

.hero .eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  flex-wrap: nowrap;
  white-space: nowrap;

  min-width: 0;
}

.hero .eyebrow-main,
.hero .eyebrow-pfe {
  white-space: nowrap;
  flex-shrink: 0;
}
/* ================================================================
   PASTEL BLUE REFERENCE — HEADER + FIRST SECTION ONLY
   All other portfolio sections intentionally remain unchanged.
   ================================================================ */
.site-header.pastel-header{top:0;left:0;transform:none;width:100%;max-width:none;height:126px;padding:0 max(6.7vw,24px);border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
.pastel-header .brand{min-width:110px}.pastel-header .oi-logo{font-size:47px;font-weight:900;letter-spacing:-9px;line-height:1;color:#416bff;background:linear-gradient(130deg,#8ac6ff,#2853f5 65%,#44b5fa);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.pastel-header .oi-logo span{margin-left:4px}
.pastel-header .desktop-nav{gap:45px;color:#111b63;font-size:15px;font-weight:500}.pastel-header .desktop-nav a.active{color:#2768ff}.pastel-header .desktop-nav a.active::after{transform:scaleX(1);background:#427cff;height:3px;bottom:-13px}.pastel-header .desktop-nav a::after{background:#427cff}
.pastel-header .nav-cta{padding:12px 32px;border:1.5px solid #98a6ed;background:transparent;color:#182366;border-radius:35px;box-shadow:none;font-size:15px;font-weight:500;gap:24px}.pastel-header .nav-cta span{font-size:24px;color:#3473ff;line-height:1}.pastel-header .nav-cta:hover{background:#eaf1ff;color:#265fff}
.hero.pastel-hero{min-height:1000px;padding:165px 0 65px;align-items:stretch;background:#f5fbff;background-image:radial-gradient(ellipse at 26% 39%,#fff 0%,rgba(255,255,255,.7) 40%,transparent 73%),radial-gradient(ellipse at 95% 80%,#e2eeff 0%,transparent 42%);overflow:hidden}
.hero.pastel-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 360px 310px at -5% -5%,#c9dcff 0%,transparent 100%),radial-gradient(ellipse 340px 260px at 105% 104%,#c3d7ff 0%,transparent 100%);z-index:-1}
.hero.pastel-hero::after{display:none}.pastel-hero .container{width:min(1120px,calc(100% - 70px));position:relative}.pastel-hero .hero-grid-split{grid-template-columns:54% 46%;gap:0;align-items:start;min-height:645px}.pastel-hero .hero-text-content{padding-top:40px;position:relative;z-index:2}.pastel-hello{display:inline-block;padding:3px 10px;border:1px solid #d7eaff;border-radius:30px;background:#edf7ff;color:#2c76ff;font-size:16px;letter-spacing:5px;font-weight:600}.pastel-hero .pastel-name{font-size:clamp(15px,4.65vw,40px);font-weight:600;letter-spacing:-.065em;white-space:nowrap;color:#09154c;line-height:1.18;margin:6px 0 17px}.pastel-slogan{font-size:clamp(28px,3.6vw,50px);line-height:1.16;letter-spacing:-.04em;white-space:nowrap;font-weight:800;background:linear-gradient(90deg,#398aff 0%,#2463f5 50%,#9136e8 100%);background-clip:text;-webkit-background-clip:text;color:transparent}.pastel-hero .hero-copy{margin:31px 0 25px;font-size:20px;line-height:1.65;font-weight:400;color:#7182c1;max-width:510px}.pastel-short-rule{display:block;width:42px;height:4px;border-radius:4px;background:linear-gradient(90deg,#338cff,#9352ef);margin:28px 0 44px}.pastel-three-pillars{display:flex;align-items:stretch;gap:0;margin-bottom:42px}.pastel-three-pillars>div{display:flex;flex-direction:column;gap:10px;min-width:135px;padding-right:25px;margin-right:25px;border-right:1px solid #c9d9ff;color:#273d99;font-size:15px;line-height:1.5}.pastel-three-pillars>div:last-child{border:0;margin:0}.pillar-icon,.bottom-icon{width:48px;height:48px;border-radius:50%;background:#e1ecff;color:#276cff;display:grid;place-items:center;font-size:27px;font-weight:700}.pastel-hero .hero-actions{margin:0}.pastel-hero .btn-primary-rose{padding:14px 31px;border-radius:23px;background:linear-gradient(105deg,#2588ff,#3864ff 60%,#a24bef);box-shadow:none;font-size:16px;font-weight:500;gap:25px}.pastel-hero .btn-primary-rose span{font-size:26px;line-height:1}.pastel-reference-visual{min-height:695px;width:calc(100% + 120px);margin-left:-40px;margin-top:-30px;background:url('assets/hero-reference-visual.png') center center / contain no-repeat;position:relative;z-index:1}.pastel-bottom-features{border-top:1px solid #a8caff;padding:42px 35px 15px;display:grid;grid-template-columns:repeat(3,1fr);gap:38px}.pastel-bottom-features>div{display:flex;gap:20px;align-items:center;border-right:1px solid #b5caff}.pastel-bottom-features>div:last-child{border:0}.pastel-bottom-features p{display:flex;flex-direction:column;gap:4px;margin:0;color:#243d96;font-size:14px}.pastel-bottom-features small{font-size:13px;color:#8294d3}.pastel-bottom-features .bottom-icon{flex-shrink:0;width:54px;height:54px}
@media(max-width:1050px){.pastel-header .desktop-nav{gap:19px}.pastel-hero .pastel-name{font-size:clamp(34px,4.3vw,54px)}.pastel-slogan{font-size:clamp(25px,3.3vw,43px)}.pastel-reference-visual{margin-left:-20px;width:calc(100% + 60px)}.pastel-three-pillars>div{min-width:105px;margin-right:12px;padding-right:12px;font-size:13px}}
@media(max-width:760px){.site-header.pastel-header{height:80px;padding:0 22px;background:rgba(247,251,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.pastel-header .oi-logo{font-size:38px}.pastel-header .menu-toggle{display:block}.pastel-header .nav-cta{margin-left:auto;margin-right:16px;padding:8px 13px;font-size:12px;gap:9px}.pastel-header .nav-cta span{font-size:18px}.pastel-header .desktop-nav{display:none}.pastel-header .desktop-nav.mobile-active{display:flex;position:absolute;top:75px;left:12px;right:12px;background:#fff;border-radius:18px;padding:22px;flex-direction:column;gap:17px;box-shadow:0 12px 40px #152d6222}.hero.pastel-hero{min-height:unset;padding:110px 0 45px}.pastel-hero .container{width:calc(100% - 36px)}.pastel-hero .hero-grid-split{grid-template-columns:1fr;min-height:unset}.pastel-hero .hero-text-content{padding-top:10px}.pastel-hero .pastel-name{white-space:normal;font-size:clamp(37px,8vw,55px)}.pastel-slogan{white-space:normal;font-size:clamp(30px,7vw,47px)}.pastel-hero .hero-copy{font-size:17px}.desktop-break{display:none}.pastel-three-pillars{justify-content:space-between}.pastel-three-pillars>div{min-width:0;flex:1;margin-right:10px;padding-right:8px;font-size:12px}.pillar-icon{width:43px;height:43px}.pastel-reference-visual{width:100%;margin:20px 0 0;min-height:480px;background-size:contain}.pastel-bottom-features{grid-template-columns:1fr;gap:20px;padding:28px 8px}.pastel-bottom-features>div{border-right:0;border-bottom:1px solid #c7d9ff;padding-bottom:15px}.pastel-bottom-features>div:last-child{border:0}}

/* HERO — PERSONAL PHOTO COMPOSITION */

.pastel-custom-visual {
  position: relative;
  width: calc(100% + 120px);
  min-height: 695px;
  margin-left: -40px;
  margin-top: -30px;
  isolation: isolate;
}

.pastel-blob {
  position: absolute;
  background: #d8e8ff;
  border-radius: 42% 58% 65% 35%;
  opacity: .8;
  z-index: -1;
}

.blob-one {
  width: 75%;
  height: 65%;
  top: 15%;
  left: 12%;
  transform: rotate(-20deg);
}

.blob-two {
  width: 65%;
  height: 55%;
  bottom: 3%;
  right: 0;
  background: #c5dbff;
  transform: rotate(20deg);
}

.pastel-photo {
  position: absolute;
  overflow: hidden;
  background: #e4efff;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 52px;
  box-shadow: 0 24px 55px rgba(65,115,210,.13);
  transition: transform .4s ease;
}

.pastel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-technical {
  width: 55%;
  height: 59%;
  top: 12%;
  left: 8%;
  transform: rotate(-4deg);
  z-index: 2;
}

.photo-impact {
  width: 54%;
  height: 55%;
  right: 1%;
  bottom: 5%;
  transform: rotate(10deg);
  z-index: 3;
}

.photo-technical:hover {
  transform: rotate(-2deg) translateY(-8px);
}

.photo-impact:hover {
  transform: rotate(6deg) translateY(-8px);
}

.pastel-floating-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid #d9e7ff;
  border-radius: 26px;
  box-shadow: 0 15px 35px rgba(67,113,205,.09);
  z-index: 5;
}

.pastel-floating-card strong {
  color: #112a78;
  font-size: 14px;
}

.pastel-floating-card p {
  color: #7488cb;
  font-size: 12px;
  margin-top: 5px;
}

.card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 25px;
  background: linear-gradient(135deg,#298aff,#6680ff);
}

.skills-card {
  top: 4%;
  right: 0;
  transform: rotate(6deg);
}

.leadership-card-hero {
  bottom: 8%;
  left: -5%;
  transform: rotate(-6deg);
}

.pastel-sparkle {
  position: absolute;
  color: #3786ff;
  font-size: 32px;
}

.sparkle-one {
  right: 20%;
  top: 30%;
}

.sparkle-two {
  right: 4%;
  bottom: 0;
}

.pastel-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 95px;
  height: 70px;
  background-image: radial-gradient(#8baaff 2px, transparent 2px);
  background-size: 19px 19px;
}

.pastel-handwriting {
  position: absolute;
  right: -4%;
  top: 34%;
  color: #347dff;
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
  transform: rotate(-12deg);
  text-align: center;
  z-index: 4;
}

@media (max-width: 768px) {
  .pastel-custom-visual {
    width: 100%;
    margin: 0;
    min-height: 520px;
  }

  .pastel-floating-card {
    padding: 12px;
  }

  .pastel-floating-card p {
    font-size: 10px;
  }

  .pastel-handwriting {
    font-size: 14px;
    right: 0;
  }
}


/* ==========================================
   HERO — ARROWS FINAL POSITION
========================================== */

.hero-arrow {
  position: absolute;
  width: 65px;
  height: 65px;
  z-index: 6;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(
    0 2px 3px rgba(52,125,255,.10)
  );
}

/* TECHNICAL ARROW */
.arrow-technical {
  top: 2%;
  right: 80%;
  transform: rotate(0deg);
}

/* IMPACT ARROW */
.arrow-impact {
  bottom: 23%;
  left: 14%;
  transform: rotate(0deg);
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-arrow {
    width: 48px;
    height: 48px;
  }

  .arrow-technical {
    top: 3%;
    right: 26%;
  }

  .arrow-impact {
    bottom: 23%;
    left: 14%;
  }

}


/* ==========================================
   HERO — FINAL ARROW POSITIONING
========================================== */

.pastel-custom-visual .hero-arrow {
  position: absolute;
  pointer-events: none;
  z-index: 8;
  height: auto;
  overflow: visible;
  transform: none;
}

/* Technical — upper curved arrow */
.pastel-custom-visual .arrow-technical {
  width: 60px;
  top: -1%;
  right: 34%;
  bottom: auto;
  left: auto;
}

/* Impact — lower curved arrow */
.pastel-custom-visual .arrow-impact {
  width: 60px;
  bottom: 0%;
  left: 28%;
  top: auto;
  right: auto;
}

/* Responsive */
@media (max-width: 768px) {

  .pastel-custom-visual .arrow-technical {
    width: 38px;
    top: 0%;
    right: 34%;
  }

  .pastel-custom-visual .arrow-impact {
    width: 42px;
    bottom: 1%;
    left: 28%;
  }

}



/* NAVBAR — EIGHT LINKS */

.site-header .desktop-nav {
  gap: clamp(12px, 1.6vw, 25px);
}

.site-header .desktop-nav a {
  white-space: nowrap;
  font-size: 13px;
}

.site-header .desktop-nav a.active {
  color: #347dff;
}

.site-header .desktop-nav a.active::after {
  transform: scaleX(1);
  background: #347dff;
}

/* PORTFOLIO LOGO */

.portfolio-logo {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
}

.logo-bracket {
  color: #347dff;
  font-weight: 500;
}

.logo-letters {
  background: linear-gradient(
    135deg,
    #258aff 0%,
    #315aff 55%,
    #9152f5 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-i {
  font-family: Georgia, serif;
  font-weight: 900;
  margin-left: 2px;
}


/* HERO — FLOATING CARDS POSITION */

/* Technical Skills */
.pastel-custom-visual .skills-card {
  top: 7%;
  right: 8%;
}

/* Leadership & Impact */
.pastel-custom-visual .leadership-card-hero {
  bottom: 13%;
  left: 1%;
}

/* Technical arrow */
.pastel-custom-visual .arrow-technical {
  top: 5%;
  right: 50%;
}

/* Impact arrow */
.pastel-custom-visual .arrow-impact {
  bottom: 7%;
  left: 30%;
}

/* ==========================================
   HERO — TECHNICAL × IMPACT BADGE
========================================== */

.hero-dual-badge {
  position: absolute;

  /* Intersection des deux photos */
  top: 53%;
  left: 30%;

  z-index: 7;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 20px;

  background: rgba(255,255,255,.93);
  border: 1px solid rgba(145,180,255,.5);
  border-radius: 999px;

  box-shadow:
    0 10px 30px rgba(60,110,210,.15),
    0 2px 8px rgba(70,110,220,.08);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  white-space: nowrap;

  animation: dualBadgeFloat 5s ease-in-out infinite;
}

.dual-badge-technical,
.dual-badge-impact {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}

.dual-badge-technical {
  color: #246dff;
}

.dual-badge-impact {
  color: #8751ed;
}

.dual-badge-cross {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;

  background: linear-gradient(
    135deg,
    #347dff,
    #9650f5
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Slow vertical floating animation */

@keyframes dualBadgeFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Mobile */

@media (max-width: 768px) {
  .hero-dual-badge {
    top: 52%;
    left: 39%;
    padding: 9px 13px;
    gap: 5px;
  }

  .dual-badge-technical,
  .dual-badge-impact {
    font-size: 10px;
  }

  .dual-badge-cross {
    font-size: 17px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .hero-dual-badge {
    animation: none;
  }
}



/* ==========================================
   NAVBAR — SOLID WHITE BACKGROUND
========================================== */

.site-header {
  background: #ffffff !important;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow: 0 4px 20px rgba(40, 80, 160, 0.06);

  z-index: 1000;
}


/* ==========================================
   HIDE PROFESSIONAL MARQUEE
========================================== */

.marquee-strip {
  display: none !important;
}




/* ==========================================
   HERO — REFINED TYPOGRAPHY
========================================== */

/* Prevent text from overlapping photos */

.pastel-hero .hero-grid-split {
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);
}

.pastel-hero .hero-text-content {
  min-width: 0;
  position: relative;
  z-index: 2;
}

/* HELLO I'M + NAME */

.hero-intro-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 22px;
  white-space: nowrap;
}

.hero-intro-line .pastel-hello {
  flex-shrink: 0;
  margin: 0;
  font-size: 15px;
  letter-spacing: 2px;
}

.hero-intro-name {
  font-size: clamp(15px, 1.65vw, 23px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: #112568;
}

/* I ENGINEER DATA */

.pastel-hero .hero-engineer-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(23px, 2.6vw, 37px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: #112568;
  margin: 0 0 12px;
}

.hero-engineer-title span {
  background: linear-gradient(
    100deg,
    #258aff 0%,
    #345dff 55%,
    #9651f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* I BUILT WHAT MATTERS */

.pastel-hero .hero-matters-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(23px, 2.6vw, 37px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;

  background: linear-gradient(
    100deg,
    #347dff 0%,
    #4967ff 50%,
    #9651f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  margin: 0 0 26px;
}

/* Keep paragraph readable */

.pastel-hero .hero-copy {
  max-width: 490px;
  font-size: 15px;
  line-height: 1.75;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

  .hero-intro-line {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pastel-hero .hero-engineer-title {
    font-size: clamp(28px, 3.5vw, 40px);
  }

  .pastel-hero .hero-matters-title {
    font-size: clamp(22px, 2.6vw, 31px);
  }
}

@media (max-width: 768px) {

  .hero-intro-line {
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .hero-intro-name {
    font-size: 18px;
  }

  .pastel-hero .hero-engineer-title {
    font-size: clamp(30px, 7vw, 42px);
    letter-spacing: -1px;
  }

  .pastel-hero .hero-matters-title {
    font-size: clamp(23px, 5.5vw, 32px);
    letter-spacing: -0.7px;
  }

  .pastel-hero .hero-copy {
    font-size: 14px;
  }
}

/* ========================================================================
   PASTEL BLUE / VIOLET — INNER SECTIONS ONLY
   Design harmonization. Hero and header deliberately excluded.
   ======================================================================== */
:root {
  --buttercup:#EAF2FF; --dewy-blue:#BFD7FF; --sunwashed:#9C78F5;
  --cloud-puff:#F5F8FF; --morning-breeze:#347DFF;
  --deep-plum:#112568; --berry-rose:#264BB1; --raspberry:#347DFF;
  --rose-pink:#9D80F6; --soft-blush:#EAF0FF;
  --ink:#112568; --ink-secondary:#31477C; --muted:#7183B5;
  --muted-light:#899AC3; --paper:#F7FAFF; --paper-2:#EDF4FF;
  --paper-card:#FFFFFF; --line:rgba(69,113,220,.14);
  --line-strong:rgba(69,113,220,.28);
  --shadow-sm:0 5px 20px rgba(48,92,187,.055);
  --shadow-card:0 16px 45px rgba(48,92,187,.085);
  --shadow-hover:0 25px 65px rgba(48,92,187,.14);
  --shadow-glow:0 16px 50px rgba(76,119,238,.17);
}
body { background:#F7FAFF; }
/* Maintain the Hero's existing styling: no .hero or .site-header overrides. */
main > .section-block {
  background:linear-gradient(145deg,#F7FAFF 0%,#FFFFFF 56%,#F1F6FF 100%);
  border-top:1px solid rgba(91,132,225,.08);
}
main > .section-block:nth-of-type(even) {
  background:linear-gradient(135deg,#FFFFFF 0%,#F1F6FF 100%);
}
.section-block .section-tagline {
  color:#347DFF; letter-spacing:.16em;
}
.section-block .section-title,
.section-block .experience-group-heading h3 {
  color:#112568;
}
.section-block .serif-accent {
  color:#5368E9;
}
.section-block .section-intro {color:#7183B5;}
/* Technical × Impact */
#dual-expertise .impact-panel {
  border:1px solid rgba(84,130,238,.18);
  box-shadow:0 18px 45px rgba(52,105,205,.075);
}
#dual-expertise .impact-panel-technical {
  background:linear-gradient(150deg,#FFFFFF 0%,#EAF3FF 100%);
}
#dual-expertise .impact-panel-impact {
  background:linear-gradient(150deg,#FFFFFF 0%,#F1EDFF 100%);
}
#dual-expertise .impact-panel:hover {
  border-color:rgba(68,117,246,.38);
  box-shadow:0 25px 60px rgba(52,105,205,.14);
}
#dual-expertise .impact-tags span,
#experience .trajectory-tags span,
#projects .project-tech-pills span,
#education .trajectory-tags span,
#toolkit .toolkit-techs span {
  background:#EDF4FF; color:#3459B8;
  border:1px solid rgba(81,127,230,.17);
  border-radius:999px;
}
#dual-expertise .impact-connection-symbol {color:#5368E9;}
/* Toolkit */
#toolkit .toolkit-row {
  background:rgba(255,255,255,.88);
  border-color:rgba(81,127,230,.16);
  box-shadow:0 8px 28px rgba(52,105,205,.045);
}
#toolkit .toolkit-row:hover {
  background:#FFFFFF; border-color:rgba(81,127,230,.36);
  box-shadow:0 18px 45px rgba(52,105,205,.11);
}
#toolkit .toolkit-index span {color:#347DFF;}
/* Experience and leadership */
#experience .experience-feature-card,
#experience .leadership-card {
  background:linear-gradient(145deg,#FFFFFF,#F7FAFF);
  border-color:rgba(81,127,230,.17);
  box-shadow:0 12px 36px rgba(52,105,205,.065);
}
#experience .experience-feature-card:hover,
#experience .leadership-card:hover {
  border-color:rgba(81,127,230,.36);
  box-shadow:0 22px 55px rgba(52,105,205,.13);
}
#experience .experience-group-number,
#experience .leadership-number {color:#347DFF;}
/* Projects: including dynamically generated cards */
#projects .project-card,
#projects .cloud-coming-soon {
  background:#FFFFFF;
  border-color:rgba(81,127,230,.17);
  box-shadow:0 14px 42px rgba(52,105,205,.075);
}
#projects .project-card:hover {
  border-color:rgba(81,127,230,.38);
  box-shadow:0 25px 60px rgba(52,105,205,.15);
}
#projects .project-filter {
  border-color:rgba(81,127,230,.23);
}
#projects .project-filter.active {
  background:linear-gradient(115deg,#347DFF,#8759F2);
  color:#FFFFFF; border-color:transparent;
}
#projects .project-tag {color:#347DFF;}
/* Education and certificates */
#education .education-card,
#certifications .certificate-card {
  background:#FFFFFF;
  border-color:rgba(81,127,230,.17);
  box-shadow:0 14px 40px rgba(52,105,205,.07);
}
#education .education-card:hover,
#certifications .certificate-card:hover {
  border-color:rgba(81,127,230,.35);
  box-shadow:0 23px 52px rgba(52,105,205,.13);
}
#certifications .certificate-type {color:#347DFF;}
/* Contact */
#contact .contact-info-card,
#contact .contact-form-card {
  background:linear-gradient(150deg,#FFFFFF,#F4F8FF);
  border-color:rgba(81,127,230,.18);
  box-shadow:0 15px 44px rgba(52,105,205,.08);
}
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  outline-color:#347DFF;
  border-color:#347DFF;
}
/* Links and small actions: don't alter layout or labels */
.section-block a:not(.project-action-btn):not(.project-filter):hover {
  color:#347DFF;
}
.site-footer {
  background:linear-gradient(120deg,#F0F5FF,#FFFFFF);
  border-top:1px solid rgba(81,127,230,.16);
  color:#7183B5;
}
.site-footer .footer-brand-title {color:#112568;}
@media (prefers-reduced-motion:reduce) {
  .section-block .project-card,
  .section-block .experience-feature-card,
  .section-block .leadership-card {transition:none;}
}


/* ==========================================
   HERO → ONE PURPOSE SPACING
========================================== */

.pastel-hero {
  padding-bottom: 25px;
}

#dual-expertise {
  padding-top: 45px;
}


/* ==========================================
   ONE PURPOSE — DISTINCTIVE EDITORIAL STYLE
========================================== */

#dual-expertise .purpose-heading {
  max-width: 850px;
  margin-bottom: 54px;
  position: relative;
}

/* Small editorial marker */

.purpose-heading-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;

  color: #8091bd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.purpose-marker-line {
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #347dff,
    #9651f5
  );
}

/* Technical × Impact */

#dual-expertise .purpose-eyebrow {
  display: block;
  width: fit-content;
  margin-bottom: 10px;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -1px;
  text-transform: none;

  background: linear-gradient(
    105deg,
    #347dff 0%,
    #526aff 50%,
    #9651f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Two sides. One purpose. */

#dual-expertise .purpose-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;

  margin: 0 0 25px;
}

.purpose-title-first {
  color: #112568;
}

.purpose-title-second {
  background: linear-gradient(
    100deg,
    #347dff 0%,
    #4967ff 50%,
    #9651f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Short gradient underline */

.purpose-accent-line {
  display: block;
  width: 85px;
  height: 3px;
  border-radius: 10px;
  margin-bottom: 24px;

  background: linear-gradient(
    90deg,
    #347dff,
    #9651f5
  );
}

/* Description */

#dual-expertise .purpose-description {
  max-width: 650px;
  margin: 0;

  font-size: 16px;
  line-height: 1.85;
  color: #7185b5;
}

/* Mobile */

@media (max-width: 768px) {

  #dual-expertise .purpose-heading {
    margin-bottom: 36px;
  }

  #dual-expertise .purpose-eyebrow {
    font-size: 24px;
  }

  #dual-expertise .purpose-title {
    font-size: clamp(38px, 9vw, 55px);
    letter-spacing: -1.5px;
  }

  #dual-expertise .purpose-description {
    font-size: 14px;
    line-height: 1.75;
  }

  .purpose-heading-marker {
    font-size: 10px;
  }
}



/* ==========================================
   ONE PURPOSE — FINAL TYPOGRAPHY POLISH
========================================== */

/* 01 / THE PHILOSOPHY in italic */
#dual-expertise .purpose-heading-marker {
  font-style: italic;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

/* Two sides. One purpose. — same line */
#dual-expertise .purpose-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 4px;

  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -2px;
}

/* Keep both parts together when space allows */
#dual-expertise .purpose-title-first,
#dual-expertise .purpose-title-second {
  display: inline-block;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  #dual-expertise .purpose-title {
    font-size: clamp(29px, 6vw, 42px);
    column-gap: 10px;
    letter-spacing: -1px;
  }
}


/* ==========================================
   ONE PURPOSE — CONNECTION SYMBOL
========================================== */

#dual-expertise .impact-connection-symbol {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  background: linear-gradient(
    135deg,
    #347DFF 0%,
    #4967FF 55%,
    #9651F5 100%
  ) !important;

  border-radius: 50%;
}

/* ==========================================
   SECTION 02 — TECHNICAL TOOLKIT HEADER
   Same editorial style as One Purpose
========================================== */

.toolkit-heading {
  max-width: 850px;
  margin-bottom: 54px;
  position: relative;
}

/* Editorial marker */
.toolkit-heading .purpose-heading-marker {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  color: #8091bd;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1.5px;
}

.toolkit-heading .purpose-marker-line {
  display: block;
  width: 34px;
  height: 2px;
  flex-shrink: 0;

  border-radius: 20px;
  background: linear-gradient(90deg, #347dff, #9651f5);
}

/* Main title */
.toolkit-heading .purpose-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;

  column-gap: 18px;
  row-gap: 4px;

  margin: 0 0 25px;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  text-transform: none;
}

/* Dark navy part */
.toolkit-heading .purpose-title-first {
  display: inline-block;
  color: #112568;
  white-space: nowrap;
}

/* Gradient part */
.toolkit-heading .purpose-title-second {
  display: inline-block;
  white-space: nowrap;

  background: linear-gradient(
    100deg,
    #347dff,
    #4967ff,
    #9651f5
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Accent underline */
.toolkit-heading .purpose-accent-line {
  display: block;
  width: 85px;
  height: 3px;

  border-radius: 10px;
  background: linear-gradient(90deg, #347dff, #9651f5);
}

/* Responsive */
@media (max-width: 768px) {
  .toolkit-heading {
    margin-bottom: 36px;
  }

  .toolkit-heading .purpose-title {
    font-size: clamp(29px, 6vw, 42px);
    column-gap: 10px;
    letter-spacing: -1px;
  }

  .toolkit-heading .purpose-heading-marker {
    font-size: 10px;
  }
}


/* ==========================================
   SECTION 03 — EXPERIENCE EDITORIAL HEADER
========================================== */

#experience .experience-heading {
  max-width: 900px;
  margin-bottom: 54px;
  position: relative;
}

/* Editorial marker */
#experience .purpose-heading-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;

  color: #8091bd;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1.5px;
}

#experience .purpose-marker-line {
  display: block;
  width: 34px;
  height: 2px;
  flex-shrink: 0;

  border-radius: 20px;
  background: linear-gradient(90deg, #347dff, #9651f5);
}

/* Main title */
#experience .purpose-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;

  column-gap: 18px;
  row-gap: 4px;

  margin: 0 0 25px;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  text-transform: none;
}

/* Navy text */
#experience .purpose-title-first {
  display: inline-block;
  color: #112568;
  white-space: nowrap;
}

/* Gradient text */
#experience .purpose-title-second {
  display: inline-block;
  white-space: nowrap;

  background: linear-gradient(
    100deg,
    #347dff,
    #4967ff,
    #9651f5
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient underline */
#experience .purpose-accent-line {
  display: block;
  width: 85px;
  height: 3px;
  margin-bottom: 24px;

  border-radius: 10px;
  background: linear-gradient(90deg, #347dff, #9651f5);
}

/* Description */
#experience .purpose-description {
  max-width: 750px;
  margin: 0;

  font-size: 16px;
  line-height: 1.85;
  color: #7185b5;
}

/* Responsive */
@media (max-width: 768px) {
  #experience .experience-heading {
    margin-bottom: 36px;
  }

  #experience .purpose-title {
    font-size: clamp(29px, 6vw, 42px);
    column-gap: 10px;
    letter-spacing: -1px;
  }

  #experience .purpose-heading-marker {
    font-size: 10px;
  }

  #experience .purpose-description {
    font-size: 14px;
    line-height: 1.75;
  }
}

/* ==========================================
   EXPERIENCE — INTERNSHIP SPLIT LAYOUT
   Layout only — preserve original colors
========================================== */

#experience .internship-split-card {
  width: 100%;
}

/* Two-column structure */
#experience .internship-split-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  width: 100%;
}

/* LEFT COLUMN */
#experience .internship-company-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-width: 0;
  padding: 18px 26px 18px 0;

  border-right: 1px solid rgba(110, 130, 170, 0.18);
}

/* Company logo */
#experience .internship-company-side .experience-company-logo {
  width: 105px;
  height: 105px;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

#experience .internship-company-side .experience-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Company name */
#experience .internship-company-name {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

/* Date and location below name */
#experience .internship-company-side .experience-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;

  margin: 0;
  text-align: center;
  line-height: 1.6;
}

#experience .internship-company-side .experience-meta span {
  display: block;
}

/* RIGHT COLUMN */
#experience .internship-details-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 12px 0;
}

/* Internship title */
#experience .internship-role-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.3;
}

/* Description */
#experience .internship-details-side .experience-description {
  margin: 0 0 22px;
  max-width: 100%;
}

/* Tags */
#experience .internship-details-side .trajectory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* Project link below tags */
#experience .internship-details-side .experience-actions {
  margin-top: auto;
  padding-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {

  #experience .internship-split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #experience .internship-company-side {
    padding: 0 0 24px;
    border-right: none;
    border-bottom: 1px solid rgba(110, 130, 170, 0.18);
  }

  #experience .internship-company-side .experience-company-logo {
    width: 85px;
    height: 85px;
    margin-bottom: 14px;
  }

  #experience .internship-company-name {
    font-size: 21px;
  }

  #experience .internship-details-side {
    padding: 0;
  }

  #experience .internship-role-title {
    font-size: 18px;
  }
}

/* Prevent project cards from being hidden behind fixed header */
#projects .project-card {
  scroll-margin-top: 110px;
}



/* ==========================================================
   EXPERIENCE — TYPOGRAPHIC HIERARCHY
   Date / Location / Internship Role
   ========================================================== */

.internship-company-side .experience-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

/* 1. PERIOD — subtle blue, semi-bold */
.internship-company-side .experience-meta span:nth-child(1) {
  color: #2463A3;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

/* 2. LOCATION — muted and italic */
.internship-company-side .experience-meta span:nth-child(2) {
  color: #718096;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* 3. INTERNSHIP ROLE — stronger and more prominent */
.internship-company-side .experience-meta span:nth-child(3) {
  color: #153A60;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.5;
  margin-top: 3px;
}



/* ==========================================================
   EXPERIENCE — LEFT ALIGNMENT & TYPOGRAPHIC HIERARCHY
   ========================================================== */

/* Align the entire left column to the left */
.internship-company-side {
  text-align: left;
  align-items: flex-start;
}

/* Align all metadata lines to the left */
.internship-company-side .experience-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 7px;
}

/* DATE — same style as location */
.internship-company-side .experience-meta span:nth-child(1),
.internship-company-side .experience-meta span:nth-child(2) {
  color: #718096;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* ROLE — stronger professional emphasis */
.internship-company-side .experience-meta span:nth-child(3) {
  color: #153A60;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.5;
  margin-top: 3px;
}




/* ==========================================================
   PROFESSIONAL EXPERIENCE — LEFT COLUMN TYPOGRAPHY
   ========================================================== */

/* 1. Align the company column and its content to the left */
#experience .internship-company-side {
  text-align: left;
  align-items: flex-start;
}

/* Keep the company logo aligned to the left */
#experience .internship-company-side .experience-company-logo {
  margin-left: 0;
  margin-right: auto;
}

/* 2. Align date, location and role to the left */
#experience .internship-company-side .experience-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 7px;
  width: 100%;
}

/* 3. Date and location: exactly the same typography */
#experience .internship-company-side .experience-date,
#experience .internship-company-side .experience-location {
  color: #718096;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.6;
  text-transform: none;
}


/* 4. Role: more prominent than date and location */
#experience .internship-company-side .experience-role {
  color: #153A60;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.5;
  text-transform: none;
  margin-top: 3px;
}



/* ==========================================================
   PROFESSIONAL EXPERIENCE — INTERNSHIP POSITION
   ========================================================== */

#experience .internship-position {
  display: block;
  margin: -6px 0 14px;

  color: #718096;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 0.5;
  text-transform: none;
}


/* ==========================================
   SECTION 04 — PROJECTS EDITORIAL HEADER
   Same-line title, consistent with Experience
========================================== */

#projects .purpose-title {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 4px;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
}

#projects .purpose-title-first,
#projects .purpose-title-second {
  display: inline-block;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  #projects .purpose-title {
    font-size: clamp(29px, 6vw, 42px);
    column-gap: 10px;
    letter-spacing: -1px;
  }
}


/* ==========================================
   PROJECTS — KEEP THE TITLE ON ONE LINE
========================================== */

#projects .purpose-title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px;

  width: max-content;
  max-width: none;
  white-space: nowrap;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin-bottom: 25px;
}

#projects .purpose-title-first,
#projects .purpose-title-second {
  display: inline;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Adaptation aux écrans plus petits */
@media (max-width: 768px) {
  #projects .purpose-title {
    font-size: clamp(22px, 4.2vw, 32px);
    gap: 8px;
    letter-spacing: -0.8px;
  }
}

@media (max-width: 480px) {
  #projects .purpose-title {
    font-size: 21px;
    gap: 6px;
    letter-spacing: -0.6px;
  }
}


/* ==========================================
   SECTION 05 — EDUCATION TITLE
   Keep the heading on one line
========================================== */

#education .purpose-title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px;

  width: max-content;
  max-width: none;
  white-space: nowrap;

  font-family: "DM Sans", sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;

  margin-bottom: 25px;
}

#education .purpose-title-first,
#education .purpose-title-second {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive — tablet */
@media (max-width: 768px) {
  #education .purpose-title {
    font-size: clamp(22px, 4.2vw, 32px);
    gap: 8px;
    letter-spacing: -0.8px;
  }
}

/* Responsive — mobile */
@media (max-width: 480px) {
  #education .purpose-title {
    font-size: 21px;
    gap: 6px;
    letter-spacing: -0.6px;
  }
}



/* ==========================================
   CONTACT — LAYOUT BALANCING
   Scoped exclusively to section 7
========================================== */

#contact > .container {
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
}

#contact .contact-layout {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;

  box-sizing: border-box;
  align-items: stretch;
}

#contact .contact-form-card,
#contact .contact-sidebar {
  width: 100%;
  min-width: 0;
}

#contact .contact-form-card {
  box-sizing: border-box;
}

#contact .contact-form-layout,
#contact .form-row-dual,
#contact .form-group {
  min-width: 0;
}

#contact .form-row-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#contact .form-group input,
#contact .form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  #contact .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }
}



/* ==========================================
   CERTIFICATIONS & CONTACT — TITLE SPACING
   Sections 6 and 7 only
========================================== */

#certifications .section-head,
#contact .section-head {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: 42px;
  box-sizing: border-box;
}

#certifications .section-title,
#contact .section-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  line-height: 1.2;
  margin: 0;
}

/* Keep the title and decorative line visually separated */
#certifications .section-tagline,
#contact .section-tagline {
  display: block;
  margin-bottom: 10px;
}

#certifications .section-title,
#contact .section-title {
  padding-bottom: 8px;
}

@media (max-width: 760px) {
  #certifications .section-head,
  #contact .section-head {
    margin-bottom: 30px;
  }
}


/* ==========================================
   CONTACT — PORTFOLIO COLOR HARMONY
   Section 7 only
========================================== */

/* Contact section background */
#contact {
  background:
    radial-gradient(
      ellipse at 10% 15%,
      rgba(127, 168, 214, 0.10),
      transparent 45%
    ),
    var(--paper);
}

/* Section title and accent */
#contact .section-title {
  color: var(--deep-plum);
}

#contact .section-tagline {
  color: var(--raspberry);
}

/* Main contact wrapper */
#contact .contact-layout {
  background: transparent;
}

/* Form card */
#contact .contact-form-card {
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    var(--paper-2) 100%
  );
  border: 1px solid rgba(127, 168, 214, 0.30);
  box-shadow: 0 14px 40px rgba(11, 34, 56, 0.07);
  border-radius: var(--radius-lg);
}

/* Form labels */
#contact .form-group label {
  color: var(--deep-plum);
}

/* Inputs */
#contact .form-group input,
#contact .form-group textarea {
  background: #ffffff;
  color: var(--deep-plum);
  border: 1px solid rgba(127, 168, 214, 0.48);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
  color: var(--muted-light);
}

#contact .form-group input:focus,
#contact .form-group textarea:focus {
  outline: none;
  border-color: var(--raspberry);
  box-shadow: 0 0 0 3px rgba(36, 99, 163, 0.12);
}

/* Contact cards on the right */
#contact .contact-sidebar > * {
  border: 1px solid rgba(127, 168, 214, 0.22);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* Primary action */
#contact .btn-primary-rose,
#contact #submitContactBtn {
  background: linear-gradient(
    135deg,
    var(--deep-plum),
    var(--berry-rose)
  );
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(11, 34, 56, 0.18);
  transition: all 0.25s ease;
}

#contact .btn-primary-rose:hover,
#contact #submitContactBtn:hover {
  background: linear-gradient(
    135deg,
    var(--berry-rose),
    var(--raspberry)
  );
  transform: translateY(-2px);
}

/* Contact links */
#contact a {
  transition: color 0.2s ease, border-color 0.2s ease;
}

#contact .contact-sidebar a:hover {
  color: var(--morning-breeze);
}

/* Keyboard accessibility */
#contact a:focus-visible,
#contact button:focus-visible {
  outline: 2px solid var(--raspberry);
  outline-offset: 3px;
}


/* ==========================================
   SECTIONS 6 & 7 — TITLE ACCENTS
========================================== */

#certifications .section-title,
#contact .section-title {
  color: var(--deep-plum);
}

#certifications .section-tagline,
#contact .section-tagline {
  color: var(--raspberry);
}

/* Short blue accent beneath the title */
#certifications .section-title::after,
#contact .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--raspberry),
    var(--morning-breeze)
  );
}



/* ==========================================
   HERO — PFE 2027 OPPORTUNITY
========================================== */

.hero-opportunity {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  padding: 18px 24px;
  margin: 4px 0 30px;

  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(80, 125, 255, 0.18);
  border-left: 3px solid #347dff;
  border-radius: 14px;

  box-shadow: 0 8px 30px rgba(52, 125, 255, 0.06);
  backdrop-filter: blur(12px);
}

/* Availability label */

.opportunity-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-family: "Outfit", sans-serif;

  font-size: 15px;
  font-weight: 800;

  letter-spacing: 1.2px;
  line-height: 1.3;

  color: #2459D3;
  text-transform: uppercase;
}

/* Animated availability indicator */

.opportunity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28b88a;
  box-shadow: 0 0 0 4px rgba(40, 184, 138, 0.12);
  animation: opportunity-pulse 2.5s ease-in-out infinite;
}

@keyframes opportunity-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(40, 184, 138, 0);
  }
}

/* Location and year */

.opportunity-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.opportunity-scope {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #112568;
}
.opportunity-divider {
  width: 1px;
  height: 17px;
  background: #b9c9ed;
}

.opportunity-year {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #6C50D8;
}

/* Mobile */

@media (max-width: 768px) {
  .hero-opportunity {
    padding: 15px 18px;
    width: 100%;
    max-width: 390px;
  }

  .opportunity-scope {
    font-size: 13px;
  }

  .opportunity-year {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opportunity-dot {
    animation: none;
  }
}

/* ==========================================
   HERO — FINAL TYPOGRAPHY POLISH
========================================== */

/* First slogan line */

.pastel-hero .hero-engineer-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;

  color: #112568;
  margin: 0 0 8px;
}

/* Second slogan line */

.pastel-hero .hero-matters-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(32px, 3.45vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -1.8px;

  background: linear-gradient(
    100deg,
    #258aff 0%,
    #4967ff 55%,
    #9651f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  margin: 0 0 25px;
}

/* Intro hierarchy */

.pastel-hero .hero-intro-line {
  margin-bottom: 28px;
}

/* Description */

.pastel-hero .hero-copy {
  font-family: "DM Sans", sans-serif;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.05px;

  color: #344C70;

  max-width: 550px;
  margin: 0 0 28px;
}

/* Highlight important words */
.pastel-hero .hero-copy strong {
  font-weight: 700;
  color: #112568;
}

/* CTA spacing */

.pastel-hero .hero-actions {
  margin-top: 0;
}

/* Tablet */

@media (min-width: 769px) and (max-width: 1100px) {
  .pastel-hero .hero-engineer-title {
    font-size: clamp(32px, 3.6vw, 42px);
  }

  .pastel-hero .hero-matters-title {
    font-size: clamp(29px, 3.2vw, 39px);
  }
}

/* Mobile */

@media (max-width: 768px) {
  .pastel-hero .hero-engineer-title {
    font-size: clamp(32px, 7.5vw, 44px);
    letter-spacing: -1.3px;
  }

  .pastel-hero .hero-matters-title {
    font-size: clamp(29px, 6.7vw, 40px);
    letter-spacing: -1px;
  }

  .pastel-hero .hero-copy {
    font-size: 14.5px;
    line-height: 1.75;
  }
}



.pastel-hero .hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-size: inherit;
  line-height: normal;
}

.pastel-hero .hero-slogan > span {
  display: block;
  max-width: 100%;
}


@media (max-width: 768px) {

  .pastel-hero .hero-copy {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .opportunity-status {
    font-size: 13px;
    letter-spacing: 0.8px;
  }

  .opportunity-scope {
    font-size: 14px;
  }

  .opportunity-year {
    font-size: 13px;
  }
}


/* ==========================================
   NAVIGATION — SECTION SCROLL OFFSET
========================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

section[id] {
  scroll-margin-top: 115px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 95px;
  }

  section[id] {
    scroll-margin-top: 95px;
  }
}

/* ==========================================
   NAVBAR — NO ACTIVE SELECTION
========================================== */

.pastel-header .desktop-nav a.active,
.pastel-header .desktop-nav a[aria-current] {
  color: inherit;
}

.pastel-header .desktop-nav a.active::after,
.pastel-header .desktop-nav a[aria-current]::after {
  transform: scaleX(0);
}



/* ==========================================
   GLOBAL TYPOGRAPHY — SECTION DESCRIPTIONS
========================================== */

.section-block .section-intro,
.section-block .purpose-description,
#dual-expertise .purpose-description,
#experience .purpose-description {
  font-family: "DM Sans", sans-serif;

  font-size: 18px;
  font-weight: 450;
  line-height: 1.8;

  color: #344563;

  letter-spacing: 0.05px;
}


/* ==========================================
   GLOBAL TYPOGRAPHY — BODY PARAGRAPHS
========================================== */

main .section-block p:not(.section-intro):not(.purpose-description) {
  font-family: "DM Sans", sans-serif;

  font-size: 16px;
  line-height: 1.8;

  color: #344563;
}

/* Important words */

main .section-block p strong {
  color: #112568;
  font-weight: 700;
}

/* ==========================================
   SPECIFIC TEXT READABILITY
========================================== */

/* Internships */

#experience .experience-description {
  font-size: 16px;
  line-height: 1.8;
  color: #344563;
}

/* Projects */

#projects .project-description,
#projects .project-contribution {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #344563 !important;
}

/* Education */

#education .education-card > p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #344563;
}

/* Certification details */

#certifications .certificate-issuer,
#certifications .certificate-date {
  font-size: 14.5px;
  line-height: 1.65;
  color: #405575;
}

/* ==========================================
   RESPONSIVE TEXT READABILITY
========================================== */

@media (max-width: 768px) {

  .section-block .section-intro,
  .section-block .purpose-description,
  #dual-expertise .purpose-description,
  #experience .purpose-description {
    font-size: 16.5px;
    line-height: 1.75;
  }

  main .section-block p:not(.section-intro):not(.purpose-description) {
    font-size: 15px;
    line-height: 1.75;
  }

  #projects .project-description,
  #projects .project-contribution,
  #education .education-card > p {
    font-size: 15px !important;
  }
}

/* ==========================================
   CONTACT — FINAL COLOR HARMONY
========================================== */

/* SECTION BACKGROUND */

#contact {
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(150, 81, 245, 0.06),
      transparent 48%
    ),
    linear-gradient(
      180deg,
      #FAFCFF 0%,
      #F1F6FF 100%
    );
}

/* FORM CARD */

#contact .contact-form-card {
  background: #FFFFFF;
  border: 1px solid #DCE6FA;
  box-shadow: 0 16px 45px rgba(17, 37, 104, 0.06);
}

/* FORM LABELS */

#contact .form-group label {
  color: #112568;
  font-weight: 700;
}

/* INPUTS */

#contact .form-group input,
#contact .form-group textarea {
  background: #F8FAFF;
  border: 1px solid #D6E2F8;
  color: #112568;
}

#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
  color: #7585A5;
}

#contact .form-group input:focus,
#contact .form-group textarea:focus {
  border-color: #347DFF;
  box-shadow: 0 0 0 3px rgba(52, 125, 255, 0.12);
}

/* SEND MESSAGE BUTTON */

#contact #submitContactBtn {
  background: linear-gradient(
    110deg,
    #347DFF,
    #5368E9
  );
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 24px rgba(52, 125, 255, 0.20);
}

#contact #submitContactBtn:hover {
  background: linear-gradient(
    110deg,
    #245FDF,
    #7255E8
  );
  box-shadow: 0 12px 28px rgba(52, 125, 255, 0.28);
}

/* RIGHT SIDE CARDS */

#contact .contact-side-card {
  background: linear-gradient(
    145deg,
    #EAF2FF 0%,
    #F6F8FF 65%,
    #F0EBFF 100%
  );

  border: 1px solid #D6E3FA;
  box-shadow: 0 12px 35px rgba(17, 37, 104, 0.06);
}

/* RIGHT CARD TITLES */

#contact .contact-side-card h3 {
  color: #112568;
  font-weight: 800;
}

/* SOCIAL LINKS */

#contact .contact-side-link {
  color: #344563;
  border-color: rgba(52, 125, 255, 0.12);
}

#contact .contact-side-link:hover,
#contact .contact-side-link:focus-visible {
  background: rgba(52, 125, 255, 0.08);
  color: #245FDF;
}

/* SOCIAL ICONS */

#contact .contact-side-link svg,
#contact .contact-external-arrow {
  color: #347DFF;
  stroke: currentColor;
}

/* CV BUTTON */

#contact .contact-cv-button {
  background: linear-gradient(
    110deg,
    #347DFF,
    #5368E9
  );
  border: 1px solid transparent;
  color: #FFFFFF;
}

#contact .contact-cv-button svg,
#contact .contact-cv-arrow {
  color: #FFFFFF;
  stroke: currentColor;
}

#contact .contact-cv-button:hover {
  background: linear-gradient(
    110deg,
    #245FDF,
    #7255E8
  );
  filter: none;
}

/* AVAILABILITY CARD */

#contact .availability-card p {
  color: #344563;
}

#contact .availability-card p strong {
  color: #112568;
  font-weight: 700;
}

#contact .availability-card .availability-status {
  color: #245FDF;
  font-weight: 700;
}

#contact .availability-dot {
  background: #22B887;
  box-shadow: 0 0 0 4px rgba(34, 184, 135, 0.13);
}

/* FORM FEEDBACK */

#contact .contact-form-status[data-state="sending"] {
  color: #347DFF;
}

#contact .contact-form-status[data-state="success"] {
  color: #16835F;
}

#contact .contact-form-status[data-state="error"] {
  color: #C43D56;
}
/* ==========================================
   CONTACT — DARK CARDS
   Portfolio Blue & Violet Identity
========================================== */

/* CONNECT WITH ME + AVAILABILITY */

#contact .contact-side-card {
  background: linear-gradient(
    135deg,
    #112568 0%,
    #1B347A 65%,
    #292B76 100%
  );

  border: 1px solid rgba(150, 170, 255, 0.20);

  box-shadow:
    0 18px 45px rgba(17, 37, 104, 0.18);

  color: #FFFFFF;
}

/* CARD TITLES */

#contact .contact-side-card h3 {
  color: #FFFFFF;
  font-weight: 800;
}

/* TEXT INSIDE CARDS */

#contact .contact-side-card p,
#contact .availability-card p {
  color: #D7E2FF;
}

#contact .contact-side-card p strong,
#contact .availability-card p strong {
  color: #FFFFFF;
}

/* SOCIAL LINKS */

#contact .contact-side-link {
  color: #F0F4FF;
  border-color: rgba(190, 205, 255, 0.20);
}

#contact .contact-side-link:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border-color: rgba(190, 205, 255, 0.35);
}

/* SOCIAL ICONS */

#contact .contact-side-link svg,
#contact .contact-external-arrow {
  color: #A9BDFF;
  stroke: currentColor;
}

/* AVAILABILITY STATUS */

#contact .availability-card .availability-status {
  color: #BFD0FF;
  font-weight: 700;
}

#contact .availability-dot {
  background: #2DD4A7;
  box-shadow: 0 0 0 4px rgba(45, 212, 167, 0.15);
}

/* HOVER — SUBTLE ELEVATION */

#contact .contact-side-card:hover {
  box-shadow:
    0 24px 55px rgba(17, 37, 104, 0.24);
}

#contact .contact-cv-button {
  background: linear-gradient(
    110deg,
    #347DFF,
    #6855E9
  );

  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#contact .contact-cv-button:hover {
  background: linear-gradient(
    110deg,
    #2567E8,
    #7954EF
  );
}

/* ==========================================
   CONTACT — FINAL BLUE / PURPLE GRADIENT
========================================== */

/* BOTH CONTAINERS */

#contact .contact-side-card {
  background: linear-gradient(
    110deg,
    #347DFF 0%,
    #6855E9 100%
  );

  border: 1px solid rgba(255, 255, 255, 0.22);

  box-shadow:
    0 18px 45px rgba(71, 91, 220, 0.20);

  color: #FFFFFF;
}

/* TITLES */

#contact .contact-side-card h3 {
  color: #FFFFFF;
}

/* PARAGRAPHS */

#contact .contact-side-card p,
#contact .availability-card p {
  color: #F0F3FF;
}

#contact .contact-side-card p strong,
#contact .availability-card p strong {
  color: #FFFFFF;
}

/* SOCIAL LINKS */

#contact .contact-side-link {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

#contact .contact-side-link:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
}

/* ICONS */

#contact .contact-side-link svg,
#contact .contact-external-arrow {
  color: #FFFFFF;
  stroke: currentColor;
}

/* AVAILABILITY STATUS */

#contact .availability-card .availability-status {
  color: #FFFFFF;
}

#contact .availability-dot {
  background: #4ADEB3;
  box-shadow: 0 0 0 4px rgba(74, 222, 179, 0.20);
}

/* VIEW MY CV — LIGHT BUTTON */

#contact .contact-cv-button {
  background: #FFFFFF;
  color: #2459D3;

  border: 1px solid rgba(255, 255, 255, 0.80);

  box-shadow:
    0 8px 22px rgba(17, 37, 104, 0.12);
}

/* CV ICONS */

#contact .contact-cv-button svg,
#contact .contact-cv-arrow {
  color: #2459D3;
  stroke: currentColor;
}

/* CV BUTTON HOVER */

#contact .contact-cv-button:hover {
  background: #EDF3FF;
  color: #112568;

  box-shadow:
    0 12px 28px rgba(17, 37, 104, 0.18);
}

#contact .contact-cv-button:hover svg {
  color: #112568;
}


/* ==========================================
   CONTACT — SOCIAL LINKS HOVER
========================================== */

#contact .contact-side-card .contact-side-link:hover,
#contact .contact-side-card .contact-side-link:focus-visible {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

#contact .contact-side-link:hover svg,
#contact .contact-side-link:focus-visible svg,
#contact .contact-side-link:hover .contact-external-arrow {
  color: #FFFFFF !important;
}

/* COPY EMAIL BUTTON */

#contact .contact-copy-email-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin: 6px 0 12px;
  padding: 9px 16px;

  background: #FFFFFF;
  color: #2459D3;

  border: none;
  border-radius: 8px;

  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#contact .contact-copy-email-btn.is-visible {
  display: inline-flex;
}

#contact .contact-copy-email-btn:hover {
  background: #EDF3FF;
  color: #112568;
  transform: translateY(-2px);
}

#contact .contact-email-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

#contact .contact-email-trigger:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}


/* ==========================================
   CONTACT — INLINE EMAIL COPY
========================================== */

#contact .contact-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#contact .contact-email-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}

#contact .contact-email-info span {
  overflow-wrap: anywhere;
}

#contact .contact-email-info svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1.8;
}

/* COPY BUTTON */

#contact .contact-copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  margin: 0;
  padding: 8px 13px;

  background: #FFFFFF;
  color: #2459D3;

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;

  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.2s ease;
}

#contact .contact-copy-email-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#contact .contact-copy-email-btn:hover {
  background: #EDF3FF;
  color: #112568;
  transform: translateY(-2px);
}



/* ==========================================
   HERO — DESKTOP SPACING OPTIMIZATION
========================================== */

@media (min-width: 1024px) {

  /* More breathing room horizontally */
  #home .container {
    width: min(94%, 1440px);
    max-width: 1440px;
  }

  /* Keep text readable */
  #home p {
    line-height: 1.65;
  }

}

/* ==========================================
   HERO — DESKTOP LAYOUT BALANCE
   100% Browser Zoom
========================================== */

@media (min-width: 1024px) {

  /* 1. HERO HEIGHT & SPACING */

  .hero.pastel-hero {
    min-height: 100vh;
    padding: 125px 0 35px;
    align-items: center;
  }

  /* 2. CENTERED CONTENT CONTAINER */

  .pastel-hero .container {
    width: min(1180px, calc(100% - 80px));
    max-width: 1180px;
    margin-inline: auto;
  }

  /* 3. TWO BALANCED COLUMNS */

  .pastel-hero .hero-grid-split {
    display: grid;
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);

    gap: 28px;
    align-items: center;
    min-height: 0;
  }

  /* 4. LEFT CONTENT */

  .pastel-hero .hero-text-content {
    min-width: 0;
    padding-top: 0;
  }

  .pastel-hero .hero-intro-line {
    margin-bottom: 18px;
  }

  .pastel-hero .hero-matters-title {
    margin-bottom: 16px;
  }

  .pastel-hero .hero-copy {
    font-size: 17px;
    line-height: 1.65;
    max-width: 540px;
    margin-bottom: 20px;
  }

  /* 5. OPPORTUNITY BOX */

  .pastel-hero .hero-opportunity {
    margin: 0 0 22px;
    padding: 14px 18px;
    gap: 9px;
  }

  /* 6. CTA */

  .pastel-hero .hero-actions {
    margin: 0;
  }

  /* 7. RIGHT PHOTO COMPOSITION */

  .pastel-hero .pastel-custom-visual {
    width: 100%;
    min-width: 0;
    height: clamp(410px, 44vw, 540px);
    min-height: 0;

    margin: 0;
    position: relative;
  }

  /* 8. FLOATING CARDS */

  .pastel-custom-visual .skills-card {
    top: 1%;
    right: 0;
  }

  .pastel-custom-visual .leadership-card-hero {
    bottom: 3%;
    left: 0;
  }

}
/* ==========================================
   HERO — SMALL DESKTOP / TABLET
========================================== */

@media (min-width: 761px) and (max-width: 1023px) {

  .hero.pastel-hero {
    min-height: 0;
    padding: 135px 0 55px;
  }

  .pastel-hero .container {
    width: calc(100% - 48px);
    margin-inline: auto;
  }

  .pastel-hero .hero-grid-split {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);

    gap: 18px;
    min-height: 0;
    align-items: center;
  }

  .pastel-hero .hero-text-content {
    padding-top: 0;
    min-width: 0;
  }

  .pastel-hero .hero-copy {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .pastel-hero .pastel-custom-visual {
    width: 100%;
    height: 430px;
    min-height: 0;
    margin: 0;
  }

  .pastel-custom-visual .skills-card {
    right: 0;
    top: 1%;
  }

  .pastel-custom-visual .leadership-card-hero {
    left: 0;
    bottom: 3%;
  }
}
/* ==========================================
   HERO — HORIZONTAL OVERFLOW FIX
========================================== */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

@media (min-width: 1024px) {

  #home .pastel-hero-container {
    width: min(1200px, calc(100% - 64px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  #home .hero-grid-split {
    width: 100%;
    min-width: 0;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 32px;
  }

  #home .hero-text-content,
  #home .pastel-custom-visual {
    min-width: 0;
  }

  #home .pastel-custom-visual {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}


/* ==========================================
   HERO — FINAL FLOATING CARDS POSITION
========================================== */

@media (min-width: 1024px) {

  /* TECHNICAL SKILLS */

  #home .pastel-custom-visual .skills-card {
    top: 5%;
    right: 5%;
  }

  /* LEADERSHIP & IMPACT */

  #home .pastel-custom-visual .leadership-card-hero {
    bottom: 8%;
    left: 0%;
  }

}


/* ==========================================
   HERO — ARROWS POSITION
========================================== */

@media (min-width: 1024px) {

  /* Arrow near Technical Skills */
  #home .pastel-custom-visual .arrow-technical {
    top: 3%;
    right: 48%;
    left: auto;
    bottom: auto;
  }

  /* Arrow near Leadership & Impact */
  #home .pastel-custom-visual .arrow-impact {
    bottom: 3%;
    left: 36%;
    top: auto;
    right: auto;
  }

}

/* ==========================================
   NAVBAR — COMPACT REFINEMENT
========================================== */

@media (min-width: 761px) {
  .site-header.pastel-header {
    height: 80px;
    padding-left: max(6.7vw, 24px);
    padding-right: max(6.7vw, 24px);
  }
}



/* ==========================================
   FOOTER — PERSONAL SIGNATURE
========================================== */

.site-footer {
  padding: 36px 0 22px;
  background: linear-gradient(120deg, #F0F5FF, #FFFFFF);
  border-top: 1px solid #DCE5F5;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.footer-signature {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #112568;
  line-height: 1.4;
}

.footer-signature span {
  color: #5368E9;
}

.footer-subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #536581;
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 17px;
  border: 1px solid #D6E3FA;
  border-radius: 999px;
  color: #245FDF;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-back-top:hover {
  background: #EAF1FF;
  border-color: #347DFF;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #DCE5F5;
  color: #536581;
  font-size: 12px;
}

@media (max-width: 600px) {
  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-signature {
    font-size: 17px;
  }
}


/* ==========================================
   HERO — REDUCE SPACE BELOW NAVBAR
========================================== */

@media (min-width: 1024px) {

  #home.hero.pastel-hero {
    padding-top: 85px;
  }

}



/* ARCHITECTURE VIEWER — PERSONAL STYLE */

#architectureLightbox .lightbox-dialog {
  border: 1px solid rgba(84, 113, 235, 0.18);
  border-radius: 22px;
  box-shadow: 0 28px 85px rgba(15, 37, 95, 0.22);
}

#architectureLightbox .lightbox-pill {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  color: #347DFF;
}

#architectureLightbox .lightbox-raw-btn {
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#architectureLightbox .lightbox-raw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 125, 255, 0.16);
}