/* Website v4.0 — Final Sync additions (Oct 14, 2026)
   Journey banner, spine fill, year rail, recognition band,
   certifications ladder, contact motif. */

/* Journey header banner (B4a) */
.journey-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  margin: 10px 0 30px;
  box-shadow: 0 18px 40px rgba(10, 16, 40, 0.18);
}

/* Timeline spine fill (B2) */
.timeline-line { overflow: hidden; }
.spine-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #06b6d4, #3b82f6, #a855f7);
  border-radius: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .spine-fill { transition: none; }
}

/* Sticky current-year rail (B1) */
.year-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 0;
  pointer-events: none;
  z-index: 30;
}
.year-rail span {
  position: sticky;
  top: 104px;
  display: inline-block;
  transform: translateX(-100%);
  white-space: nowrap;
  background: rgba(9, 13, 28, 0.9);
  color: #e8ecf8;
  border: 1px solid rgba(96, 130, 246, 0.45);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px rgba(10, 16, 40, 0.25);
}
@media (max-width: 900px) {
  .year-rail { display: none; }
}

/* Recognition band (A4) */
.recognition-band {
  padding: 14px 20px 64px;
}
.recognition-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f4f6fd, #eceffa);
  border: 1px solid #d9e0f4;
  border-radius: 20px;
  padding: 34px 36px 30px;
}
.recognition-title {
  margin: 0 0 20px;
  font-size: 26px;
  color: #101736;
  text-align: center;
}
.recognition-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #06b6d4, #a855f7);
}
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.recognition-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #dde4f6;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.recognition-name {
  font-weight: 700;
  color: #141c3f;
  font-size: 16px;
}
.recognition-detail {
  color: #4a5578;
  font-size: 14px;
  line-height: 1.45;
}

/* Certifications ladder graphic (B4c) */
.certs-ladder {
  margin: 30px auto 8px;
  max-width: 1060px;
  padding: 0 20px;
  text-align: center;
}
.certs-ladder img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(10, 16, 40, 0.18);
}
.certs-ladder figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #4a5578;
}

/* Contact motif strip (B4d) — glow strip inside the dark connect section */
.contact-motif {
  height: 54px;
  max-width: 1060px;
  margin: 0 auto 6px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 60%, rgba(34, 211, 238, 0.5), rgba(34, 211, 238, 0) 130px),
    radial-gradient(circle at 90% 40%, rgba(168, 85, 247, 0.5), rgba(168, 85, 247, 0) 150px),
    linear-gradient(90deg, rgba(34, 211, 238, 0) 4%, rgba(34, 211, 238, 0.35) 34%, rgba(168, 85, 247, 0.35) 66%, rgba(168, 85, 247, 0) 96%);
}

