/* ============================================================
   DESIGN SYSTEM — BLACK & WHITE ONLY
   bg:       #0a0a0a  (near-black)
   surface:  #111111  (card surface)
   border:   #2a2a2a  (grid lines)
   white:    #ffffff  (warm off-white)
   dim:      #555555  (muted labels)
   ghost:    #1e1e1e  (barely-there elements)
   Interactions: hover = white fill + black text (invert)
   NO BORDER-RADIUS. NO COLOR EXCEPT BLACK & WHITE.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Share+Tech+Mono&display=swap');

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

html { scroll-padding-top: 70px; scroll-behavior: smooth; }
section { scroll-margin-top: 70px; }

body {
  font-family: 'Share Tech Mono', monospace;
  background-color: #0a0a0a;
  color: #ffffff;
  padding-top: 70px;
  overflow-x: hidden;
  cursor: crosshair;
}

body.loading { overflow: hidden; }

/* ── Loader — Column Wipe Cascade ────────────────────────── */
#loader-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 9999;
  overflow: hidden;
}

#col-grid {
  position: absolute;
  top: 0;
  left: 0;
}

.col-bar {
  height: 100vh;
  background: #0a0a0a;
  flex-shrink: 0;
  border-right: 1px solid #333;
  transform: translateY(0);
  transition: none;
}

.col-bar.col-drop {
  transform: translateY(105vh);
  transition: transform 380ms cubic-bezier(0.4, 0, 1, 1);
}

/* ── Scroll Progress ──────────────────────────────────────── */
#scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: #ffffff;
  z-index: 1;
  transition: width 0.1s linear;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #0a0a0a;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  overflow: hidden;
}

.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.nav-square-logo {
  width: 28px; height: 28px;
  background: #ffffff;
  transition: transform 0.3s ease, background 0.3s;
  cursor: crosshair;
}

.navbar-logo:hover .nav-square-logo {
  transform: rotate(45deg);
  background: #555;
}

/* PORTFOLIO label — visible grey */
.navbar-logo::after {
  content: 'PORTFOLIO';
  writing-mode: vertical-rl;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: #666;
  margin-left: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin-left: auto;
  padding: 0;
  border-left: 1px solid #2a2a2a;
  position: relative;
  z-index: 2;
}

.nav-links li { border-right: 1px solid #2a2a2a; }

.nav-links a {
  display: block;
  padding: 0 24px;
  line-height: 70px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  cursor: crosshair;
}

.nav-links a:hover {
  color: #0a0a0a;
  background: #ffffff;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  border-bottom: 1px solid #2a2a2a;
}

.hero-left {
  border-right: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px;
  position: relative;
}

/* UNIT / P-01 label — simple grey, no pseudo magic */
.hero-left::before {
  content: 'UNIT / P-01 ─── CLOUD ENGINEER';
  position: absolute;
  top: 30px; left: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #666;
  font-family: 'Share Tech Mono', monospace;
}

.hero-left::after {
  content: 'STATUS: ACTIVE ── READY TO DEPLOY>>>';
  position: absolute;
  top: 52px; left: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #555;
  font-family: 'Share Tech Mono', monospace;
}

.hero-name { width: 100%; }

.hero-row {
  display: flex;
  align-items: baseline;
  border-top: 1px solid #2a2a2a;
  padding: 10px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
  cursor: crosshair;
}

/* White fill sweep on hover */
.hero-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}

.hero-row:hover::before { transform: scaleX(1); }

.hero-row:hover .hero-initial,
.hero-row:hover .hero-rest {
  color: #0a0a0a;
}

