:root {
  /* ── Color Scheme: Warm Red / Black ── */
  /* Backgrounds */
  --clr-bg: #0a0a0a;
  /* near-black */
  --clr-bg-alt: #0f0f0f;
  /* sections alternate */
  --clr-surface: #161616;
  /* card background */
  --clr-surface-2: #1c1c1c;
  /* hover / elevated surface */

  /* Borders */
  --clr-border: rgba(255, 255, 255, 0.06);
  --clr-border-hl: rgba(230, 57, 70, 0.32);

  /* Text */
  --clr-text: #f0eded;
  --clr-text-dim: #a19a9a;
  --clr-text-muted: #6b6363;

  /* Primary accent — warm red */
  --clr-accent: #e63946;
  --clr-accent-2: #ff6b6b;
  --clr-accent-glow: rgba(230, 57, 70, 0.28);

  /* Secondary highlight — golden-orange for hover pops */
  --clr-highlight: #f4845f;
  --clr-highlight-glow: rgba(244, 132, 95, 0.22);

  /* Gradients */
  --gradient-hero: linear-gradient(155deg, #0a0a0a 0%, #1a0a0a 45%, #0a0a0a 100%);
  --gradient-accent: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-card: linear-gradient(145deg, rgba(230, 57, 70, 0.06), transparent 60%);

  /* Typography */
  --ff-heading: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Spacing & sizing */
  --container-max: 1200px;
  --nav-height: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Spacing scale */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--clr-bg);
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

/* Light-theme portfolio: override dark body/html background */
.hero--light ~ * ,
.hero--light {
  /* no override needed here — handled per-section */
}

/* Ensure the page root shows white between light sections */
body:has(.hero--light) {
  background-color: #fff;
}

html:has(.hero--light) {
  background-color: #fff;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section {
  padding: var(--sp-3xl) 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section__header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.section__tag {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(230, 57, 70, 0.08);
  padding: 6px 20px;
  border-radius: 50px;
  border: 1px solid rgba(230, 57, 70, 0.12);
  margin-bottom: var(--sp-md);
}

.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section__divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-highlight));
  border-radius: 4px;
  margin: 0 auto var(--sp-lg);
}

.section__subtitle {
  max-width: 540px;
  margin: 0 auto;
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  /* Ensure it's perfectly flush with the top */
  transform: translate3d(0, 0, 0);
}

.navbar.scrolled {
  background: rgba(253, 252, 250, 0.94);
  /* Warm bone-white thematic tint */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(230, 57, 70, 0.08);
  box-shadow:
    0 4px 20px -5px rgba(0, 0, 0, 0.05),
    0 1px 1px rgba(0, 0, 0, 0.02);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 1001;
}

.logo__img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.logo__text {
  color: #fff;
}

.navbar__links {
  display: flex;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text-dim);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active,
.navbar.scrolled .nav-link.active {
  background: rgba(232, 115, 74, 0.15);
  /* orange semi-transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e8734a;
  /* orange */
}

.nav-link.active::after,
.navbar.scrolled .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: #e8734a;
  border-radius: 2px;
}

.navbar.scrolled .nav-link {
  color: #444;
}

.navbar.scrolled .nav-link:hover {
  color: #000;
}

.navbar.scrolled .logo__text {
  color: #1a1a1a;
}

.navbar.scrolled .toggle-bar {
  background: #1a1a1a;
}

/* Mobile toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 57, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-2xl);
  align-items: center;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.hero__left {
  padding: var(--sp-2xl) 0;
}

/* Availability badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: var(--sp-lg);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
  color: #fff;
  letter-spacing: -1px;
}

.title__name {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero__subtitle {
  font-family: var(--ff-heading);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--clr-accent-2);
  margin-bottom: var(--sp-lg);
  min-height: 2rem;
}

.typed-cursor {
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero__description {
  max-width: 520px;
  color: var(--clr-text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}

/* Hero social row */
.hero__social-row {
  display: flex;
  gap: 10px;
}

