/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,700&display=swap');

/* ==========================================================================
   1. VARIABLES & COLOR PALETTE (BROWNISH PASTELS & IRISH GREEN)
   ========================================================================== */
:root {
  --bg-primary: #f7f4ef;
  --bg-surface: rgba(238, 231, 221, 0.6);
  --bg-card: rgba(255, 253, 250, 0.88);

  --text-primary: #12241b;
  --text-secondary: #3b4e44;
  --text-muted: #798a80;

  --accent: #235c45;             /* Deep Irish Emerald Green */
  --accent-hover: #184231;
  --accent-soft: rgba(35, 92, 69, 0.08);
  --accent-glow: rgba(35, 92, 69, 0.16);

  --earth-brown: #854f2c;
  --brown-pastel: #dfcbb8;

  --border: rgba(18, 36, 27, 0.08);
  --border-hover: rgba(18, 36, 27, 0.18);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --side-nav-width: 76px;
  --nav-mobile-height: 56px;
  --section-pad-y: clamp(2.2rem, 4vw, 3.5rem);
  --section-pad-x: clamp(1.5rem, 5vw, 4rem);
  --max-width: 1140px;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-left: var(--side-nav-width);
  overflow-x: hidden;
  position: relative;
}

/* Editorial Grain Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

::selection {
  background-color: var(--accent);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   3. ANIMATED BOKEH GRADIENT (IRISH GREEN & BROWNISH PASTELS)
   ========================================================================== */
.bokeh-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
  opacity: 0.55;
  will-change: transform;
}

.bokeh-orb-1 {
  top: -10%;
  left: 15%;
  width: 48vw;
  height: 48vw;
  min-width: 400px;
  min-height: 400px;
  background: radial-gradient(circle, #3d7d63 0%, rgba(61, 125, 99, 0) 70%);
  animation: bokehDrift1 22s ease-in-out infinite alternate;
}

.bokeh-orb-2 {
  top: 20%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  min-width: 450px;
  min-height: 450px;
  background: radial-gradient(circle, #c9a383 0%, rgba(201, 163, 131, 0) 70%);
  animation: bokehDrift2 26s ease-in-out infinite alternate;
}

.bokeh-orb-3 {
  bottom: -10%;
  right: 15%;
  width: 45vw;
  height: 45vw;
  min-width: 400px;
  min-height: 400px;
  background: radial-gradient(circle, #85a894 0%, rgba(133, 168, 148, 0) 70%);
  animation: bokehDrift3 24s ease-in-out infinite alternate;
}

.bokeh-orb-4 {
  bottom: 10%;
  left: -5%;
  width: 42vw;
  height: 42vw;
  min-width: 380px;
  min-height: 380px;
  background: radial-gradient(circle, #a6724e 0%, rgba(166, 114, 78, 0) 70%);
  animation: bokehDrift4 28s ease-in-out infinite alternate;
}

.bokeh-orb-5 {
  top: 40%;
  left: 35%;
  width: 38vw;
  height: 38vw;
  min-width: 350px;
  min-height: 350px;
  background: radial-gradient(circle, #e6d3ba 0%, rgba(230, 211, 186, 0) 70%);
  animation: bokehDrift5 30s ease-in-out infinite alternate;
}

@keyframes bokehDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8vw, 6vh) scale(1.15); }
  100% { transform: translate(-4vw, 10vh) scale(0.92); }
}

@keyframes bokehDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-10vw, -5vh) scale(1.18); }
  100% { transform: translate(4vw, 8vh) scale(0.95); }
}

@keyframes bokehDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, -8vh) scale(1.1); }
  100% { transform: translate(-6vw, -4vh) scale(0.9); }
}

@keyframes bokehDrift4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8vw, -6vh) scale(1.12); }
  100% { transform: translate(-4vw, 4vh) scale(0.94); }
}

@keyframes bokehDrift5 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-6vw, 8vh) scale(1.08); }
  100% { transform: translate(5vw, -5vh) scale(0.92); }
}

/* ==========================================================================
   4. SIDE NAVIGATION (CLEAN & SUBTLE)
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--side-nav-width);
  height: 100vh;
  z-index: 100;
  background-color: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease-smooth);
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
  max-height: calc(100vh - 120px);
}

.nav-links li {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.nav-links li a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  position: relative;
  padding: 0 4px;
  transition: color 0.3s var(--ease-smooth);
  display: inline-block;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
}

.nav-cta, .nav-hamburger, .mobile-menu {
  display: none;
}

/* ==========================================================================
   5. FLOATING TOP-RIGHT PDF BUTTON & BOTTOM-RIGHT LANGUAGE SWITCHER
   ========================================================================== */
.pdf-export-floating {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--accent);
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.pdf-export-floating:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(35, 92, 69, 0.28);
}

.lang-switcher-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hover);
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(18, 36, 27, 0.14);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.lang-switcher-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 36, 27, 0.18);
}