.hero-row:last-child { border-bottom: 1px solid #2a2a2a; }
.hero-row-large, .hero-row-medium { width: 100%; }

.hero-initial, .hero-rest {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 1;
  color: #ffffff;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
  transition: color 0.25s;
}

/* Row index tag */
.hero-row::after {
  content: attr(data-index);
  position: absolute;
  right: 8px; bottom: 12px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #333;
  font-family: 'Share Tech Mono', monospace;
  z-index: 1;
  transition: color 0.25s;
}

.hero-row:hover::after { color: #888; }

/* hero-rest: visible by default, revealed on hover on desktop */
.hero-rest {
  display: inline-block;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s ease, opacity 0.3s ease;
}

.hero-row:hover .hero-rest { max-width: 900px; opacity: 1; }

/* Hero right — video panel */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  overflow: hidden;
}

/* Subtle white grid over video — using pure white rgba */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Corner bracket */
.hero-right::after {
  content: '';
  position: absolute;
  top: 20px; right: 20px;
  width: 20px; height: 20px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  z-index: 2;
}

.hero-video-element {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
  transition: filter 0.8s ease;
  position: relative;
  z-index: 0;
}

.hero-video-element:hover {
  filter: grayscale(100%) contrast(1.3) brightness(1.1);
}

/* ── Experience ───────────────────────────────────────────── */
.experience-horizontal {
  background: #0a0a0a;
  position: relative;
  border-bottom: 1px solid #2a2a2a;
}

.exp-sticky {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.exp-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.1s linear;
}

.exp-section-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
  font-size: 11px;
  letter-spacing: 4px;
  color: #555;
  z-index: 10;
  background: #0a0a0a;
}

.exp-section-label span { color: #ffffff; }

.exp-card {
  flex: 0 0 100vw;
  display: grid;
  grid-template-columns: 80px 1fr;
  height: 100%;
  border-right: 1px solid #2a2a2a;
  padding-top: 40px;
}

.exp-card-number {
  border-right: 1px solid #2a2a2a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: #222;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
}

.exp-card-inner {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid #ffffff;
  margin: 60px 40px;
}

.exp-card-inner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 24px;
  line-height: 1;
}

.exp-card-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: #888;
  max-width: 600px;
}

/* ── Projects ─────────────────────────────────────────────── */
.projects-section {
  background: #0a0a0a;
  padding: 0;
  border-bottom: 1px solid #2a2a2a;
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  border-bottom: 1px solid #2a2a2a;
  gap: 40px;
}

.projects-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #ffffff;
}

.projects-meta {
  font-size: 11px;
  letter-spacing: 3px;
  color: #555;
}

.projects-meta span { color: #ffffff; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-block {
  background: #111;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: crosshair;
}

/* White top line sweep */
.project-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: #ffffff;
  transition: width 0.4s ease;
}

.project-block:hover::before { width: 100%; }
.project-block:hover { background: #161616; }

.project-index {
  font-size: 11px;
  letter-spacing: 3px;
  color: #444;
  margin-bottom: auto;
}

.project-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 24px 0;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #555;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color 0.2s;
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  width: fit-content;
}

.learn-more-btn::after {
  content: '>>>';
  color: #555;
  transition: transform 0.2s, color 0.2s;
}

.learn-more-btn:hover { color: #ffffff; }
.learn-more-btn:hover::after { transform: translateX(6px); color: #ffffff; }

/* ── Skills ───────────────────────────────────────────────── */
.skills {
  background: #0a0a0a;
  border-bottom: 1px solid #2a2a2a;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  border-bottom: 1px solid #2a2a2a;
}

.section-heading h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #ffffff;
}

.section-heading::after {
  content: 'HOVER TO INSPECT';
  font-size: 11px;
  letter-spacing: 3px;
  color: #444;
}

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.skills-list {
  border-right: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
}

.skill-wrapper {
  display: block;
  border-bottom: 1px solid #2a2a2a;
  transition: border-left 0.2s;
}

/* Skill tiles — visible grey by default */
.skill-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 4px;
  color: #555;
  background: #0a0a0a;
  pointer-events: none;
  transition: color 0.2s, background 0.2s, padding-left 0.3s;
}

.skill-tile::after {
  content: '→';
  font-family: monospace;
  font-size: 20px;
  color: #333;
  transition: color 0.2s, transform 0.2s;
}

.skill-wrapper:hover .skill-tile {
  color: #0a0a0a;
  background: #ffffff;
  padding-left: 56px;
}

.skill-wrapper:hover .skill-tile::after {
  color: #0a0a0a;
  transform: translateX(6px);
}

.skill-wrapper:hover {
  border-left: 3px solid #ffffff;
}

/* Preview box */
.skills-preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: #111;
  position: relative;
  overflow: hidden;
}

.skills-preview-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#1a1a1a 1px, transparent 1px),
    linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
  background-size: 30px 30px;
}

.preview-box {
  width: 100%;
  max-width: 400px;
  min-height: 200px;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s;
}

.preview-box::before, .preview-box::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
}
.preview-box::before {
  top: -1px; left: -1px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}