.hero-social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-social svg {
  width: 18px;
  height: 18px;
}

.hero-social:hover {
  color: var(--clr-accent-2);
  border-color: var(--clr-border-hl);
  transform: translateY(-2px);
}

/* Profile image */
.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  width: clamp(280px, 26vw, 380px);
  height: clamp(280px, 26vw, 380px);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(230, 57, 70, 0.25);
}

.hero__image-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(230, 57, 70, 0.25);
  animation: spin-slow 30s linear infinite;
  z-index: 1;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero__image-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 70%);
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn__icon {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--clr-accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--clr-accent-glow), 0 0 0 1px rgba(230, 57, 70, 0.3);
}

.btn--outline {
  border: 1.5px solid var(--clr-border-hl);
  color: var(--clr-accent-2);
  background: rgba(230, 57, 70, 0.04);
}

.btn--outline:hover {
  background: rgba(230, 57, 70, 0.12);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--clr-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  animation: bounce-down 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--clr-accent);
  border-radius: 4px;
  animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--clr-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.about__text p {
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-lg);
  font-size: 0.98rem;
}

.about__intro {
  font-size: 1.05rem !important;
  color: var(--clr-text) !important;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: var(--sp-xl);
}

.stat-card {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.stat-card:hover {
  border-color: var(--clr-border-hl);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.stat-card__plus {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--clr-accent-2);
}

.stat-card__label {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Skills */
.skills__title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.3px;
}

.skills__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-dim);
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
}

.skill-chip__icon {
  width: 15px;
  height: 15px;
  color: var(--clr-accent);
}

.skill-chip:hover {
  border-color: var(--clr-border-hl);
  color: #fff;
  background: rgba(230, 57, 70, 0.06);
  transform: translateY(-2px);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  background: var(--clr-bg);
}

/* Featured project — wide card */
.project-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-xl);
  align-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-xl);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.project-featured:hover {
  border-color: var(--clr-border-hl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-featured__image {
  overflow: hidden;
  height: 100%;
}

.project-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-featured:hover .project-featured__image img {
  transform: scale(1.03);
}

.project-featured__body {
  padding: var(--sp-xl);
}

.project-featured__label {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-sm);
}

.project-featured__title {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.5px;
}

.project-featured__desc {
  background: rgba(230, 57, 70, 0.05);
  border-radius: var(--radius-sm);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.project-featured__desc p {
  color: var(--clr-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-featured__links {
  display: flex;
  gap: 20px;
  margin-top: var(--sp-lg);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text-dim);
  transition: color var(--transition);
}

.project-link svg {
  width: 16px;
  height: 16px;
}

.project-link:hover {
  color: var(--clr-accent-2);
}

/* Project grid — smaller cards */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.project-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.project-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.overlay__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid var(--clr-border-hl);
  border-radius: 50%;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}

.overlay__btn:hover {
  background: var(--clr-accent);
  transform: scale(1.1);
}

.overlay__btn svg {
  width: 18px;
  height: 18px;
}

.project-card__body {
  padding: var(--sp-lg);
}

.project-card__title {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.project-card__desc {
  color: var(--clr-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--clr-accent-2);
  border: 1px solid rgba(230, 57, 70, 0.12);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--clr-bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text-dim);
  margin-bottom: 8px;
}

.form-input-wrap {
  position: relative;
}

.form-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--clr-text-muted);
  pointer-events: none;
  transition: color var(--transition);
}

.form-icon--textarea {
  top: 18px;
  transform: none;
}

.form-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}

.form-input-wrap:focus-within .form-icon {
  color: var(--clr-accent);
}

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

/* Validation states */
.form-input.input--error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-input.input--ok {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-error {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 5px;
  padding-left: 2px;
  line-height: 1.4;
}

/* Shake animation for failed submit */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-6px);
  }

  30% {
    transform: translateX(6px);
  }

  45% {
    transform: translateX(-4px);
  }

  60% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-2px);
  }

  90% {
    transform: translateX(2px);
  }
}

