/* ════════════════════════════════════════
   JENNY — PRODUCT DESIGNER
   Premium Portfolio | 2026
════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  --bg: #fdfcfb;
  --bg-dark: #0d0d0c;
  --bg-card: #151514;
  --primary: #FF5C28;
  --primary-hover: #e04b1d;
  --text: #0d0d0c;
  --text-light: #555;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.45);
  --border: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.06);
  --radius: 20px;
  --radius-lg: 32px;
  --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Archivo Black', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* ── BASE ── */
html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t);
}

ul {
  list-style: none;
}

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

input,
textarea {
  font-family: var(--font-body);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ── UTILITY ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 70px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 92, 40, 0.1);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 92, 40, 0.15);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--primary);
}

.section-title.text-white {
  color: var(--text-white);
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 500px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  background: #22c55e;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.active-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: badgePulse 1.5s ease infinite inset;
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.section-desc.text-muted {
  color: var(--text-muted);
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--t);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 92, 40, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 92, 40, 0.05);
}

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

.text-white {
  color: var(--text-white);
}

.text-muted {
  color: var(--text-muted);
}

/* ── PRELOADER REMOVED ── */

@keyframes preLogoAnim {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preBar {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* ── NAVBAR ── */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: top 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(17, 17, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 12px 20px 12px 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.header:hover .nav-logo::after {
  width: 100%;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--t);
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: var(--t);
}

.hamburger:hover {
  border-color: var(--primary);
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: var(--t);
  display: block;
}

/* ── HERO ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 120px 0 40px;
}

.hero-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.hero-text-col { flex: 1.2; }
.hero-img-col { flex: 0.8; display: flex; justify-content: flex-end; position: relative; }

.floating-profile-wrap {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatProfile 6s ease-in-out infinite;
}

@keyframes floatProfile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.floating-circle-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 1;
  z-index: 1;
}

.hero-floating-img {
  width: 100%;
  max-width: 360px;
  z-index: 2;
  position: relative;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.exp-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: white;
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 5;
  text-align: center;
}

.exp-badge strong { display: block; font-family: var(--font); color: var(--primary); font-size: 1.4rem; }
.exp-badge span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--text-light); }

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.accent-italic {
  color: var(--primary);
  font-style: italic;
  font-family: inherit;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 36px 12px 14px;
  width: fit-content;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-profile-cell {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary);
}

.hero-img-box img {
   width: 100%; height: 100%; object-fit: cover;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item strong {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.stat-item span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: inline;
}

.stat-item strong+span {
  font-size: 1rem;
}

.stat-item p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px;
}

.hero-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee-track .dot {
  color: var(--primary);
  font-size: 0.6rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

/* ── SCROLL REVEAL ── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── ABOUT ── */
.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  width: 420px;
  height: 540px;
  border-radius: 50px;
  overflow: hidden;
}

.about-img-actual {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--t);
}

.about-img-wrap:hover .about-img-actual {
  transform: scale(1.05);
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ede8 0%, #e8e2d9 100%);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.2);
}

.about-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.about-floating-card svg {
  color: var(--primary);
  flex-shrink: 0;
}

.about-floating-card strong {
  display: block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
}

.about-floating-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.card1 {
  top: 30px;
  right: -30px;
  animation: floatCard 4s ease-in-out infinite;
}

.card2 {
  bottom: 60px;
  right: -20px;
  animation: floatCard 4s ease-in-out infinite 2s;
}

@keyframes floatCard {

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

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

.about-content .section-title {
  margin-top: 12px;
}

.about-text {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.about-pills span {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  transition: var(--t);
}

.about-pills span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 92, 40, 0.05);
}

/* ── SERVICES ── */
.services {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 40, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services .section-header {
  text-align: left;
  align-items: flex-start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(255, 92, 40, 0.2);
  transform: translateY(-4px);
}

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

.service-card.featured {
  background: var(--primary);
  border-color: transparent;
}

.service-card.featured .svc-tags span {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.service-card.featured .svc-link {
  color: white;
}

.service-card.featured::before {
  display: none;
}

.svc-img-preview {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}

.svc-img-preview img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.8; transition: var(--t);
}

.service-card:hover .svc-img-preview img {
  opacity: 1; transform: scale(1.08);
}

.service-card h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.svc-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.5);
}

.svc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--t);
}

.service-card:hover .svc-link {
  gap: 14px;
}

/* ── SKILLS ── */
.skills-section {
  background: var(--bg);
}

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.skill-item {
  margin-bottom: 24px;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-meta span {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
}

.skill-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ff8c64);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-tools h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tool-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--t);
}

.tool-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 92, 40, 0.1);
}

.tool-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.2);
  transition: var(--t);
}

.tool-badge:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}

/* ── EXPERIENCE ── */
.experience {
  background: white;
}

.exp-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.timeline {
  position: relative;
}

.tl-item {
  display: grid;
  grid-template-columns: 90px 40px 1fr;
  gap: 0;
  margin-bottom: 0;
}

.tl-year {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: right;
  padding-right: 16px;
  padding-top: 22px;
}

.tl-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
  flex-shrink: 0;
  transition: var(--t);
}