.preview-box::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.preview-box.active { border-color: #ffffff; }

#skill-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  color: #888;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-box.active #skill-text { opacity: 1; color: #ffffff; }

.skill-tile.touch-active {
  color: #0a0a0a;
  background: #ffffff;
  padding-left: 56px;
}

/* ── Certs ────────────────────────────────────────────────── */
.certs-section {
  background: #0a0a0a;
  border-bottom: 1px solid #2a2a2a;
}

.certs-header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  border-bottom: 1px solid #2a2a2a;
}

.certs-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.certs-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: #555;
}

.certs-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 8px;
  color: #ffffff;
}

.certs-header-right {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.certs-count-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: #555;
}

.certs-count-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #ffffff;
  letter-spacing: 4px;
}

/* Dossier grid */
.certs-dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: calc(100vh - 70px);
}

.cert-dossier {
  border-right: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
  transition: background 0.3s;
}

.cert-dossier:last-child { border-right: none; }

/* Subtle grid pattern — pure white rgba, no warm tint */
.cert-dossier::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.cert-dossier:hover { background: #111; }

.cert-dossier-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.cd-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid #222;
}

.cd-index {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: #555;
}

.cd-status {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: #444;
  border: 1px solid #333;
  padding: 3px 8px;
  transition: color 0.3s, border-color 0.3s;
}

.cert-dossier:hover .cd-status {
  color: #ffffff;
  border-color: #ffffff;
}

.cd-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  gap: 12px;
}

.cd-issuer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: #555;
  transition: color 0.3s;
}

.cert-dossier:hover .cd-issuer { color: #777; }

.cd-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  letter-spacing: 3px;
  color: #ffffff;
  margin: 0;
  transition: letter-spacing 0.3s;
}

.cert-dossier:hover .cd-title { letter-spacing: 5px; }

.cd-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: #444;
  border-top: 1px solid #1a1a1a;
  padding-top: 12px;
  margin-top: 4px;
  transition: color 0.3s;
}

.cert-dossier:hover .cd-sub { color: #666; }

/* Stamp overlay */
.cd-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg) scale(0.6);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 12px;
  color: transparent;
  border: 4px solid transparent;
  padding: 8px 16px;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
  transition:
    color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s;
  opacity: 0;
}

.cert-dossier:hover .cd-stamp {
  color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%) rotate(-12deg) scale(1);
  opacity: 1;
}

.cd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-top: 1px solid #222;
}

.cd-code, .cd-year {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: #444;
  transition: color 0.3s;
}