.btn--shake {
  animation: shake 0.6s ease;
}

/* Send-another button inside the success panel */
.btn--send-another {
  margin-top: var(--sp-lg);
}

.btn--submit {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
}

/* Contact info cards */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.info-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 20px var(--sp-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.info-card:hover {
  border-color: var(--clr-border-hl);
  transform: translateX(4px);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--clr-accent);
  flex-shrink: 0;
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
}

.info-card__title {
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.info-card__value {
  color: var(--clr-text);
  font-size: 0.92rem;
}

/* Socials */
.contact__socials {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-sm);
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-dim);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

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

.social-link:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px var(--clr-accent-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.footer__heart {
  color: #ef4444;
  display: inline-block;
  animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.footer__back-to-top {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-dim);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer__back-to-top:hover {
  background: var(--gradient-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__back-to-top svg {
  width: 16px;
  height: 16px;
}

/* Footer social icons */
.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__social-link:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: var(--clr-accent);
  transform: translateY(-2px);
}

/* ============================================================
   HERO — LIGHT VARIANT (reference design)
   ============================================================ */
.hero--light {
  background: #f9f6f2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero--light .hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-2xl);
  align-items: center;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.hero--light .hero__left {
  padding: var(--sp-2xl) 0;
}

/* Role label with line */
.hero__role-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--sp-lg);
}

.role-label__line {
  display: block;
  width: 40px;
  height: 3px;
  background: #e8734a;
  border-radius: 4px;
}

.role-label__text {
  font-family: var(--ff-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8734a;
}

/* Hero title — serif editorial */
.hero--light .hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-lg);
  color: #1a1a1a;
  letter-spacing: -1px;
}

.hero--light .title__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: #e8734a;
  -webkit-text-fill-color: #e8734a;
}

/* Description */
.hero--light .hero__description {
  max-width: 480px;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
}

.hero--light .hero__description strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Buttons — dark + outlined */
.hero--light .hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}

.btn--dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  background: #1a1a1a;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid #ccc;
  color: #1a1a1a;
  background: transparent;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.btn--outline-dark:hover {
  border-color: #1a1a1a;
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.btn--outline-dark .btn__icon {
  width: 17px;
  height: 17px;
}

/* Social row with label */
.hero--light .hero__social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-row__label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
  margin-right: 4px;
}

.hero-social--light {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: #555;
  background: #fff;
  transition: color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-social--light svg {
  width: 17px;
  height: 17px;
}

.hero-social--light:hover {
  color: #e8734a;
  border-color: #e8734a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 115, 74, 0.15);
}

/* Profile image — light version */
.hero--light .hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper--light {
  position: relative;
  width: clamp(300px, 28vw, 420px);
  height: clamp(300px, 28vw, 420px);
}

.hero__image--light {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 6px solid #fff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Orange dots decoration */
.hero__dots-decoration {
  position: absolute;
  top: -10px;
  right: -25px;
  width: 90px;
  height: 90px;
  z-index: 1;
  background-image: radial-gradient(circle, #e8734a 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  opacity: 0.5;
}

/* Scroll indicator — light */
.hero__scroll-indicator--light {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  z-index: 2;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  animation: bounce-down-light 2s ease-in-out infinite;
}

@keyframes bounce-down-light {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* Navbar on light hero — dark text by default */
.navbar:not(.scrolled) .nav-link {
  color: #555;
}

.navbar:not(.scrolled) .nav-link:hover {
  color: #1a1a1a;
}

.navbar:not(.scrolled) .logo__text {
  color: #1a1a1a;
}

.navbar:not(.scrolled) .toggle-bar {
  background: #1a1a1a;
}

/* Navbar CTA button */
.btn--nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  background: #1a1a1a;
  color: #fff;
  margin-left: 12px;
  transition: background var(--transition), transform var(--transition);
}

.btn--nav-cta:hover {
  background: #e8734a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 115, 74, 0.35);
}

.btn--nav-cta.active {
  background: #e8734a;
  color: #fff;
}

/* Navbar light mode (when hero is light and not scrolled) */
.navbar:not(.scrolled) {
  background: transparent;
}

/* ============================================================
   SHARED — Section Label & Heading (light)
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--sp-md);
}

.label__line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #e8734a;
  border-radius: 2px;
}

.label__text {
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e8734a;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.5px;
}

/* ============================================================
   ABOUT — LIGHT
   ============================================================ */
.about--light {
  background: #f9f6f2;
}

.about-light__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}

.about-light__bio p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.about-light__bio strong {
  color: #1a1a1a;
}

.about-light__bio-secondary {
  color: #888 !important;
  font-size: 0.92rem !important;
}

/* Education */
.education__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: var(--sp-lg);
}

.education__icon {
  width: 18px;
  height: 18px;
  color: #e8734a;
}

.education__timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid #eee;
}

