:root {
  color-scheme: light;
  --bg: #f8fbf9;
  --bg-soft: #eef5f1;
  --panel: #ffffff;
  --panel-2: #f3f8f5;
  --panel-translucent: rgba(255, 255, 255, 0.88);
  --header-bg: rgba(251, 253, 252, 0.9);
  --text: #17272f;
  --text-muted: #5a6e76;
  --text-muted-2: #788a92;
  --line: rgba(29, 63, 47, 0.12);
  --line-strong: rgba(22, 132, 91, 0.25);
  --accent: #16845b;
  --accent-2: #28a372;
  --accent-dark: #0d6847;
  --accent-light: #e6f6ee;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-soft: 0 14px 36px rgba(35, 64, 53, 0.07);
  --shadow-card: 0 18px 42px rgba(35, 64, 53, 0.09);
  --shadow-hover: 0 24px 52px rgba(22, 132, 91, 0.14);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090e0c;
  --bg-soft: #0f1815;
  --panel: #131e1a;
  --panel-2: #192722;
  --panel-translucent: rgba(19, 30, 26, 0.92);
  --header-bg: rgba(9, 14, 12, 0.92);
  --text: #edf5f1;
  --text-muted: #9ab0a6;
  --text-muted-2: #7a9187;
  --line: rgba(53, 173, 125, 0.16);
  --line-strong: rgba(53, 173, 125, 0.35);
  --accent: #35ad7d;
  --accent-2: #4fd19b;
  --accent-dark: #229467;
  --accent-light: rgba(53, 173, 125, 0.14);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 26px 56px rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

body, button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { color: #fff; background: var(--accent); }

.section-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: 10px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--accent); border-radius: 7px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Ambient Background Lights */
.page-noise { position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: .12; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.ambient { position: fixed; z-index: -3; width: 540px; height: 540px; border-radius: 50%; pointer-events: none; filter: blur(110px); opacity: .12; }
[data-theme="dark"] .ambient { opacity: .18; }
.ambient-one { top: -250px; right: -120px; background: #72cba1; animation: ambient-drift 17s ease-in-out infinite alternate; }
.ambient-two { top: 1150px; left: -330px; background: #98c3db; animation: ambient-drift 21s ease-in-out infinite alternate-reverse; }
.pointer-glow { position: fixed; z-index: -1; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; opacity: .12; background: radial-gradient(circle,rgba(58,171,122,.2),transparent 68%); transform: translate(-50%,-50%); transition: opacity .25s ease; }
[data-theme="dark"] .pointer-glow { opacity: .16; }

.scroll-progress { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 3px; background: linear-gradient(90deg,var(--accent-dark),var(--accent-2)); box-shadow: 0 0 13px rgba(22,132,91,.35); }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  min-height: 82px;
  padding-inline: max(32px, calc((100% - 1320px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 5px 24px rgba(0, 0, 0, .03);
  transition: background-color .3s ease, border-color .3s ease;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark, .footer-brand { color: var(--text); font: 800 28px/1 var(--font-display); letter-spacing: -.07em; }
.brand-mark span, .footer-brand span { color: var(--accent); }
.brand-name { color: var(--text-muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; }

.header-right { display: flex; align-items: center; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); }
.site-nav a { position: relative; color: var(--text-muted); font-size: 13px; font-weight: 700; transition: color .25s ease; }
.site-nav a:not(.nav-contact):not(.nav-cv-btn)::after {
  content: ''; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 18px;
  transition: all .25s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.theme-toggle svg { transition: transform .25s ease, stroke .25s ease; }
.theme-toggle:hover svg { transform: rotate(15deg); stroke: var(--accent); }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

.nav-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  transition: all .25s ease;
}
.nav-cv-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.nav-contact {
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #fff !important;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: all .25s ease;
}
.nav-contact:hover { background: var(--accent-dark); transform: translateY(-2px); }
.nav-contact span { margin-left: 6px; display: inline-block; transition: transform .25s ease; }
.nav-contact:hover span { transform: translate(3px, -3px); }

.menu-toggle { display: none; }

/* Hero Section */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 52px;
  min-height: 760px;
  padding-top: 54px;
  padding-bottom: 95px;
}
.hero-copy { position: relative; z-index: 2; padding-top: 4px; animation: hero-copy-in .9s cubic-bezier(.2,.7,.2,1) both; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.status-dot, .mini-pulse {
  position: relative; display: inline-block; width: 8px; height: 8px; flex: 0 0 8px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-light);
}
.status-dot::after, .mini-pulse::after {
  content: ''; position: absolute; inset: -4px; border: 1px solid var(--accent);
  border-radius: 50%; animation: pulse-ring 2.2s ease-out infinite;
}

.hero-kicker { margin: 44px 0 10px; color: var(--text-muted); font: 600 20px var(--font-display); letter-spacing: -.03em; }
h1 { margin: 0; color: var(--text); font: 800 clamp(56px, 7vw, 96px)/.98 var(--font-display); letter-spacing: -.07em; }
h1 > span { color: var(--accent); }
.title-period { color: var(--accent-2); }
.hero-description { max-width: 530px; margin: 24px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.85; }

.role-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 32px; margin-top: 15px; color: var(--text-muted-2); font-size: 13px; font-weight: 600; }
.role-line strong { color: var(--accent); font-size: 14px; font-weight: 800; transition: opacity .2s ease, transform .2s ease; }
.role-line strong.role-changing { opacity: .2; transform: translateY(3px); }
.typing-caret { width: 2px; height: 16px; margin-left: -4px; background: var(--accent); animation: blink .85s step-end infinite; }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 24px rgba(22,132,91,.25); }
.button-primary:hover { color: #fff; background: var(--accent-dark); box-shadow: var(--shadow-hover); }
.button-cv { color: var(--accent); border-color: var(--line-strong); background: var(--accent-light); }
.button-cv:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.button-ghost { color: var(--text); border-color: var(--line-strong); background: var(--panel); }
.button-ghost:hover { border-color: var(--accent); background: var(--panel-2); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 50px; }
.meta-item { display: flex; align-items: center; gap: 12px; }
.meta-symbol { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); background: var(--panel); font-size: 17px; }
.meta-item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.meta-item small { color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.meta-item strong { color: var(--text); font-size: 13px; font-weight: 700; }

/* Portrait Area */
.hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; animation: hero-visual-in 1s .12s cubic-bezier(.2,.7,.2,1) both; }
.portrait-card {
  position: relative;
  z-index: 2;
  width: min(340px, 78%);
  height: 450px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: box-shadow .3s ease;
}
.portrait-card::before { content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; }
.portrait-card:hover { box-shadow: var(--shadow-hover); }
.portrait-card-top, .portrait-card-bottom {
  position: relative; z-index: 2; height: 32px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px; color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .14em;
}
.profile-photo {
  display: block; width: 100%; height: calc(100% - 64px);
  object-fit: cover; object-position: center top;
  border-radius: 8px; background: var(--bg-soft);
}
.portrait-card-bottom { justify-content: flex-start; gap: 10px; }
.portrait-line { width: 28px; height: 2px; background: var(--accent); }

.visual-orbit { position: absolute; z-index: 1; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 470px; height: 470px; animation: orbit-breathe 7s ease-in-out infinite; }
.orbit-b { width: 540px; height: 540px; border-style: dashed; border-color: var(--line-strong); animation: orbit-spin 70s linear infinite; }

.floating-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); background: var(--panel-translucent);
  box-shadow: var(--shadow-soft); font-size: 12px; font-weight: 700; line-height: 1.5; animation: float-y 5.5s ease-in-out infinite;
}
.floating-card-top { top: 86px; left: -10px; }
.floating-card-bottom { right: -5px; bottom: 75px; animation-delay: -2.5s; }
.floating-icon { color: var(--accent); font-size: 20px; }

.tech-float {
  position: absolute; z-index: 4; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 12px; color: var(--accent); background: var(--panel-translucent);
  box-shadow: var(--shadow-soft); font: 800 16px var(--font-display); animation: float-y 6s ease-in-out infinite;
}
.tech-float-one { right: 35px; top: 55px; transform: rotate(8deg); }
.tech-float-two { left: 15px; bottom: 42px; color: #557e9a; animation-delay: -3s; }
.visual-caption { position: absolute; bottom: 4px; color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.visual-caption b { margin-inline: 8px; color: var(--accent); }

.scroll-cue { position: absolute; left: 0; bottom: 25px; display: flex; align-items: center; gap: 12px; color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.scroll-cue-line { position: relative; width: 44px; height: 2px; overflow: hidden; background: var(--line); }
.scroll-cue-line::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: scroll-line 1.8s ease-in-out infinite; }

/* Moving Marquee Band */
.marquee-band { overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line); background: var(--bg-soft); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 40px; animation: marquee 34s linear infinite; }
.marquee-track span { color: var(--text-muted); font-size: 12px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.marquee-track b { color: var(--accent); font-size: 14px; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }

/* Section Standard Styles */
.section { padding-top: 110px; padding-bottom: 115px; }
.about-section, .expertise-inner, .education-inner, .experience-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; }
.section-heading { position: relative; }
.section-label { margin: 0 0 20px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
h2 { margin: 0; color: var(--text); font: 800 clamp(38px, 4.5vw, 58px)/1.1 var(--font-display); letter-spacing: -.05em; }
h2 em { color: var(--accent); font-style: normal; }
.heading-decoration { display: flex; align-items: center; gap: 6px; margin-top: 30px; }
.heading-decoration span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--line-strong); }
.heading-decoration span:first-child { width: 46px; background: var(--accent); }

/* About Section */
.about-lead { max-width: 610px; margin: 0 0 22px; color: var(--text); font: 600 22px/1.55 var(--font-display); letter-spacing: -.02em; }
.about-lead strong { color: var(--accent); }
.body-copy { max-width: 620px; margin: 0 0 16px; color: var(--text-muted); font-size: 14px; line-height: 1.9; }

.about-socials { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 35px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text);
  background: var(--panel); font-size: 12px; font-weight: 700; transition: all .25s ease;
}
.social-pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.signature-area { display: flex; flex-direction: column; align-items: flex-start; margin-top: 35px; }
.signature-label, .signature-caption { color: var(--text-muted-2); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.signature-script { margin: 7px 0 0; color: var(--accent); font: 600 38px/1.1 'Caveat', cursive; transform: rotate(-3deg); }
.signature-rule { width: 200px; height: 1px; margin: 8px 0 10px; background: var(--line-strong); }
.signature-caption { letter-spacing: .09em; }
.signature-caption i { margin-inline: 6px; color: var(--accent); font-style: normal; }

/* Expertise Section */
.expertise-section { position: relative; overflow: hidden; padding: 110px 0; border-block: 1px solid var(--line); background: var(--bg-soft); }
.section-intro { max-width: 350px; margin: 24px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.85; }
.expertise-list { padding-top: 4px; }
.expertise-item { display: grid; grid-template-columns: 40px 1fr 24px; align-items: start; gap: 18px; padding: 25px 0; border-top: 1px solid var(--line); transition: transform .3s ease; }
.expertise-item:last-child { border-bottom: 1px solid var(--line); }
.expertise-item:hover { transform: translateX(8px); }
.expertise-number { padding-top: 4px; color: var(--accent); font-size: 12px; font-weight: 800; }
.expertise-item h3 { margin: 0 0 8px; color: var(--text); font: 700 18px var(--font-display); letter-spacing: -.02em; }
.expertise-item p { max-width: 470px; margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.expertise-arrow { color: var(--text-muted-2); font-size: 18px; transition: transform .25s ease, color .25s ease; }
.expertise-item:hover .expertise-arrow { color: var(--accent); transform: translate(3px, -3px); }

.tech-stack { grid-column: 1/-1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; padding-top: 35px; border-top: 1px solid var(--line); }
.tech-stack-heading > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.tech-stack-heading p { margin: 10px 0 0; color: var(--text-muted); font-size: 13px; }
.tech-groups { display: grid; gap: 18px; }
.tech-group { display: grid; grid-template-columns: 140px 1fr; align-items: start; gap: 14px; }
.tech-group > b { padding-top: 8px; color: var(--text-muted-2); font-size: 11px; letter-spacing: .14em; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pills span { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--text); background: var(--panel); font-size: 12px; font-weight: 700; transition: all .22s ease; }
.tech-pills span:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-soft); }

/* Projects Section */
.projects-section { padding-top: 110px; padding-bottom: 115px; }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.projects-intro { max-width: 360px; margin: 0 0 7px; color: var(--text-muted); font-size: 14px; line-height: 1.85; }
.project-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.filter-button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text-muted); background: var(--panel);
  cursor: pointer; font-size: 12px; font-weight: 800; transition: all .23s ease;
}
.filter-button span { color: var(--text-muted-2); font-size: 11px; }
.filter-button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.filter-button.is-active { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 5px 14px rgba(22, 132, 91, .25); }
.filter-button.is-active span { color: rgba(255, 255, 255, .8); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.project-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); box-shadow: var(--shadow-card); transform-style: preserve-3d;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, opacity .25s ease;
}
.project-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.project-card.is-filter-hidden { display: none; }

