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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

img {
  max-width: 100%;
  display: block;
}

/* ─── UTILITIES ─── */
.u-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.u-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-padding {
  padding: clamp(4rem, 10vw, 10rem) 0;
}

.section-padding-sm {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

/* Theme sections - use CSS variables for proper theming */
.u-theme-dark {
  background: var(--dark);
  color: var(--light);
}

.u-theme-dark * {
  --text: var(--light);
  --text-muted: rgba(243, 235, 228, 0.6);
}

.u-theme-dark-alt {
  background: var(--dark-secondary);
  color: var(--light);
}

.u-theme-dark-alt * {
  --text: var(--light);
  --text-muted: rgba(243, 235, 228, 0.6);
}

.u-theme-light {
  background: var(--light-secondary);
  color: var(--dark);
  --bg: var(--light-secondary);
  --bg-alt: var(--light);
  --card-bg: var(--light);
  --card-border: var(--border-light);
  --input-bg: rgba(24, 19, 18, 0.04);
  --nav-bg: rgba(216, 205, 188, 0.92);
  --text-secondary: rgba(24, 19, 18, 0.75);
}

.u-theme-light * {
  --text: var(--dark);
  --text-muted: rgba(24, 19, 18, 0.6);
}

/* Light-theme component tuning for better visibility and aesthetics */
.u-theme-light .skill-card,
.u-theme-light .skill-card-featured,
.u-theme-light .experience-card-new,
.u-theme-light .stat-card,
.u-theme-light .blog-card,
.u-theme-light .project-card,
.u-theme-light .philosophy-card {
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.06);
  border: 1px solid rgba(16, 24, 32, 0.06);
}

.u-theme-light .skill-card h3,
.u-theme-light .experience-header h3,
.u-theme-light .section-heading {
  color: rgba(24, 19, 18, 0.95);
}

.u-theme-light .skill-tag,
.u-theme-light .project-card-tags span {
  color: rgba(24, 19, 18, 0.75);
  border-color: rgba(24, 19, 18, 0.06);
  background: rgba(24, 19, 18, 0.02);
}

.u-theme-light .skill-card-featured {
  background: rgba(252, 170, 45, 0.04);
  border-color: rgba(252, 170, 45, 0.12);
}

.u-theme-light .highlight-item p {
  color: rgba(24, 19, 18, 0.85);
}

.u-theme-light .about-text {
  background: linear-gradient(135deg, rgba(252, 170, 45, 0.04) 0%, rgba(252, 170, 45, 0.01) 100%);
  border: 1px solid rgba(252, 170, 45, 0.1);
}

.u-theme-light .about-text p {
  color: rgba(24, 19, 18, 0.9);
}

.u-theme-light .about-text strong {
  color: var(--brand);
}

.u-theme-light .skill-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.u-theme-light .skill-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.u-theme-light .experience-card-new {
  background: var(--card-bg);
  border: 1px solid rgba(24, 19, 18, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.u-theme-light .experience-card-new:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.u-theme-light .experience-logo-large {
  background: var(--light);
  border: 1px solid rgba(24, 19, 18, 0.08);
}

.u-theme-light .experience-wrapper::before {
  background: linear-gradient(180deg, rgba(252, 170, 45, 0.2) 0%, rgba(252, 170, 45, 0.03) 100%);
}

.u-theme-light .duration-badge {
  color: var(--brand);
  background: rgba(252, 170, 45, 0.1);
  border: 1px solid rgba(252, 170, 45, 0.2);
}

.u-theme-light .highlight-icon {
  background: rgba(252, 170, 45, 0.1);
}

.u-theme-light .stat-card .stat-number {
  color: var(--brand);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.4s var(--ease-out);
}

.navbar .u-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

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

.nav-logo span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─── */
.hero {
  min-height: min(95vh, 60rem);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 10rem;
  padding-bottom: 5rem;
  background: var(--dark);
  color: var(--light);
}

.hero .u-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  max-width: 60ch;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-photo img {
  width: 100%;
  max-width: 400px;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  max-width: 400px;
  height: 500px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(252, 170, 45, 0.12) 0%, transparent 70%);
  pointer-events: none;
  left: auto;
  right: 0;
  z-index: -1;
  transform: scale(1.15);
}

.photocard {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f8e5b2;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(31, 18, 2, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(84, 53, 10, 0.14);
}

.photocard-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 18px;
}

.photocard-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02) sepia(0.18);
}