.lang-btn {
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  padding: 4px 10px;
  border-radius: 20px;
}

.lang-btn.active {
  color: #ffffff;
  background-color: var(--accent);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* ==========================================================================
   6. BUTTONS & GENERAL SECTION STYLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 2.2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-ghost:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-flex;
  width: 20px;
  height: 2px;
  background-color: var(--accent);
  margin-right: 10px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   7. HERO SECTION (PHOTO ALIGNED LEFT NEXT TO NAME)
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--section-pad-x) clamp(2rem, 4vw, 3rem);
  position: relative;
}

.hero-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  margin-bottom: 1.8rem;
  max-width: 920px;
}

.hero-portrait-wrapper {
  width: 145px;
  height: 175px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 35px rgba(18, 36, 27, 0.16);
  flex-shrink: 0;
  position: relative;
  background-color: var(--bg-surface);
}

.hero-portrait-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 17px;
  border: 1px solid rgba(35, 92, 69, 0.15);
  pointer-events: none;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(104%);
  transition: transform 0.45s var(--ease-smooth);
}

.hero-portrait-wrapper:hover .hero-portrait-img {
  transform: scale(1.06);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-top: 0.6rem;
  background-color: var(--accent-soft);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.02;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.hero-summary {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  max-width: 740px;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.hero-meta-item {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.hero-meta-item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-left: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .hero-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   8. PHILOSOPHY SECTION
   ========================================================================== */
.philosophy-quote {
  padding: 1.2rem 1.6rem;
  background-color: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.philosophy-quote p {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 960px;
}

.philosophy-quote p strong {
  font-weight: 600;
  color: var(--accent);
}

.philosophy-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-smooth);
}

.philosophy-wrapper.collapsed {
  max-height: 250px;
}

.philosophy-wrapper:not(.collapsed) {
  max-height: 2000px;
}

.philosophy-body-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2.2rem;
  max-width: 980px;
}

@media (max-width: 768px) {
  .philosophy-body-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.philosophy-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(247, 244, 239, 0) 0%, rgba(247, 244, 239, 0.94) 70%, rgba(247, 244, 239, 1) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.philosophy-wrapper:not(.collapsed) .philosophy-fade-overlay {
  opacity: 0;
}

.philosophy-toggle-block {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-start;
}

.btn-philosophy-toggle {
  font-size: 0.9rem;
  padding: 0.65rem 1.6rem;
  border-radius: 30px;
  border: 1px solid var(--border-hover);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.btn-philosophy-toggle .toggle-icon {
  transition: transform 0.3s var(--ease-smooth);
}

.btn-philosophy-toggle.is-expanded .toggle-icon {
  transform: rotate(180deg);
}

.philosophy-para {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.philosophy-para.highlight-lead p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0.2rem 0;
}

/* ==========================================================================
   9. CORE CAPABILITIES
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.capability-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 28px rgba(18, 36, 27, 0.06);
}

.capability-num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--earth-brown);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.capability-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.toolkit-compact {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .toolkit-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .toolkit-compact {
    grid-template-columns: 1fr;
  }
}

.toolkit-pill {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.toolkit-pill-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.toolkit-pill-val {
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   10. NESTED EMPLOYER CAREER JOURNEY (CLEAN & UNCLUTTERED)
   ========================================================================== */
.employer-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.employer-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 8px 24px rgba(18, 36, 27, 0.04);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.employer-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 14px 32px rgba(18, 36, 27, 0.08);
  transform: translateY(-2px);
}

.employer-card-highlight {
  border: 1.5px solid var(--accent);
  background-color: rgba(255, 253, 250, 0.95);
  box-shadow: 0 12px 30px rgba(35, 92, 69, 0.1);
}

.employer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.4rem;
}

.employer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.employer-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.employer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.employer-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.employer-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}

.employer-tenure-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tenure-roles-count {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth-brown);
}

.tenure-duration {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-top: 0.15rem;
}

.highlight-badge .tenure-duration {
  background-color: var(--accent);
  color: #ffffff;
}

.nested-roles {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.nested-role {
  position: relative;
  padding: 0; /* Clean, no green vertical border */
}

.nested-role:not(:last-child) {
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--border);
}

.nested-role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.nested-role-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nested-role-location {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.nested-role-period {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--earth-brown);
}

.timeline-overview {
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.highlight-quote {
  font-style: italic;
  font-size: 0.91rem;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin: 0.7rem 0;
}

.timeline-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.timeline-achievements li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.timeline-achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* ==========================================================================
   11. ALL 6 FULL UNTRUNCATED PEER ENDORSEMENTS
   ========================================================================== */
.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .endorsements-grid {
    grid-template-columns: 1fr;
  }
}

.endorsement-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.endorsement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(18, 36, 27, 0.07);
}

.endorsement-quote p {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.endorsement-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.endorsement-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.endorsement-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.endorsement-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   12. EDUCATION & CERTIFICATIONS
   ========================================================================== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
}