.project-visual {
  position: relative; height: 260px; min-height: 260px; display: grid; place-items: center;
  overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.project-visual .project-photo {
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center; padding: 12px; box-sizing: border-box;
}
.visual-label { position: absolute; z-index: 5; top: 16px; left: 18px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; background: var(--panel-translucent); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line); }

.project-info { padding: 24px 26px 22px; flex: 1; display: flex; flex-direction: column; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text-muted-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: #147b52; background: #e9f6ef; }
.status-progress { color: #b0882e; background: #fdf6e7; }
.status-concept { color: #537da6; background: #edf4fb; }
.status-academic { color: #6d8291; background: #eff3f6; }

.project-info h3 { margin: 14px 0 8px; color: var(--text); font: 800 22px var(--font-display); letter-spacing: -.03em; }
.project-info p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.8; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.project-tags span { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--accent); background: var(--accent-light); font-size: 11px; font-weight: 700; }

/* Interactive Project Action Buttons */
.project-card-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.project-action-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  border-radius: 5px; font-size: 12px; font-weight: 700; transition: all .22s ease;
}
.project-action-btn.primary { background: var(--accent); color: #fff; }
.project-action-btn.primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.project-action-btn.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-strong); }
.project-action-btn.secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.project-badge-tag { color: var(--text-muted-2); font-size: 11px; font-weight: 700; }

.project-note { margin: 28px 0 0; color: var(--text-muted-2); font-size: 12px; line-height: 1.8; }
.project-note strong { color: var(--accent); }

/* Experience & Milestones Section */
.experience-section { padding: 110px 0; border-top: 1px solid var(--line); background: var(--bg); }
.experience-timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--line-strong); display: grid; gap: 38px; }
.experience-item { position: relative; }
.experience-item .timeline-dot {
  position: absolute; top: 4px; left: -39px; width: 14px; height: 14px;
  border: 3px solid var(--panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--accent);
}
.experience-date { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.experience-item h3 { margin: 10px 0 6px; color: var(--text); font: 800 20px var(--font-display); letter-spacing: -.02em; }
.experience-role { color: var(--text-muted-2); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.experience-item p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.85; }
.experience-deliveries { margin: 10px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.experience-deliveries li { margin-bottom: 5px; }

/* Education Section */
.education-section { padding: 110px 0; border-block: 1px solid var(--line); background: var(--panel); }
.education-timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--line-strong); display: grid; gap: 36px; }
.education-item { position: relative; }
.education-item .timeline-dot {
  position: absolute; top: 4px; left: -39px; width: 14px; height: 14px;
  border: 3px solid var(--panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--accent);
}
.education-overline { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.education-item h3 { margin: 10px 0 6px; color: var(--text); font: 800 22px var(--font-display); letter-spacing: -.02em; }
.education-item p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.education-foot { display: block; margin-top: 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }

/* Contact Section & Form */
.contact-section { position: relative; overflow: hidden; padding: 110px 0; background: var(--bg-soft); }
.contact-glow { position: absolute; top: -280px; right: -100px; width: 650px; height: 650px; border: 1px solid var(--line); border-radius: 50%; animation: orbit-breathe 8s ease-in-out infinite; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 75px; }

.contact-channels { display: grid; gap: 16px; margin-top: 32px; }
.channel-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); transition: all .25s ease;
}
.channel-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.channel-info small { display: block; color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .15em; margin-bottom: 4px; }
.channel-info strong { color: var(--text); font-size: 14px; font-weight: 700; }
.channel-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 5px; font-size: 12px; font-weight: 700; background: var(--accent-light); color: var(--accent); border: 1px solid var(--line-strong);
}
.channel-card:hover .channel-btn { background: var(--accent); color: #fff; }

/* Direct Contact Form */
.contact-form-card {
  padding: 34px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--panel); box-shadow: var(--shadow-card);
}
.contact-form-card h3 { margin: 0 0 8px; color: var(--text); font: 800 24px var(--font-display); letter-spacing: -.03em; }
.contact-form-card p { margin: 0 0 24px; color: var(--text-muted); font-size: 13px; line-height: 1.7; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full-width { grid-column: 1 / -1; margin-bottom: 16px; }
.form-field label { color: var(--text); font-size: 12px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg); color: var(--text); font: 13px var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-feedback {
  display: none; padding: 12px 16px; border-radius: 6px; background: var(--accent-light);
  border: 1px solid var(--accent); color: var(--accent-dark); font-size: 13px; font-weight: 700; margin-top: 14px;
}
.form-feedback.is-visible { display: block; animation: hero-copy-in .4s ease; }

/* Site Footer */
.site-footer {
  min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); background: var(--panel);
}
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-links a { color: var(--text-muted); font-size: 12px; font-weight: 700; transition: color .2s ease; }
.footer-links a:hover { color: var(--accent); }
.site-footer p, .site-footer > span { margin: 0; color: var(--text-muted-2); font-size: 12px; }