.photocard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 25%);
}

.photocard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 12px 12px;
}

.photocard-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 12px 16px;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #422c11;
  text-align: left;
  background: rgba(242, 215, 142, 0.92);
  line-height: 1.2;
  border-top: 1px solid rgba(84, 53, 10, 0.15);
}

.photocard-stamp {
  position: absolute;
  bottom: 42px;
  right: 10px;
  z-index: 3;
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(180, 60, 50, 0.55);
  transform: rotate(-8deg);
  letter-spacing: 0.05em;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  color: var(--light);
}

.hero-heading .line {
  display: block;
  overflow: hidden;
}

.hero-heading .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}


.hero-desc {
  font-size: 1.125rem;
  color: rgba(243, 235, 228, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.hero-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
}

.hero-gradient-1 {
  top: -200px;
  right: -100px;
  background: var(--brand);
}

.hero-gradient-2 {
  bottom: -200px;
  left: 10%;
  background: #8b5e3c;
}

/* ─── HERO ENTRANCE ANIMATIONS (Framer Motion style) ─── */
.hero-skills-strip .skill-tag {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
}

.hero-social a {
  opacity: 0;
  transform: translateY(12px) scale(0.8);
}

.hero-stats .hero-stat-item {
  opacity: 0;
  transform: translateY(24px);
}

.hero-photo {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
}

/* ─── HERO HOVER EFFECTS ─── */
.hero-skills-strip .skill-tag {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  cursor: default;
}

.hero-skills-strip .skill-tag:hover {
  background: rgba(252, 170, 45, 0.25) !important;
  border-color: rgba(252, 170, 45, 0.6) !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 24px rgba(252, 170, 45, 0.2);
}

.hero-social a {
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.hero-social a:hover {
  transform: translateY(-4px) scale(1.15) !important;
  color: var(--brand) !important;
  filter: drop-shadow(0 4px 12px rgba(252, 170, 45, 0.3));
}

.hero-photo {
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}

.hero-photo:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

.hero-photo img {
  transition: border-radius 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}

.hero-photo:hover img {
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(252, 170, 45, 0.15);
}

.hero-photo::before {
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}

.hero-photo:hover::before {
  transform: scale(1.25);
  opacity: 0.9;
}

.hero-stats .hero-stat-item {
  transition: transform 0.4s var(--ease-out);
}

.hero-stats .hero-stat-item:hover {
  transform: translateY(-6px) !important;
}

.hero-stats .hero-stat-item:hover .hero-stat-number {
  transform: scale(1.1);
}

.hero-stats .hero-stat-number {
  transition: transform 0.3s var(--ease-out);
}

.hero-cta .btn {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(252, 170, 45, 0.25);
}

.hero-cta .btn:active {
  transform: translateY(-1px);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  padding: 1rem 2.25rem;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  color: var(--light);
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  padding: 1rem 2.25rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#certifications .section-eyebrow {
  color: var(--dark);
  font-weight: 700;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 50ch;
  color: var(--text);
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 48ch;
  margin-top: 1.25rem;
  letter-spacing: 0.005em;
}

.section-desc.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ─── STATS ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  border-left: 1.5px solid var(--card-border);
  padding-left: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.stat-item:hover {
  border-left-color: var(--brand);
  transform: translateX(4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--brand);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  transition: color 0.3s var(--ease-out);
}

.stat-item:hover .stat-label {
  color: var(--text);
}

/* ─── SPLIT SECTION ─── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.split-content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  letter-spacing: 0.005em;
}

/* ─── PROJECT CARDS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
  gap: 2.5rem;
}

.project-card {
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 26rem;
}

.project-card:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--brand);
}

.project-card-visual {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-card-visual {
  border-color: var(--brand);
  background: rgba(252, 170, 45, 0.06);
}

.project-card-icon {
  width: 56px;
  height: 56px;
  color: var(--brand);
  opacity: 0.6;
  transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-card-icon {
  opacity: 1;
  transform: scale(1.1);
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-card-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-card-stars {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.project-card-stars svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

.project-card:hover h3 {
  color: var(--brand);
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-card-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.875rem;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.project-card:hover .project-card-tags span {
  border-color: rgba(252, 170, 45, 0.4);
  color: var(--brand);
}

.project-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  margin-top: 1rem;
  transition: all 0.35s var(--ease-out);
}

.project-card:hover .project-card-arrow {
  transform: translateX(4px);
}

.project-card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.project-card:hover .project-card-arrow svg {
  transform: translateX(4px);
}

/* ─── EXPERIENCE ─── */
.experience-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  transition: all 0.4s var(--ease-out);
}

.experience-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.experience-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  transition: transform 0.3s var(--ease-out);
}

