/*
Theme Name:  Sudin JCREA Portfolio
Theme URI:   https://sudindhakal.com
Author:      Sudin Dhakal
Description: A personal portfolio WordPress theme for designers — pixel-perfect replica of the JCREA design with orange accents, dynamic ACF content, CPT for projects, fully responsive.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
Tags:        portfolio, one-page, custom-colors, custom-logo, featured-images, full-width-template, rtl-language-support
Text Domain: sudin-jcrea
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --orange:        #FF6B2B;
  --orange-light:  #FF8A52;
  --orange-bg:     #FFF4EF;
  --dark:          #111318;
  --dark-2:        #1C1F28;
  --dark-3:        #252833;
  --text:          #1A1D27;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --white:         #FFFFFF;
  --off-white:     #F9FAFB;
  --light-gray:    #F3F4F6;
  --border:        #E5E7EB;
  --border-dark:   #2E3140;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-sub:     'DM Sans', sans-serif;

  /* Layout */
  --container:     1220px;
  --header-h:      76px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   40px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 32px rgba(255,107,43,.30);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --fast: 220ms;
  --mid:  380ms;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-family: var(--font-display); }

/* ============================================================
   CONTAINER & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}

.section { padding-block: 90px; }
.section--sm { padding-block: 60px; }
.section--lg { padding-block: 120px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.orange { color: var(--orange); }
.italic { font-style: italic; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-sub);
  letter-spacing: .04em;
  background: var(--white);
  color: var(--text-muted);
}
.badge-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

.section-label {
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
}
.section-title .italic { color: var(--orange); }
.section-title--white { color: var(--white); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--left.in-view,
.reveal--right.in-view { transform: none; }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-body);
  transition: all var(--fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,43,.4);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--dark);
}
.btn--sm { padding: 10px 22px; font-size: .88rem; }
.btn--icon {
  width: 46px; height: 46px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  flex-shrink: 0;
}
.btn--icon-orange {
  background: var(--orange);
  color: var(--white);
}
.btn--icon-dark {
  background: var(--dark);
  color: var(--white);
}
.btn--icon-border {
  border: 2px solid var(--border);
  color: var(--text-muted);
}
.btn--icon-border:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-sub);
}
.tag--outline {
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.tag--orange {
  background: var(--orange-bg);
  color: var(--orange);
}
.tag--dark {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}

/* Stars */
.stars { display: flex; gap: 2px; }
.stars svg { fill: var(--orange); width: 16px; height: 16px; }

/* Arrows SVG icon */
.arrow-icon { width: 18px; height: 18px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: opacity .2s;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--orange);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--orange);
  opacity: .5;
  transition: width .3s, height .3s, opacity .2s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  opacity: .2;
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  font-family: var(--font-display);
}
.logo-text { font-family: var(--font-display); }

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color var(--fast);
  font-family: var(--font-sub);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: var(--r-full);
  transition: width var(--fast) var(--ease);
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--text); }
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 100%; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 16px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: all var(--fast) var(--ease);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.mobile-nav.open {
  opacity: 1;
}
.mobile-nav a {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Big orange circle background */
.hero-bg-circle {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--orange);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-content {}
.hero-badge { margin-bottom: 28px; }
.hero-badge .badge-pill { font-size: .9rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title .name-accent {
  color: var(--orange);
  font-style: italic;
  display: block;
}

.hero-quote {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-quote .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
  opacity: .4;
  flex-shrink: 0;
}
.hero-quote p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-sub);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-scroll-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  transition: color var(--fast);
}
.hero-scroll-link:hover { color: var(--orange); }
.hero-scroll-link svg { width: 16px; height: 16px; }

/* Hero image column */
.hero-visual { position: relative; }

.hero-img-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-img-wrap img {
  width: 420px;
  height: 520px;
  object-fit: cover;
  border-radius: 240px 240px 200px 200px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
}

/* Hero floating cards */
.hero-card {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-card--review {
  top: 40px;
  left: -20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 220px;
  animation-delay: 0s;
}
.hero-card--review .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-bg);
  flex-shrink: 0;
  overflow: hidden;
}
.hero-card--review .avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-card--review .review-text {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-family: var(--font-sub);
}
.hero-card--review .review-name {
  font-weight: 700;
  color: var(--text);
  font-size: .82rem;
  margin-bottom: 2px;
}

.hero-card--exp {
  bottom: 60px;
  right: -20px;
  text-align: center;
  animation-delay: 1s;
  min-width: 130px;
}
.hero-card--exp .exp-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.hero-card--exp .exp-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
  margin-top: 4px;
}

.hero-card--rating {
  top: 30%;
  right: -30px;
  animation-delay: 2s;
}
.hero-card--rating .rating-stars { margin-bottom: 4px; }
.hero-card--rating .rating-score {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.hero-card--rating .rating-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--off-white);
  padding-block: 90px;
  overflow: hidden;
}

.services-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.services-header {}
.services-description {
  max-width: 400px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-family: var(--font-sub);
}