.tl-dot.active {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 92, 40, 0.15);
}

.tl-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
  min-height: 40px;
}

.tl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-left: 16px;
  margin-bottom: 20px;
  transition: var(--t);
}

.tl-card:hover {
  border-color: rgba(255, 92, 40, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.tl-header h4 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
}

.tl-company {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 3px;
}

.tl-badge {
  background: rgba(255, 92, 40, 0.1);
  color: var(--primary);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.tl-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.tl-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-skills span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-light);
}

.why-hire h3 {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 92, 40, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.why-point strong {
  display: block;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.why-point p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.why-numbers {
  display: flex;
  gap: 32px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-direction: row;
  flex-wrap: wrap;
}

.why-num strong {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
}

.why-num>span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.why-num>p {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── PORTFOLIO ── */
.portfolio {
  background: var(--bg);
}

.portfolio-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.portfolio-filters {
  display: flex;
  gap: 8px;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: var(--t);
  color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 48px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--t);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.project-card.large {
  grid-column: span 2;
}

.project-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e3dc 0%, #d8d1c6 100%);
  position: relative;
  overflow: hidden;
}

.project-card.large .project-img {
  aspect-ratio: 16/9;
}

.project-img.accent-bg {
  background: linear-gradient(135deg, rgba(255, 92, 40, 0.15) 0%, rgba(255, 92, 40, 0.05) 100%);
}

.project-img.dark-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-img.warm-bg {
  background: linear-gradient(135deg, #fff3ee 0%, #ffe8dc 100%);
}

.project-img.green-bg {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.project-img-actual {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-actual {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: var(--t);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
}

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

.project-info {
  color: white;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.project-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.project-info h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.project-info p {
  font-size: 0.82rem;
  opacity: 0.75;
}

.project-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  transition: var(--t);
}

.project-link:hover {
  background: var(--primary);
  color: white;
}

.portfolio-cta {
  text-align: center;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.testi-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 92, 40, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testi-slider {
  position: relative;
}

.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: var(--t);
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--t);
}

.testi-card:hover {
  border-color: rgba(255, 92, 40, 0.2);
}

.testi-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testi-stars span {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 6px;
}

.testi-quote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-family: var(--font);
  font-size: 0.9rem;
  color: white;
}

.testi-author span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
}

.testi-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--t);
  cursor: pointer;
}

.testi-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ── BLOG ── */
.blog {
  background: white;
}

.blog-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  background: var(--bg);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 92, 40, 0.2);
}

.blog-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.blog-img.img-orange {
  background: linear-gradient(135deg, rgba(255, 92, 40, 0.15) 0%, rgba(255, 140, 80, 0.1) 100%);
}

.blog-img.img-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.blog-img.img-neutral {
  background: linear-gradient(135deg, #e8e3dc 0%, #d8d1c6 100%);
}

.blog-cat {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: white;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 100px;
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-body h4 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--t);
}

.blog-link:hover {
  gap: 12px;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg-dark);
}

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

.contact-left .section-tag {
  margin-bottom: 20px;
}

.contact-left .section-title {
  margin-bottom: 16px;
}

.contact-left>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 92, 40, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--t);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: white;
  outline: none;
  transition: var(--t);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 92, 40, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
  min-height: 130px;
}

/* ── RIBBON ── */
.ribbon-section {
  background: var(--primary);
  overflow: hidden;
  padding: 20px 0;
}

.ribbon-inner {
  overflow: hidden;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: ribbonScroll 25s linear infinite;
  white-space: nowrap;
}

.ribbon-track span {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}

.ribbon-track .star {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

@keyframes ribbonScroll {
  0% {
    transform: translateX(0);
  }

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

/* ── FOOTER ── */
.footer {
  background: #0a0a09;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--t);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content-row {
    flex-direction: column-reverse;
    text-align: center;
    gap: 60px;
    width: 100%;
  }

  .hero-text-col, .hero-img-col {
    width: 100%;
    flex: none;
  }

  .hero-img-col {
    justify-content: center;
  }

  .floating-profile-wrap {
    width: 300px;
    height: 300px;
  }

  .floating-circle-bg {
    width: 240px;
    height: 240px;
  }

  .hero-floating-img {
    max-width: 260px;
  }

  .hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
  }

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

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

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

  .section {
    padding: 72px 0;
  }

  .header {
    top: 12px;
  }

  .navbar {
    padding: 10px 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border: 1px solid var(--border-dark);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: -1.5px;
  }

  .floating-profile-wrap {
    width: 280px;
    height: 280px;
  }

  .floating-circle-bg {
    width: 220px;
    height: 220px;
  }

  .hero-floating-img {
    max-width: 240px;
  }

  .hero-stats {
    flex-direction: column;
    padding: 24px;
    border-radius: 32px;
    align-items: center;
    gap: 20px;
  }

  .stat-item {
    align-items: center;
    text-align: center;
  }

  .stat-divider {
    display: none;
  }

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

  .project-card.large {
    grid-column: span 1;
  }

  .portfolio-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-img-wrap {
    width: 100%;
    max-width: 340px;
    height: 440px;
    margin: 0 auto;
  }

  .card1, .card2 {
    right: 0px !important;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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