.cert-dossier:hover .cd-code,
.cert-dossier:hover .cd-year { color: #666; }

/* Corner bracket accents */
.cd-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cd-tl { top: 0; left: 0; border-top: 2px solid #222; border-left: 2px solid #222; }
.cd-tr { top: 0; right: 0; border-top: 2px solid #222; border-right: 2px solid #222; }
.cd-bl { bottom: 0; left: 0; border-bottom: 2px solid #222; border-left: 2px solid #222; }
.cd-br { bottom: 0; right: 0; border-bottom: 2px solid #222; border-right: 2px solid #222; }

.cert-dossier:hover .cd-tl,
.cert-dossier:hover .cd-tr,
.cert-dossier:hover .cd-bl,
.cert-dossier:hover .cd-br {
  width: 20px; height: 20px;
  border-color: #ffffff;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-section {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #2a2a2a;
}

.contact-header-bar {
  height: 70px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 20px;
}

.contact-header-bar::before {
  content: 'SIGNAL';
  font-size: 11px;
  letter-spacing: 4px;
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
}

.contact-header-bar::after {
  content: '─── OPEN TO OPPORTUNITIES';
  font-size: 11px;
  letter-spacing: 3px;
  color: #555;
  font-family: 'Share Tech Mono', monospace;
}

/* LET'S TALK */
.lets-talk-grid {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #2a2a2a;
}

.letter-block {
  flex: 1;
  aspect-ratio: 1;
  border-right: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  transition: background 0.1s;
}

.letter-block:last-child { border-right: none; }

/* Letters hidden by default — same color as bg */
.letter-content {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 72px);
  color: #0a0a0a;
  letter-spacing: 4px;
  user-select: none;
  transition: color 0.15s, transform 0.2s;
}

@keyframes letterPop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

.letter-block.reveal {
  background: #ffffff;
}

.letter-block.reveal .letter-content {
  color: #0a0a0a;
  animation: letterPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Contact links — fixed gradient: no 'transparent' keyword */
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #2a2a2a;
}

.contact-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 40px;
  border-right: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to top, #ffffff 50%, #0a0a0a 50%);
  background-size: 100% 200%;
  background-position: top;
  color: #555;
  transition: background-position 0.35s ease, color 0.35s ease;
  cursor: crosshair;
}

.contact-link-item:last-child { border-right: none; }

.contact-link-item:hover {
  background-position: bottom;
  color: #0a0a0a;
}

.contact-link-item .link-line { display: none; }

/* Footer */
.footer-credit-box {
  padding: 40px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* © 2026 — visible dark grey instead of near-invisible #111 */
.footer-credit-box::before {
  content: '© 2026';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: #222;
  line-height: 1;
  pointer-events: none;
}

.credit-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: #555;
  text-align: right;
  width: auto;
}

/* ============================================================
   RESPONSIVE — 900px (Certs)
   ============================================================ */
@media (max-width: 900px) {
  .certs-dossier-grid {
    grid-template-columns: 1fr;
  }
  .cert-dossier {
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
    min-height: 260px;
  }
  .cert-dossier-inner { min-height: 260px; }
}

/* ============================================================
   RESPONSIVE — 768px (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  body { padding-top: 60px; }

  .navbar { padding: 0 16px; height: 60px; }
  .navbar-logo::after { display: none; }
  .nav-links { border-left: none; }
  .nav-links li { border-right: none; }
  .nav-links a { padding: 0 10px; line-height: 60px; font-size: 10px; letter-spacing: 1px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid #2a2a2a; padding: 80px 20px 40px; }
  .hero-left::before, .hero-left::after { left: 20px; font-size: 9px; }
  .hero-right { height: 50vw; min-height: 260px; }

  /* On mobile: always show full name, no hover-reveal trick */
  .hero-initial, .hero-rest { font-size: clamp(40px, 10vw, 70px); }
  .hero-rest { max-width: 900px; opacity: 1; overflow: visible; }

  .experience-horizontal { height: auto !important; }
  .exp-sticky { position: static; height: auto; overflow: visible; }
  .exp-track { flex-direction: column; transform: none !important; height: auto; transition: none; }
  .exp-card { flex: none; width: 100%; grid-template-columns: 1fr; min-height: auto; border-right: none; }
  .exp-card-number { display: none; }
  .exp-card-inner { padding: 40px 20px; margin: 20px; }
  .exp-section-label { padding: 0 20px; font-size: 9px; }

  .projects-header { padding: 0 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-block { min-height: 240px; padding: 28px 20px; border-right: none; }

  .skills-layout { grid-template-columns: 1fr; }
  .skills-list { border-right: none; border-bottom: 1px solid #2a2a2a; }
  .skill-tile { font-size: 36px; padding: 20px; }
  .skill-wrapper:hover .skill-tile { padding-left: 28px; }
  .skills-preview-container { padding: 40px 20px; }
  .preview-box { min-height: 140px; }

  .certs-header-row { padding: 0 20px; }
  .certs-dossier-grid { grid-template-columns: 1fr; min-height: auto; }
  .cert-dossier { min-height: 220px; }
  .cert-dossier-inner { min-height: 220px; }
  .cd-body { padding: 24px 20px; }
  .cd-strip, .cd-footer { padding: 12px 20px; }

  .contact-links { grid-template-columns: 1fr; }
  .contact-link-item { border-right: none; border-bottom: 1px solid #2a2a2a; padding: 28px 20px; justify-content: flex-start; }
  .lets-talk-grid { flex-wrap: wrap; }
  .letter-block { flex: 0 0 12.5%; }
  .letter-content { font-size: clamp(20px, 6vw, 48px); }
  .footer-credit-box { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .footer-credit-box::before { font-size: 48px; }
  .credit-text { text-align: left; }
}

/* ============================================================
   RESPONSIVE — 420px
   ============================================================ */
@media (max-width: 420px) {
  .hero-initial, .hero-rest { font-size: 36px; }
  .nav-links a { font-size: 9px; letter-spacing: 0; }
  .projects-main-title { font-size: 20px; }
}