/* Service slider */
.services-slider-wrap {
  position: relative;
}
.services-track {
  display: flex;
  gap: 24px;
  transition: transform var(--mid) var(--ease);
}

.service-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  transition: all var(--fast) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--orange-bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: background var(--fast);
}
.service-card:hover .service-card__icon {
  background: var(--orange);
}
.service-card:hover .service-card__icon svg { stroke: var(--white); }
.service-card:hover .service-card__icon span { filter: brightness(10); }

.service-card__num {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-sub);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-sub);
  margin-bottom: 20px;
}
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.services-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.services-dots { display: flex; gap: 8px; align-items: center; }
.services-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--fast);
}
.services-dot.active {
  width: 24px;
  border-radius: var(--r-full);
  background: var(--orange);
}

/* ============================================================
   WORK EXPERIENCE
   ============================================================ */
.experience { background: var(--white); }

.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Timeline */
.timeline { padding-right: 60px; }
.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--orange-bg);
  box-shadow: 0 0 0 2px var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}
.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}
.timeline-item:last-child .timeline-line { display: none; }

.timeline-content {}
.timeline-date {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-sub);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.timeline-company {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}
.timeline-location {
  font-size: .85rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
}

/* Right side jobs */
.jobs-list { padding-left: 60px; border-left: 2px solid var(--border); }
.job-item {
  padding-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.job-item:last-child { padding-bottom: 0; }
.job-icon {
  width: 44px; height: 44px;
  background: var(--orange-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.2rem;
}
.job-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.job-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-sub);
}

/* ============================================================
   WHY HIRE ME / ABOUT STATS
   ============================================================ */
.hire-me {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.hire-me-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hire-me-content {}
.hire-me-content .section-label { color: var(--orange-light); }

.hire-me-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  font-family: var(--font-sub);
  margin-bottom: 40px;
  max-width: 500px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.stat-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 24px 20px;
}
.stat-box__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box__label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sub);
}

/* Hire me image */
.hire-me-visual { position: relative; }
.hire-me-img {
  width: 100%;
  max-width: 400px;
  border-radius: 200px 200px 40px 40px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  height: 500px;
}
.hire-me-visual::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 260px;
  height: 260px;
  background: var(--orange);
  border-radius: 50%;
  z-index: 0;
  opacity: .3;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--off-white); }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

/* Category filter tabs */
.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-sub);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all var(--fast) var(--ease);
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.portfolio-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.portfolio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.portfolio-card:hover .portfolio-card__thumb img { transform: scale(1.06); }
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fast);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__cta {
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid var(--white);
  padding: 10px 24px;
  border-radius: var(--r-full);
}

.portfolio-card__body { padding: 24px; }
.portfolio-card__cats { margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.portfolio-card__subtitle {
  font-size: .88rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
}
.portfolio-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portfolio-card__meta {
  font-size: .82rem;
  color: var(--text-light);
  font-family: var(--font-sub);
}

/* Project Detail Strip */
.project-detail-strip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 24px;
  display: none;
}
.project-detail-strip.show { display: block; }
.project-detail-strip h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.project-detail-strip p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-family: var(--font-sub);
  margin-bottom: 16px;
}
.project-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.testimonials-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.testimonials-top .section-title { color: var(--white); }
.testimonials-top .section-title .italic { color: var(--orange); }

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

.testimonial-card {
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--fast) var(--ease);
}
.testimonial-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.testimonial-card__stars { margin-bottom: 16px; }
.testimonial-card__quote {
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  font-family: var(--font-sub);
  margin-bottom: 24px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark-2);
  flex-shrink: 0;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--white);
  margin-bottom: 2px;
}
.testimonial-card__role {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-family: var(--font-sub);
}

/* Slider controls */
.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}
.testimonials-dots { display: flex; gap: 8px; }
.testimonials-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: all var(--fast);
}
.testimonials-dot.active {
  width: 24px;
  border-radius: var(--r-full);
  background: var(--orange);
}

/* ============================================================
   CONTACT CTA / NEWSLETTER
   ============================================================ */
.contact-cta { background: var(--white); }

.contact-cta-inner {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8A52 100%);
  border-radius: var(--r-xl);
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta-inner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.contact-cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.contact-cta-inner > * { position: relative; z-index: 1; }

.contact-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}
.contact-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  font-family: var(--font-sub);
  margin-bottom: 36px;
  max-width: 500px;
  margin-inline: auto;
}