.education-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: transform 0.35s var(--ease-smooth);
}

.education-card:hover {
  transform: translateY(-3px);
}

.education-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.education-card p {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}

.education-card ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.education-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* ==========================================================================
   13. DEDICATED CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  z-index: 1;
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3.5rem, 6.5vw, 5.5rem) var(--section-pad-x);
  text-align: center;
}

.contact-card {
  max-width: 650px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.contact-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.btn-contact-email {
  font-size: 1.02rem;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  box-shadow: 0 10px 28px var(--accent-glow);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  padding: 2.5rem var(--section-pad-x);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
}

.footer-links a {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   15. FLUID VIEWPORT-AWARE SCROLL REVEAL (GAUSSIAN BLUR + GRADIENT)
   ========================================================================== */
.reveal-blur {
  opacity: 0;
  filter: blur(12px) saturate(0.6);
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-smooth),
              filter 0.75s var(--ease-smooth),
              transform 0.75s var(--ease-smooth);
  will-change: opacity, filter, transform;
}

.reveal-blur.revealed {
  opacity: 1;
  filter: blur(0px) saturate(1);
  transform: translateY(0);
}

/* Staggered cascade delays for child elements inside revealed cards */
.employer-card.revealed .nested-role:nth-child(1) { transition-delay: 0.05s; }
.employer-card.revealed .nested-role:nth-child(2) { transition-delay: 0.18s; }
.employer-card.revealed .nested-role:nth-child(3) { transition-delay: 0.31s; }

.capabilities-grid .capability-card:nth-child(1) { transition-delay: 0.04s; }
.capabilities-grid .capability-card:nth-child(2) { transition-delay: 0.13s; }
.capabilities-grid .capability-card:nth-child(3) { transition-delay: 0.22s; }
.capabilities-grid .capability-card:nth-child(4) { transition-delay: 0.31s; }

.endorsements-grid .endorsement-card:nth-child(odd)  { transition-delay: 0.05s; }
.endorsements-grid .endorsement-card:nth-child(even) { transition-delay: 0.18s; }

@media (max-width: 768px) {
  body {
    margin-left: 0;
    padding-top: var(--nav-mobile-height);
  }

  .nav {
    width: 100%;
    height: var(--nav-mobile-height);
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .nav-inner {
    flex-direction: row;
    padding: 0 var(--section-pad-x);
  }

  .nav-logo {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .nav-hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 105;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-smooth);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
  }

  .lang-switcher-floating {
    bottom: 16px;
    right: 16px;
  }

  .pdf-export-floating {
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   16. PRINT & PDF EXPORT STYLESHEET (FULL-BLEED LUXURY DESIGN)
   ========================================================================== */
@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f7f4ef !important;
    background: linear-gradient(135deg, #f7f4ef 0%, #eee7dd 40%, #f2ede6 100%) !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
    width: 100% !important;
  }

  body::after,
  .bokeh-container,
  .nav,
  .lang-switcher-floating,
  .pdf-export-floating,
  .pdf-modal-overlay,
  .nav-hamburger,
  .mobile-menu,
  .hero-actions {
    display: none !important;
  }

  .reveal-blur, .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .section {
    padding: 1.2rem 2rem !important;
  }

  .hero {
    min-height: auto !important;
    padding: 2rem 2rem 1rem !important;
  }

  .hero h1 {
    font-size: 2.8rem !important;
    line-height: 1.05 !important;
  }

  .hero-portrait-wrapper {
    width: 80px !important;
    height: 80px !important;
  }

  .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }

  .employer-card,
  .endorsement-card,
  .education-card,
  .capability-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(18, 36, 27, 0.12) !important;
    border-radius: 10px !important;
    margin-bottom: 0.8rem !important;
    padding: 0.9rem 1.2rem !important;
  }

  .nested-role {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .employer-list,
  .nested-roles,
  .endorsements-grid,
  .education-grid,
  .capabilities-grid {
    gap: 0.8rem !important;
  }

  .footer {
    padding: 1rem 2rem !important;
  }
}

/* ==========================================================================
   17. ELEGANT PDF LANGUAGE SELECTION MODAL
   ========================================================================== */
.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(18, 36, 27, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.pdf-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.pdf-modal-card {
  background-color: rgba(255, 253, 250, 0.96);
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.8rem);
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(18, 36, 27, 0.2);
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s var(--ease-smooth);
  position: relative;
}

.pdf-modal-overlay.active .pdf-modal-card {
  transform: translateY(0) scale(1);
}

.pdf-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.pdf-modal-close:hover {
  color: var(--text-primary);
}

.pdf-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.pdf-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.pdf-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.pdf-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pdf-download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  transition: all 0.3s var(--ease-smooth);
}

.pdf-download-option:hover {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.pdf-lang-flag {
  font-size: 1.2rem;
  margin-right: 0.6rem;
}