.experience-card:hover .experience-logo {
  transform: scale(1.05);
}

.experience-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.experience-company {
  font-size: 1.0625rem;
  color: var(--brand);
  font-weight: 500;
}

.experience-date {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.experience-details {
  margin-top: 1.5rem;
}

.experience-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.experience-details li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.experience-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ─── PHILOSOPHY ─── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.philosophy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.philosophy-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}

.philosophy-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--brand);
  opacity: 0.5;
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.philosophy-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  gap: 2rem;
}

.blog-card {
  padding: 1.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  transition: all 0.4s var(--ease-out);
  display: block;
}

.blog-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-card-label svg {
  width: 14px;
  height: 14px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

.blog-card:hover h3 {
  color: var(--brand);
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-card-read {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease-out);
}

.blog-card:hover .blog-card-read {
  gap: 0.75rem;
}

.blog-card-read svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.blog-card:hover .blog-card-read svg {
  transform: translateX(4px);
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 8rem);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-info>p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out);
  background: var(--card-bg);
}

.contact-link:hover {
  border-color: var(--brand);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(252, 170, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.contact-link:hover .contact-link-icon {
  background: var(--brand);
  color: var(--dark);
  transform: scale(1.05);
}

.contact-link-icon svg {
  width: 18px;
  height: 18px;
}

.contact-link-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(252, 170, 45, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ─── CTA SECTION ─── */
.cta-section {
  text-align: center;
}

.cta-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand {
  max-width: 30ch;
}

.footer-brand .nav-logo {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  padding-bottom: 2rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.footer-socials a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(252, 170, 45, 0.15);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

/* ─── ABOUT SECTION ─── */
.about-intro-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-top: 1.5rem;
  letter-spacing: 0.005em;
}

.about-intro-body {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 1.25rem;
  letter-spacing: 0.008em;
}

.about-intro-body strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-photo {
    max-width: 300px;
    margin: 2rem auto 0;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3rem;
    align-items: flex-start;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

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

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

  .stats-grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .experience-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid-new {
    grid-template-columns: 1fr;
  }

  .form-row-new {
    grid-template-columns: 1fr;
  }
}

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

  .stat-item {
    border-left: none;
    border-top: 1px solid var(--card-border);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* ─── STATS GRID ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-card-inner {
  display: flex;
  flex-direction: column;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(252, 170, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1.25rem;
  transition: all 0.3s var(--ease-out);
}

.stat-card:hover .stat-icon {
  background: var(--brand);
  color: var(--dark);
  transform: scale(1.05);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(243, 235, 228, 0.55);
  margin-bottom: 0.25rem;
}

.stat-card .stat-sub {
  font-size: 0.75rem;
  color: rgba(243, 235, 228, 0.35);
  margin-bottom: 1rem;
  font-style: italic;
}

.stat-bar {
  height: 3px;
  background: rgba(243, 235, 228, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
}

.stat-card:hover .stat-bar-fill {
  background: var(--light);
}

/* ─── SKILLS GRID ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
}

.skill-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.skill-card-featured {
  border-color: rgba(252, 170, 45, 0.3);
  background: rgba(252, 170, 45, 0.03);
}

.skill-card-featured:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(252, 170, 45, 0.1);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(252, 170, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.skill-card:hover .skill-card-icon {
  background: var(--brand);
  color: var(--dark);
}

.skill-card-icon svg {
  width: 22px;
  height: 22px;
}

.skill-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

.skill-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-size: 0.8125rem;
  padding: 0.4rem 0.875rem;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.skill-card:hover .skill-tag {
  border-color: rgba(252, 170, 45, 0.3);
  color: var(--text);
}

.skill-tag-featured {
  border-color: rgba(252, 170, 45, 0.3);
  color: var(--brand);
  background: rgba(252, 170, 45, 0.06);
  font-weight: 500;
}

.skill-card:hover .skill-tag-featured {
  background: rgba(252, 170, 45, 0.12);
  border-color: var(--brand);
}

/* ─── EXPERIENCE NEW ─── */
/* ─── ABOUT SECTION PREMIUM ─── */
.about-intro {
  max-width: 800px;
  margin: 0 auto 5rem;
}

.about-intro .section-eyebrow {
  margin-bottom: 1rem;
}

.about-intro .section-heading {
  margin-bottom: 2rem;
}

.about-text {
  position: relative;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(252, 170, 45, 0.03) 0%, rgba(252, 170, 45, 0.01) 100%);
  border: 1px solid rgba(252, 170, 45, 0.08);
  border-radius: var(--radius-md);
}

.about-text::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--brand);
  opacity: 0.15;
  line-height: 1;
}

.about-text p {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.9;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--brand);
  font-weight: 600;
}

/* ─── SKILL CARDS PREMIUM ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(252, 170, 45, 0.2);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(252, 170, 45, 0.12) 0%, rgba(252, 170, 45, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.skill-card-icon svg {
  width: 24px;
  height: 24px;
}

.skill-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.skill-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── EXPERIENCE SECTION PREMIUM ─── */
.experience-wrapper {
  max-width: 900px;
  position: relative;
}

.experience-wrapper::before {
  content: '';
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(252, 170, 45, 0.3) 0%, rgba(252, 170, 45, 0.05) 100%);
}

.experience-card-new {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 3rem;
  padding: 2.5rem;
  padding-left: 1rem;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out);
  position: relative;
  margin-bottom: 1.5rem;
}