.contact-form-inline {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-form-inline input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  border: none;
  background: var(--white);
  color: var(--text);
  font-size: .95rem;
  font-family: var(--font-body);
  outline: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.contact-form-inline input::placeholder { color: var(--text-light); }

.contact-trust {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  font-family: var(--font-sub);
}
.contact-trust-item svg { width: 15px; height: 15px; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee-strip {
  background: var(--dark);
  padding-block: 22px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline: 32px;
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  font-family: var(--font-sub);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item .sep {
  color: var(--orange);
  font-size: 1.2rem;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--off-white); }

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

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all var(--fast) var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-family: var(--font-sub);
}
.blog-card__body { padding: 24px; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: .8rem;
  color: var(--text-light);
  font-family: var(--font-sub);
}
.blog-card__meta .author-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--orange-bg);
}
.blog-card__meta .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card__title a:hover { color: var(--orange); }
.blog-card__excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-sub);
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--orange);
  transition: gap var(--fast);
}
.blog-card__link:hover { gap: 10px; }

/* ============================================================
   CONNECT / FOOTER
   ============================================================ */
.connect-section {
  background: var(--dark);
  color: var(--white);
}

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

.connect-left {}
.connect-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.connect-title .orange { color: var(--orange); }
.connect-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  font-family: var(--font-sub);
  margin-bottom: 32px;
  max-width: 400px;
}
.connect-social { display: flex; gap: 12px; margin-top: 32px; }
.social-icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fast);
  color: rgba(255,255,255,.7);
}
.social-icon-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}
.social-icon-btn svg { width: 18px; height: 18px; }

.connect-right {}
.connect-links-title {
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  font-family: var(--font-sub);
  margin-bottom: 20px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.footer-nav-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-sub);
  margin-bottom: 16px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  font-family: var(--font-sub);
  transition: color var(--fast);
}
.footer-nav-col a:hover { color: var(--orange); }

/* Footer newsletter inline */
.footer-newsletter {
  margin-top: 40px;
}
.footer-newsletter label {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  font-family: var(--font-sub);
  margin-bottom: 10px;
}
.footer-newsletter-form {
  display: flex;
  gap: 10px;
}
.footer-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--fast);
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter-form input:focus { border-color: var(--orange); }

/* Footer bottom bar */
.footer-bottom {
  background: var(--dark-2);
  padding-block: 20px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  font-family: var(--font-sub);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  font-family: var(--font-sub);
  transition: color var(--fast);
}
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast), transform var(--fast);
  transform: translateY(10px);
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 70px;
  background: var(--off-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__badge { margin-bottom: 20px; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}
.page-hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.75;
}
.page-hero__bg .circle-1 {
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .06;
}
.page-hero__bg .circle-2 {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .06;
}

/* ============================================================
   BLOG / ARCHIVE PAGES
   ============================================================ */
.blog-main { background: var(--off-white); }
.blog-main .container { padding-block: 70px; }

.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-pagination a,
.blog-pagination span {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  transition: all var(--fast);
}
.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}
.post-content h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.post-content h3 { font-size: 1.3rem; margin: 1.5rem 0 .8rem; }
.post-content p  { margin-bottom: 1.25rem; color: var(--text-muted); line-height: 1.8; font-family: var(--font-sub); }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: .5rem; font-family: var(--font-sub); color: var(--text-muted); line-height: 1.7; }
.post-content img { border-radius: var(--r-md); margin-block: 2rem; }
.post-content blockquote {
  border-left: 4px solid var(--orange);
  margin: 2rem 0;
  padding: 16px 24px;
  background: var(--orange-bg);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text);
}

.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.sidebar-cta {
  background: var(--orange);
  border-color: transparent;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.sidebar-cta p  { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: 18px; font-family: var(--font-sub); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { text-align: center; padding-block: 120px; background: var(--off-white); }
.error-404__number {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 900;
  color: var(--orange);
  opacity: .15;
  line-height: 1;
}
.error-404__message {
  margin-top: -40px;
  position: relative;
  z-index: 1;
}
.error-404__message h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.error-404__message p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: var(--font-sub);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-inline: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-bg-circle { width: 360px; height: 360px; top: auto; bottom: 0; right: -40px; }
  .hire-me-inner { grid-template-columns: 1fr; gap: 40px; }
  .hire-me-visual { display: none; }
  .experience-layout { grid-template-columns: 1fr; }
  .jobs-list { padding-left: 0; border-left: none; padding-top: 40px; border-top: 2px solid var(--border); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .connect-inner { grid-template-columns: 1fr; gap: 48px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .container { padding-inline: 20px; }
  .section { padding-block: 64px; }

  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-bg-circle { width: 260px; height: 260px; opacity: .5; }
  .hero-title { font-size: 2.6rem; }
  .hero-img-wrap img { width: 280px; height: 340px; }
  .hero-card--review { left: -8px; }
  .hero-card--exp { right: -8px; }
  .hero-card--rating { right: -8px; }

  .services-top { flex-direction: column; align-items: flex-start; }
  .service-card { flex: 0 0 280px; }

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

  .portfolio-header { flex-direction: column; align-items: flex-start; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-top { flex-direction: column; align-items: flex-start; gap: 24px; }

  .contact-cta-inner { padding: 48px 28px; }
  .contact-form-inline { flex-direction: column; }
  .contact-form-inline input { min-width: unset; }

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

  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-nav-grid { grid-template-columns: 1fr; }
}