/* === Oct 14 page-fixes batch: cert lists, unified connect, header === */
.v4-cert-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1060px; margin: 30px auto 12px; text-align: left; }
.v4-cert-col { background: #ffffff; border: 1px solid #e3e8f4; border-radius: 16px; padding: 24px 26px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.v4-cert-col h3 { margin: 0 0 6px; font-size: 1.12rem; color: #16213c; }
.v4-cert-col h3::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; margin-top: 8px; background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7); }
.v4-cert-col ul { list-style: none; margin: 10px 0 0; padding: 0; }
.v4-cert-col li { border-top: 1px solid #edf1f8; }
.v4-cert-col li:first-child { border-top: none; }
.v4-cert-col a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 2px; color: #1c2745; text-decoration: none; font-weight: 600; }
.v4-cert-col a:hover, .v4-cert-col a:focus-visible { color: #0369a1; }
.v4-arr { color: #0284c7; font-weight: 700; }
@media (max-width: 760px) { .v4-cert-lists { grid-template-columns: 1fr; } }

.navbar3-container { position: relative; }
.navbar3-container::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7); opacity: .45; pointer-events: none; }
.navbar3-container .thq-link { position: relative; transition: color .18s ease, background-color .18s ease; border-radius: 6px; }
/* v4.3 hover fix: .thq-link is gradient-clipped text — overriding its background shorthand wiped the label out on hover. Recolor the slide gradient only; the theme's own hover animation + the underline below do the rest. */
.navbar3-container .thq-link { background-image: linear-gradient(to right, #0284c7 50%, var(--dl-color-theme-neutral-dark) 50%); }
.navbar3-container .thq-link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7); opacity: 0; transform: scaleX(.4); transition: opacity .18s ease, transform .18s ease; }
.navbar3-container .thq-link:hover::after, .navbar3-container .thq-link:focus-visible::after { opacity: 1; transform: scaleX(1); }
.v4-head-icons { display: flex; align-items: center; gap: 2px; margin-left: 12px; margin-right: auto; }
.v4-hi { display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 8px; color: #475569; text-decoration: none; }
.v4-hi svg { width: 19px; height: 19px; }
.v4-hi:hover, .v4-hi:focus-visible { color: #0284c7; background: rgba(6, 182, 212, .09); }
@media (max-width: 640px) { .v4-head-icons { margin-left: 6px; gap: 0; } .v4-hi { padding: 5px; } .v4-hi svg { width: 17px; height: 17px; } }

.v4c { position: relative; width: 100%; flex: 1 1 100%; align-self: stretch; overflow: hidden; color: #e6eaf2; background: radial-gradient(1100px 480px at 88% -10%, rgba(168, 85, 247, .10), transparent 60%), radial-gradient(1000px 460px at 6% -10%, rgba(6, 182, 212, .10), transparent 60%), #070a13; }
.v4c::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7); opacity: .55; }
.v4c-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 84px 24px; display: flex; gap: 56px; align-items: flex-start; justify-content: space-between; }
.v4c-left { max-width: 520px; }
.v4c-title { margin: 18px 0 14px; font-size: 2.75rem; line-height: 1.08; color: #f2f5fb; }
.v4c-sub { margin: 0; color: #9aa7bb; line-height: 1.65; }
.v4c-rule { width: 44px; height: 3px; border-radius: 2px; margin-top: 26px; background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7); }
.v4c-card { background: #0c1120; border: 1px solid #1c2740; border-radius: 16px; padding: 26px; width: 430px; max-width: 100%; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.v4c-card-title { margin: 0 0 16px; font-size: 1.05rem; color: #eef2f9; }
.v4c-card-title::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 8px; background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.v4c-item { display: flex; align-items: center; gap: 14px; background: #111830; border: 1px solid #22304f; border-radius: 12px; padding: 13px 16px; margin-bottom: 12px; color: #e6eaf2; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.v4c-item:hover, .v4c-item:focus-visible { border-color: rgba(59, 130, 246, .65); transform: translateY(-1px); }
.v4c-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(6, 182, 212, .10); color: #38bdf8; flex: none; }
.v4c-icon svg { width: 20px; height: 20px; }
.v4c-label { font-weight: 600; }
.v4c-arrow { margin-left: auto; color: #64748b; display: inline-flex; }
.v4c-arrow svg { width: 18px; height: 18px; }
.v4c-note { margin: 16px 0 12px; color: #94a3b8; font-size: .95rem; line-height: 1.55; }
.v4c-copy { margin: 0; color: #5b6577; font-size: .85rem; }
@media (max-width: 900px) { .v4c-inner { flex-direction: column; gap: 34px; padding: 56px 20px; } .v4c-card { width: 100%; } .v4c-title { font-size: 2.1rem; } }

/* Contact page only: aerospace canvas dissolving into the black at the page foot */
.v4c-aero { position: relative; width: 100%; flex: 1 1 auto; align-self: stretch; min-height: 440px; overflow: hidden; background: #070a13; }
.contact-container .v4c { flex: 0 1 auto; }
.v4c-aero img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 44%, #000 78%, transparent 100%); animation: v4cDrift 26s ease-in-out infinite alternate; }
@keyframes v4cDrift { from { transform: scale(1.03) translateX(0); } to { transform: scale(1.1) translateX(-1.6%); } }
.v4c-aero-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(160, 200, 255, .09) 48%, rgba(255, 255, 255, .12) 50%, rgba(160, 200, 255, .09) 52%, transparent 68%); background-size: 260% 100%; animation: v4cSheen 11s ease-in-out infinite; }
@keyframes v4cSheen { 0%, 55% { background-position: 125% 0; } 92%, 100% { background-position: -45% 0; } }
@media (max-width: 760px) { .v4c-aero { min-height: 250px; } }
@media (prefers-reduced-motion: reduce) { .v4c-aero img, .v4c-aero-sheen { animation: none; } }

/* What Drives Me: canvas art reveal on hover / tap */
.drives-me-card .v4-drive-img { opacity: .13; transform: scale(1.03); transition: opacity .8s ease, transform 1.8s ease; }
.drives-me-card:hover .v4-drive-img, .drives-me-card.v4-drive-on .v4-drive-img { opacity: 1; transform: scale(1.12); }
.drives-me-card:hover .home-card-overlay, .drives-me-card.v4-drive-on .home-card-overlay { background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, .9) 100%); }
.drives-me-card.v4-drive-on { transform: translateY(-15px) scale(1.02); box-shadow: 0 25px 50px rgba(0, 0, 0, .15); }
.drives-me-card.v4-drive-on .home-card-content { color: #ffffff; }
.drives-me-card.v4-drive-on .card-icon { color: #ffffff; transform: rotate(-10deg) scale(1.1); background: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); }
.drives-me-card.v4-drive-on .card-description { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .drives-me-card .v4-drive-img { transition: opacity .2s ease; } .drives-me-card:hover .v4-drive-img, .drives-me-card.v4-drive-on .v4-drive-img { transform: none; } }

/* ===== v4.2 minor edits (Oct 14) ===== */
.navbar3-thq-icon-group-elm1{display:flex;align-items:center;gap:8px}
/* Journey Recognition finale */
.v4-recog2{width:100%;max-width:1100px;margin:88px auto;padding:0 20px;flex:0 0 auto;align-self:center}
.v4-recog2-head{text-align:center;margin-bottom:38px}
.v4-recog2-head .recognition-title{font-size:2.5rem;font-weight:800;letter-spacing:-.01em}
.v4-recog2-rule{display:block;width:56px;height:4px;border-radius:2px;margin:0 auto 16px;background:linear-gradient(90deg,#06b6d4,#3b82f6,#a855f7)}
.v4-recog2-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.v4-recog2-card{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:28px 30px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.v4-recog2-ico{flex:0 0 auto;width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#0284c7;background:linear-gradient(135deg,rgba(6,182,212,.12),rgba(168,85,247,.12));border:1px solid rgba(59,130,246,.18)}
.v4-recog2-ico svg{width:26px;height:26px}
.v4-recog2-txt{display:flex;flex-direction:column;gap:4px;padding-top:2px}
.v4-recog2-txt strong{font-size:1.18rem;font-weight:700;color:#0f172a}
.v4-recog2-txt span{font-size:1rem;color:#64748b;line-height:1.55}
@media (max-width:760px){.v4-recog2{margin:56px auto}.v4-recog2-grid{grid-template-columns:1fr}.v4-recog2-head .recognition-title{font-size:2rem}}
/* Certifications spacing: lists up toward heading, status up toward carousel */
.v4-cert-lists-top{margin-top:6px;margin-bottom:42px}
section.spacer-container.certifications-thq-spacer-container-elm3{height:56px}

/* ===== v4.3 mobile fix (Oct 14): home cert carousel overflow =====
   The carousel track is ~4,000px of cards by design; on the Certifications
   page an ancestor clips it, but on Home nothing did — the track stretched
   the page sideways (worst on mobile). Clip at the wrapper (its edge fade
   mask still applies) and forbid sideways page scroll everywhere. */
.certifications-carousel-wrapper { overflow: hidden; }
html, body { overflow-x: clip; }

/* ===== v4.4 (Oct 14): home reveal lag off + certifications top gap =====
   Home sections used a scroll-reveal (opacity 0 until a script adds a class
   only after the element is well into view) — on mobile the What Drives Me
   cards sat as blank white space, then popped in. Render everything in its
   final state at all times. The Drives cards keep their hover/tap lift and
   art reveal (re-allowed below at higher specificity). */
.home-container10 .home-reveal-item, .home-container10 .reveal-item { opacity: 1; transform: none; transition: none; }
.home-container10 .drives-me-card.v4-drive-on { transform: translateY(-15px) scale(1.02); }
.home-container10 .drives-me-card:hover { transform: translateY(-15px) scale(1.02); }
/* Certifications page: the 200px spacer under the header pushed the
   "Professional Certifications" heading far down the page. */
section.spacer-container.certifications-thq-spacer-container-elm1 { height: 40px; }
@media (max-width: 767px) { section.spacer-container.certifications-thq-spacer-container-elm1 { height: 16px; } }
/* Journey timeline, mobile: the desktop alternating rule
   (.page-timeline-item:nth-child(even), specificity 0-2-0) outranked the
   mobile single-column override (0-1-0), so every second stop stayed
   squeezed into half the screen. Force one full-width column for all. */
@media (max-width: 767px) {
  .timeline-item.page-timeline-item:nth-child(n) { padding-left: 66px; padding-right: 14px; justify-content: flex-start; margin-bottom: 40px; }
  .timeline-item.page-timeline-item .floating-glass { width: 100%; margin: 0; }
  .page-timeline-wrapper .page-timeline-line { left: 30px; }
  .timeline-item .page-timeline-marker { left: 30px; }
}

/* ===== v4.5 (Oct 14): What Drives Me — art always revealed =====
   The canvas art is the showpiece: fully visible at rest on every device
   (white text over the dark scrim, as in the revealed state). Hover or tap
   lifts the card with a soft shadow while the art slowly zooms and the
   icon chip tips — no click needed to uncover anything. */
.home-container10 .drives-me-card { transition: transform .5s ease, box-shadow .5s ease; }
.home-container10 .drives-me-card .v4-drive-img { opacity: 1; transform: scale(1.02); transition: opacity .8s ease, transform 1.8s ease; }
.home-container10 .drives-me-card .home-card-overlay { background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, .9) 100%); }
.home-container10 .drives-me-card .home-card-content { color: #ffffff; }
.home-container10 .drives-me-card .card-description { opacity: 1; transform: translateY(0); color: #e2e8f0; }
.home-container10 .drives-me-card .card-icon { color: #ffffff; background: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); transition: transform .5s ease; }
.home-container10 .drives-me-card:hover, .home-container10 .drives-me-card:active { transform: translateY(-8px) scale(1.015); box-shadow: 0 25px 50px rgba(0, 0, 0, .22); }
.home-container10 .drives-me-card:hover .v4-drive-img, .home-container10 .drives-me-card:active .v4-drive-img { transform: scale(1.1); }
.home-container10 .drives-me-card:hover .card-icon { transform: rotate(-10deg) scale(1.1); }
@media (prefers-reduced-motion: reduce) { .home-container10 .drives-me-card, .home-container10 .drives-me-card .v4-drive-img { transition: none; } .home-container10 .drives-me-card:hover .v4-drive-img { transform: scale(1.02); } }

/* ===== v4.6 (Oct 14): home certifications section width pin =====
   The section shrink-wraps to its widest content (the two cert lists side
   by side, ~626px) instead of the screen, so on mobile the row overflows
   both edges and the lists never wrap. Pin the section and its container
   to full width; the lists' flex-wrap then stacks Stackable under Core
   whenever the screen runs out of room. */
section.home-certifications-section { width: 100%; max-width: 100%; align-self: stretch; box-sizing: border-box; }
section.home-certifications-section .home-cert-container { width: 100%; align-self: stretch; margin-left: auto; margin-right: auto; box-sizing: border-box; }
/* Mobile menu anchor fix: the menu panel was position:absolute, so it
   opened at the top of the document — tapping the hamburger mid-page made
   it "disappear" and the nav only appeared after scrolling back up.
   Fixed positioning anchors it to the viewport, under your thumb. */
.navbar3-container .navbar3-thq-mobile-menu-elm { position: fixed; }