/* Back to Top Control */
.back-to-top {
  position: fixed; right: 25px; bottom: 25px; z-index: 50; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%;
  color: #fff; background: var(--accent); box-shadow: 0 8px 24px rgba(22, 132, 91, .3);
  font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

/* Reveal Animation */
.js-ready .reveal { opacity: 0; transform: translateY(27px); transition: opacity .72s cubic-bezier(.2,.7,.2,1), transform .72s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-ready .reveal-delay-1 { transition-delay: .12s; }
.js-ready .reveal-delay-2 { transition-delay: .22s; }

/* Keyframes */
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(27px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-visual-in { from { opacity: 0; transform: translateY(25px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse-ring { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes orbit-breathe { 0%, 100% { opacity: .6; scale: 1; } 50% { opacity: 1; scale: 1.035; } }
@keyframes orbit-spin { to { rotate: 360deg; } }
@keyframes ambient-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 55px, 0) scale(1.12); } }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }

/* Illustrated Stages for Academic & Visual Projects (Zero 404 network errors) */
.cuda-visual { background: linear-gradient(135deg, var(--bg-soft), var(--panel)); }
.cuda-stage { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.pixel-grid { display: grid; grid-template-columns: repeat(3, 24px); gap: 4px; transform: rotate(-7deg); }
.pixel-grid i { width: 24px; height: 24px; border-radius: 4px; background: #8cbda1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pixel-grid i:nth-child(2n){ background: #b4d5c0; }
.pixel-grid i:nth-child(3n){ background: #5a9877; }
.pixel-grid-after { transform: rotate(7deg); }
.pixel-grid-after i { background: #7fb092; }
.pixel-grid-after i:nth-child(2n){ background: #a9cfb8; }
.pixel-grid-after i:nth-child(3n){ background: #9bc3ac; }
.cuda-arrow { color: var(--accent); font-size: 24px; }
.cuda-stage > b { flex-basis: 100%; text-align: center; color: var(--text-muted); font-size: 11px; letter-spacing: .16em; margin-top: 8px; }

.ml-visual { background: linear-gradient(135deg, var(--bg-soft), var(--panel)); }
.ml-stage { position: relative; width: 80%; max-width: 430px; padding: 24px 18px 18px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow-soft); }
.ml-axis { position: absolute; inset: 25px 18px 39px; display: flex; justify-content: space-between; }
.ml-axis i { width: 1px; background: var(--line); }
.ml-stage svg { position: relative; z-index: 1; width: 100%; height: auto; }
.ml-stage > span { display: block; margin-top: 6px; color: var(--text-muted-2); font-size: 10px; font-weight: 800; letter-spacing: .17em; }

.code-window { width: 80%; max-width: 420px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #162220; box-shadow: var(--shadow-card); }
.code-bar { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1e2e2b; }
.code-bar i { width: 6px; height: 6px; border-radius: 50%; background: #91bca5; }
.code-bar span { margin-left: auto; color: #b1c6bb; font-size: 11px; }
.code-window pre { margin: 0; padding: 18px 20px; color: #d7e8dc; font: 11px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-window pre b { color: #80d6a5; }
.code-window pre em { color: #b5d5ed; font-style: normal; }

.erd-stage { position: relative; width: 84%; max-width: 440px; height: 200px; }
.erd-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.erd-stage svg path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 4; }
.erd-node {
  position: absolute; z-index: 2; min-width: 95px; padding: 9px 8px;
  border: 1px solid var(--line-strong); border-radius: 5px; color: var(--accent);
  background: var(--panel); box-shadow: var(--shadow-soft); text-align: center;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
}
.erd-customer { top: 12px; left: 0; }
.erd-appointment { top: 12px; left: 50%; transform: translateX(-50%); }
.erd-service { top: 12px; right: 0; }
.erd-staff { bottom: 12px; left: 18%; }
.erd-inventory { right: 18%; bottom: 12px; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero { gap: 32px; min-height: 700px; }
  .about-section, .expertise-inner, .education-inner, .experience-inner, .contact-inner { gap: 48px; }
  .project-grid { gap: 20px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  .section-shell { width: min(100% - 36px, 560px); }
  .site-header { min-height: 72px; padding-inline: 18px; }
  
  .menu-toggle {
    width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); cursor: pointer;
  }
  .menu-toggle span { width: 18px; height: 2px; background: var(--text); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px 22px 24px; border-bottom: 1px solid var(--line); background: var(--header-bg);
    box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-contact { margin-top: 14px; text-align: center; }

  .hero { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding-top: 48px; padding-bottom: 70px; }
  .hero-copy { text-align: left; }
  h1 { font-size: clamp(52px, 14vw, 76px); }
  .hero-meta { margin-top: 36px; gap: 18px; }
  .hero-visual { min-height: 440px; margin-top: 10px; }
  .portrait-card { width: min(310px, 80%); height: 380px; }
  .orbit-a { width: 360px; height: 360px; }
  .orbit-b { width: 420px; height: 420px; }

  .section { padding-top: 80px; padding-bottom: 85px; }
  .about-section, .expertise-inner, .education-inner, .experience-inner, .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .tech-stack { grid-template-columns: 1fr; gap: 20px; }
  .tech-group { grid-template-columns: 1fr; gap: 8px; }

  .projects-heading { display: block; margin-bottom: 24px; }
  .projects-intro { margin-top: 14px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual { height: 230px; min-height: 230px; }
  
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }

  .site-footer { flex-direction: column; text-align: center; gap: 14px; padding-block: 28px; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-ready .reveal { opacity: 1; transform: none; }
  .pointer-glow { display: none; }
}


/* =============================================================
   NEW FEATURES — Added November 2026
   ============================================================= */

/* ---- Page Loader / Splash Screen ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity .55s ease, visibility .55s ease;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader-logo {
  font: 800 56px/1 var(--font-display);
  letter-spacing: -.07em;
  color: var(--text);
}
.loader-logo span { color: var(--accent); }
.loader-bar {
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-2));
  border-radius: 3px;
  animation: loader-fill .9s cubic-bezier(.4,0,.2,1) .1s forwards;
}
@keyframes loader-fill { to { width: 100%; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }.loader-text {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  animation: fadeIn .5s ease .3s both;
}

/* ---- Hire / Availability Badge ---- */
.hire-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(22,132,91,.35);
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  white-space: nowrap;
  cursor: default;
}
.hire-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-hire 2s ease-in-out infinite;
}
@keyframes pulse-hire {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,132,91,.5); }
  50% { box-shadow: 0 0 0 5px rgba(22,132,91,0); }
}

/* ---- Language Toggle ---- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: all .25s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.lang-toggle.si-active .lang-en { color: var(--text-muted-2); }
.lang-toggle.si-active .lang-si { color: var(--accent); }
.lang-divider { color: var(--line-strong); }
body.lang-si .en-text { display: none !important; }
body.lang-si .si-text { display: inline !important; }
body.lang-en .si-text { display: none !important; }

/* ---- Hero Particles Canvas ---- */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
[data-theme="dark"] .hero-particles { opacity: .7; }

/* ---- Stats Section ---- */
.stats-section {
  padding: 32px 0 48px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.stat-number {
  font: 800 clamp(42px, 5vw, 60px)/1 var(--font-display);
  color: var(--accent);
  letter-spacing: -.05em;
}
.stat-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---- Services Section ---- */
.services-section { padding-top: 100px; padding-bottom: 85px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.service-icon { font-size: 36px; line-height: 1; }
.service-card h3 { margin: 0; color: var(--text); font: 700 20px/1.2 var(--font-display); letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; }
.service-features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-features li {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: all .25s ease;
  align-self: flex-start;
}
.service-cta:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---- Certifications Section ---- */
.certifications-section { padding-top: 100px; padding-bottom: 85px; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent);
}
.cert-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.cert-body { flex: 1; }
.cert-issuer { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.cert-title { margin: 0 0 6px; color: var(--text); font: 700 16px/1.3 var(--font-display); }
.cert-desc { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.cert-year {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text-muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* ---- Testimonials Section ---- */
.testimonials-section { padding-top: 100px; padding-bottom: 85px; }
.testimonials-track-wrap { position: relative; overflow: hidden; margin-top: 52px; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  position: relative;
}
.testimonial-quote {
  font-size: 64px;
  line-height: .8;
  color: var(--accent);
  font-family: Georgia, serif;
  opacity: .35;
}
.testimonial-text { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.8; font-style: italic; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 13px/1 var(--font-display);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.testimonial-author span { color: var(--text-muted-2); font-size: 12px; }
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.t-prev, .t-next {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text-muted);
  font-size: 18px;
  transition: all .25s ease;
}
.t-prev:hover, .t-next:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.1); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  border: none;
  padding: 0;
}
.t-dot.is-active { background: var(--accent); transform: scale(1.3); }

/* ---- Image Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  cursor: zoom-out;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all .25s ease;
  display: grid;
  place-items: center;
}
.lightbox-close:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: scale(1.1); }
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.8);
  object-fit: contain;
  cursor: default;
  animation: lightbox-in .3s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes lightbox-in { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-caption {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
}
/* Make project photos clickable */
.project-photo { cursor: zoom-in; }

/* ---- Responsive for new sections ---- */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
  .hire-badge { display: none; }
  .lang-toggle { padding: 6px 9px; font-size: 10px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .services-section, .certifications-section, .testimonials-section { padding-top: 72px; padding-bottom: 60px; }
  .services-grid, .certs-grid { margin-top: 36px; }
  .testimonials-track-wrap { margin-top: 36px; }
}