.education__item {
  position: relative;
  margin-bottom: var(--sp-xl);
}

.education__item:last-child {
  margin-bottom: 0;
}

.education__dot {
  position: absolute;
  left: -31px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #e8734a;
  background: #f9f6f2;
}

.education__years {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8734a;
  margin-bottom: 4px;
}

.education__degree {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.education__school {
  font-size: 0.88rem;
  color: #777;
  margin-bottom: 4px;
}

.education__score {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8734a;
}

/* Skills Cards */
.skills-proficiency {
  margin-top: var(--sp-lg);
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.skill-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.skill-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.skill-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-lg);
}

.skill-card__icon {
  width: 20px;
  height: 20px;
  color: #e8734a;
}

.skill-card__title {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* Skill progress bars */
.skill-bar {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
}

.skill-bar__label {
  font-size: 0.82rem;
  color: #555;
  font-weight: 500;
}

.skill-bar__pct {
  font-size: 0.78rem;
  color: #888;
  font-weight: 600;
  text-align: right;
}

.skill-bar__track {
  grid-column: 1 / -1;
  height: 6px;
  background: #f0ecea;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.skill-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #e8734a, #f4a261);
  border-radius: 4px;
  transition: width 1s var(--ease-out);
}

/* ============================================================
   PROJECTS — LIGHT
   ============================================================ */
.projects--light {
  background: #fff;
  padding-bottom: 120px;
}

.projects-light__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-xl);
  gap: var(--sp-xl);
}

.projects-light__subtitle {
  max-width: 320px;
  color: #777;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: right;
}

/* Featured project card */
.pf-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-xl);
  transition: box-shadow var(--transition);
}

.pf-featured:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pf-featured__image {
  overflow: hidden;
}

.pf-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.pf-featured:hover .pf-featured__image img {
  transform: scale(1.03);
}

.pf-featured__body {
  padding: var(--sp-xl) var(--sp-xl) var(--sp-xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pf-featured__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-sm);
}

.pf-featured__category {
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8734a;
}

.pf-featured__year {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 500;
}

.pf-featured__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.5px;
}

.pf-featured__desc {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.pf-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-lg);
}

.pf-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid #ddd;
  color: #555;
  background: #fff;
}

.pf-tag-more {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50px;
  background: #f5f0ec;
  color: #e8734a;
}

.pf-featured__links {
  display: flex;
  gap: 24px;
}

.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: color var(--transition);
}

.pf-link svg {
  width: 16px;
  height: 16px;
}

.pf-link:hover {
  color: #e8734a;
}