.experience-card-new:last-child {
  margin-bottom: 0;
}

.experience-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(252, 170, 45, 0.2);
}

.experience-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.experience-logo-large {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.experience-card-new:hover .experience-logo-large {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(252, 170, 45, 0.15);
  border-color: rgba(252, 170, 45, 0.3);
}

.experience-duration {
  text-align: center;
}

.duration-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(252, 170, 45, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 170, 45, 0.15);
}

.experience-right {
  display: flex;
  flex-direction: column;
}

.experience-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.experience-header .experience-company {
  font-size: 1rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.experience-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.experience-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.experience-meta svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  opacity: 0.7;
}

.experience-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(252, 170, 45, 0.06);
  transition: all 0.3s var(--ease-out);
}

.highlight-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.highlight-item:hover {
  padding-left: 0.5rem;
}

.highlight-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(252, 170, 45, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-top: 2px;
}

.highlight-icon svg {
  width: 14px;
  height: 14px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .experience-wrapper::before {
    display: none;
  }

  .experience-card-new {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .experience-left {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }

  .experience-logo-large {
    width: 56px;
    height: 56px;
  }

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

/* ─── CONTACT NEW ─── */
.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-name-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.contact-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  flex-shrink: 0;
}

.contact-links-new {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link-new {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--dark-secondary);
  transition: all 0.35s var(--ease-out);
}

.contact-link-new:hover {
  border-color: var(--brand);
  transform: translateX(6px);
}

.contact-link-icon-new {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(252, 170, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.contact-link-new:hover .contact-link-icon-new {
  background: var(--brand);
  color: var(--dark);
}

.contact-link-icon-new svg {
  width: 18px;
  height: 18px;
}

.contact-link-label-new {
  font-size: 0.75rem;
  color: rgba(243, 235, 228, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-text-new {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light);
}

.contact-link-arrow {
  width: 18px;
  height: 18px;
  color: rgba(243, 235, 228, 0.3);
  margin-left: auto;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.contact-link-new:hover .contact-link-arrow {
  color: var(--brand);
  transform: translateX(4px);
}

.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.form-row-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-new {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-new label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light);
}

.form-group-new input,
.form-group-new textarea {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-dark);
  background: var(--dark-secondary);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
  color: rgba(243, 235, 228, 0.35);
}

.form-group-new input:focus,
.form-group-new textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(252, 170, 45, 0.1);
}

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

/* ─── OPEN SOURCE STATS ─── */
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── CERTIFICATIONS ─── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cert-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.4s var(--ease-out);
}

.cert-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.cert-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cert-card-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(252, 170, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.cert-card:hover .cert-card-logo {
  background: var(--brand);
  color: var(--dark);
}

.cert-card-logo svg {
  width: 20px;
  height: 20px;
}

.cert-card-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.cert-card-issuer {
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 600;
}

.cert-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cert-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cert-card-skills span {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.cert-card:hover .cert-card-skills span {
  border-color: rgba(252, 170, 45, 0.3);
  color: var(--text);
}

.u-theme-light .cert-card {
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.06);
  border: 1px solid rgba(16, 24, 32, 0.06);
}

.u-theme-light .cert-card-skills span {
  color: rgba(24, 19, 18, 0.75);
  border-color: rgba(24, 19, 18, 0.06);
  background: rgba(24, 19, 18, 0.02);
}

/* ─── FAQ SECTION ─── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.faq-answer ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-answer ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 600;
}

.faq-answer ul li strong {
  color: var(--brand);
  font-weight: 600;
}

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

.u-theme-light .faq-item {
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.06);
  border: 1px solid rgba(16, 24, 32, 0.06);
}

.u-theme-light .faq-question {
  color: rgba(24, 19, 18, 0.95);
}

.u-theme-light .faq-answer {
  color: rgba(24, 19, 18, 0.65);
}

.u-theme-light .faq-answer ul li {
  color: rgba(24, 19, 18, 0.65);
}

.u-theme-light .faq-answer ul li strong {
  color: var(--brand);
}

/* ═══════════════════════════════════════════════
   PREMIUM FEATURES
   ═══════════════════════════════════════════════ */

/* ─── 1. SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #fcd34d);
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(252, 170, 45, 0.5);
}

/* ─── 2. CURSOR FOLLOWER ─── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s var(--ease-out), opacity 0.3s;
  opacity: 0;
  mix-blend-mode: difference;
}

.cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(252, 170, 45, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s, height 0.3s;
  opacity: 0;
}

.cursor-dot.active,
.cursor-glow.active {
  opacity: 1;
}

.cursor-glow.hover {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(252, 170, 45, 0.4) 0%, transparent 70%);
}

/* ─── 3. PROJECT CARD TILT ─── */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card-visual {
  transition: transform 0.4s var(--ease-out);
}

.project-card:hover .project-card-visual {
  transform: translateZ(20px);
}

/* ─── 4. SCROLL-TO-TOP ─── */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid rgba(252, 170, 45, 0.3);
  color: var(--brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--brand);
  color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(252, 170, 45, 0.4);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ─── 5. NAVBAR BLUR ─── */
.navbar.scrolled {
  background: rgba(24, 19, 18, 0.85) !important;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(252, 170, 45, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.u-theme-light .navbar.scrolled {
  background: rgba(245, 240, 232, 0.85) !important;
}

/* ─── 6. TEXT REVEAL ─── */
.hero-heading .line-inner {
  position: relative;
  display: inline-block;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.25em;
}

.word {
  display: inline-block;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

/* ─── 7. ANIMATED COUNTERS ─── */
.hero-stat-number {
  display: inline-block;
}

.hero-stat-number.counting {
  animation: countPulse 0.3s ease-in-out;
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ─── 8. PARALLAX HERO ─── */
.hero-bg {
  will-change: transform;
}

/* ═══════════════════════════════════════════════
   UI/UX POLISH
   ═══════════════════════════════════════════════ */

/* Smooth section transitions */
section {
  position: relative;
}

/* Better focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Better scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(252, 170, 45, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(252, 170, 45, 0.5);
}

/* Selection color */
::selection {
  background: rgba(252, 170, 45, 0.3);
  color: var(--text);
}

/* Smooth hover transitions for all interactive elements */
.btn,
.project-card,
.experience-card-new,
.faq-item,
.skill-card,
.cert-card,
.stat-card {
  will-change: transform, box-shadow;
}

/* Section divider lines */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--brand);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* Better mobile touch targets */
@media (max-width: 768px) {
  .nav-links a,
  .btn,
  .theme-toggle,
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }

  .hero-skills-strip .skill-tag {
    padding: 0.5rem 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .chat-fab,
  .chat-panel,
  .scroll-top-btn,
  .cursor-dot,
  .cursor-glow,
  .scroll-progress,
  .hero-bg {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}