/* Project grid — 4 cards horizontal */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.pf-card {
  background: #fff;
  border-right: 1px solid #e8e8e8;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}

.pf-card:last-child {
  border-right: none;
}

.pf-card:hover {
  background: #fdf8f5;
}

.pf-card__body {
  padding: 24px 24px 16px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-card__category {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8734a;
  margin-bottom: 10px;
}

.pf-card__title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.pf-card__desc {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.pf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

/* Tags inside light cards */
.pf-card .pf-tag {
  background: #f1f1f1;
  border: 1px solid #e4e4e4;
  color: #444;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 50px;
}

.pf-card .pf-tag:hover {
  background: #e8e8e8;
  color: #111;
}

/* Card footer */
.pf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.pf-card__view-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.pf-card__view-link:hover {
  color: #111;
}

.pf-card__view-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #555;
}

.pf-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  color: #888;
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.pf-card__view-link:hover .pf-arrow {
  background: #e8734a;
  border-color: #e8734a;
  color: #fff;
}

.pf-card__icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #888;
  background: #f6f6f6;
  border: 1px solid #e8e8e8;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  text-decoration: none;
}

.pf-icon-btn:hover {
  color: #e8734a;
  background: rgba(232, 115, 74, 0.08);
  border-color: rgba(232, 115, 74, 0.3);
}

/* ============================================================
   CONTACT — LIGHT
   ============================================================ */
.contact--light {
  background: #fff;
  margin-top: 0;
  padding-top: 120px;
  padding-bottom: var(--sp-3xl);
  scroll-margin-top: var(--nav-height);
}

.contact-light__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-light__desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}

.contact-light__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.contact-detail__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(232, 115, 74, 0.1);
  color: #e8734a;
  flex-shrink: 0;
}

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

.contact-detail__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1px;
}

.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
}

/* Contact form — light */
.contact-light__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.cl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.cl-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.cl-input {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  color: #1a1a1a;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.cl-input::placeholder {
  color: #bbb;
}

.cl-input:focus {
  border-color: #e8734a;
  box-shadow: 0 0 0 3px rgba(232, 115, 74, 0.1);
}

.cl-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   FOOTER — LIGHT
   ============================================================ */
.footer--light {
  padding: 48px 0;
  border-top: 1px solid #eee;
  background: #fff;
}

/* Wider footer container — overrides the default .container max-width */
.footer--light .container {
  width: 95%;
  max-width: 1440px;
}

.footer-light__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-light__copy {
  font-size: 0.85rem;
  color: #999;
}

.footer-light__socials {
  display: flex;
  gap: 10px;
}

.footer-light__link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid #eee;
  color: #888;
  background: #fff;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

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

.footer-light__link:hover {
  color: #e8734a;
  border-color: #e8734a;
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS — SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-stagger .reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================================================
   FORM SUCCESS STATE
   ============================================================ */
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px var(--sp-lg);
}

.form-success__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--sp-md);
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  display: grid;
  place-items: center;
  color: #22c55e;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
}

.form-success__title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.form-success__text {
  color: var(--clr-text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero--light .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-xl);
  }

  .hero--light .hero__left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero--light .hero__right {
    order: 1;
  }

  .hero__image-wrapper--light {
    width: 260px;
    height: 260px;
  }

  .hero--light .hero__description {
    text-align: center;
  }

  .hero--light .hero__actions {
    justify-content: center;
  }

  .hero--light .hero__social-row {
    justify-content: center;
  }

  .hero__role-label {
    justify-content: center;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-xl);
  }

  .hero__left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__right {
    order: 1;
  }

  .hero__image-wrapper {
    width: 240px;
    height: 240px;
  }

  .hero__description {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__social-row {
    justify-content: center;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured__body {
    padding: var(--sp-lg);
  }

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

  /* Light section responsive */
  .about-light__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .projects-light__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects-light__subtitle {
    text-align: left;
  }

  .pf-featured {
    grid-template-columns: 1fr;
  }

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

  .pf-card {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .pf-card:nth-child(odd) {
    border-right: 1px solid #e8e8e8;
  }

  .pf-card:last-child {
    border-bottom: none;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 32px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .navbar__links.open {
    transform: translateX(0);
  }

  .navbar__toggle.active .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar__toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

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

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

  .pf-card {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .pf-card:nth-child(odd) {
    border-right: none;
  }

  .pf-card:last-child {
    border-bottom: none;
  }

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

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 18px 10px;
  }

  .stat-card__number {
    font-size: 1.6rem;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__image-wrapper {
    width: 200px;
    height: 200px;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}