/* ============================================================
   SURIYA PORTFOLIO — style.css  (Light Cream + Blue)
   ============================================================ */

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

:root {
  /* Cream palette — slightly darker for glow visibility */
  --cream:      #F0EAE0;
  --cream-2:    #E8E0D5;
  --cream-card: #EAE2D6;
  --cream-dark: #DDD4C5;
  --white:      #FFFDF9;

  /* Blue */
  --blue:       #1A56DB;
  --blue-light: #3B82F6;
  --blue-pale:  rgba(26,86,219,0.1);
  --blue-glow:  rgba(26,86,219,0.18);

  /* Text */
  --navy:       #0F172A;
  --muted:      #64748B;
  --muted-light:#94A3B8;
  --border:     rgba(15,23,42,0.08);
  --border-blue:rgba(26,86,219,0.3);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  --shadow-sm:  0 2px 12px rgba(15,23,42,0.07);
  --shadow-md:  0 8px 32px rgba(15,23,42,0.10);
  --shadow-lg:  0 24px 64px rgba(15,23,42,0.13);
  --shadow-blue:0 8px 40px rgba(26,86,219,0.22);

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce:cubic-bezier(0.34, 1.72, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ══════════════════════════════════════════════════════════
   PANEL BACKLIT GLOW  (light mode)
══════════════════════════════════════════════════════════ */
.service-card,
.project-card,
.skill-card,
.contact-link {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.project-card::after,
.skill-card::after,
.contact-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    260px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(26,86,219,0.13) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.service-card:hover::after,
.project-card:hover::after,
.skill-card:hover::after,
.contact-link:hover::after { opacity: 1; }

.service-card > *,
.project-card > *,
.skill-card > *,
.contact-link > * { position: relative; z-index: 1; }

/* ── Hover float animation ───────────────────────────────── */
@keyframes hoverFloat {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 4px 20px rgba(26,86,219,0.08), 0 1px 4px rgba(0,0,0,0.06);
  }
  50% {
    transform: translateY(-12px);
    box-shadow: 0 24px 56px rgba(26,86,219,0.22), 0 8px 24px rgba(0,0,0,0.08);
  }
}
@keyframes hoverFloatHeading {
  0%, 100% { transform: translateY(0px);   opacity: 1; }
  50%       { transform: translateY(-10px); opacity: 1; }
}

/* Photo — float the whole wrap so crop stays identical */
.about-photo-wrap {
  transition: box-shadow 0.35s, transform 0.35s var(--ease-bounce);
}
.about-photo-wrap:hover {
  animation: hoverFloat 2.4s ease-in-out infinite;
  transition: none;
}

/* Headings — extend hover hit-area downward via ::after so the
   element moving up doesn't instantly lose hover state */
.section-heading,
.hero-heading {
  position: relative;
  will-change: transform;
}
/* Invisible padding that moves with the element keeps hover active during float */
.section-heading::after,
.hero-heading::after {
  content: '';
  position: absolute;
  inset: -10px -12px -24px -12px;
}
/* JS adds/removes .heading-floating — CSS :hover no longer drives this */
.section-heading.heading-floating,
.hero-heading.heading-floating {
  animation: hoverFloatHeading 2.2s ease-in-out infinite !important;
  opacity: 1 !important;
  cursor: default;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(240,234,224,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-right: auto;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--blue); }

.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--blue-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════
   SHARED
══════════════════════════════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section   { padding: 5rem 0; position: relative; overflow: hidden; }

.section-label {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(26,86,219,0.09);
  border: 1px solid rgba(26,86,219,0.18);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-heading em { font-style: italic; color: var(--blue); }
.section-heading.centered { text-align: center; }

.section-sub {
  font-size: 1rem; color: var(--muted);
  text-align: center; max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--blue); color: #fff;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-lg); border: 2px solid var(--blue);
  transition: background 0.25s, transform 0.3s var(--ease-bounce), box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--blue-light); border-color: var(--blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent; color: var(--blue);
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-lg); border: 2px solid rgba(26,86,219,0.45);
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-bounce);
}
.btn-ghost:hover {
  background: rgba(26,86,219,0.07);
  border-color: var(--blue);
  transform: translateY(-4px);
}
.btn-ghost .arrow { transition: transform 0.25s; }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* Ambient glows */
.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,0.14) 0%, transparent 70%);
  pointer-events: none; filter: blur(60px);
  animation: glowPulse 7s ease-in-out infinite alternate;
}
.glow-1 { width: 600px; height: 600px; top: -120px; right: -80px; }
.glow-2 { width: 400px; height: 400px; bottom: 0;   left: -80px;  animation-delay: -3s; }
.glow-3 { width: 500px; height: 500px; top: 60px;   right: -120px;}
.glow-4 { width: 500px; height: 500px; bottom: 0;   left: -80px;  }
.glow-5 { width: 600px; height: 600px; top: -60px;  right: -120px;}
@keyframes glowPulse {
  from { transform: scale(0.88); opacity: 0.6; }
  to   { transform: scale(1.12); opacity: 1;   }
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL  — bidirectional + bounce
   Elements animate IN on scroll down, back OUT on scroll up
══════════════════════════════════════════════════════════ */

/* ── Hero entrance (CSS, no JS needed) ───────────────────── */
@keyframes heroFadeUp {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-bounce) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s + 0.15s);
}

/* ── Scroll Reveal (sections below hero) ─────────────────── */

/* Hidden state */
.reveal       { opacity:0; transform:translateY(56px);  }
.reveal-left  { opacity:0; transform:translateX(-64px); }
.reveal-right { opacity:0; transform:translateX(64px);  }
.reveal-scale { opacity:0; transform:scale(0.82) translateY(24px); }
.reveal-clip  { opacity:0; clip-path:inset(0 0 100% 0); }

/* Transitions (shared) */
.reveal, .reveal-left, .reveal-right {
  transition: opacity .55s var(--ease-out),
              transform .75s var(--ease-bounce);
  transition-delay: var(--delay, 0s);
}
.reveal-scale {
  transition: opacity .5s var(--ease-out),
              transform .7s var(--ease-bounce);
  transition-delay: var(--delay, 0s);
}
.reveal-clip {
  transition: opacity .5s var(--ease-out),
              clip-path .65s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

/* Visible state */
.reveal.visible, .reveal-left.visible,
.reveal-right.visible, .reveal-scale.visible { opacity:1; transform:none; }
.reveal-clip.visible { opacity:1; clip-path:inset(0 0 0% 0); }

/* Exit — fast, no delay */
.reveal.hide        { opacity:0; transform:translateY(56px);            transition-delay:0s; }
.reveal-left.hide   { opacity:0; transform:translateX(-64px);           transition-delay:0s; }
.reveal-right.hide  { opacity:0; transform:translateX(64px);            transition-delay:0s; }
.reveal-scale.hide  { opacity:0; transform:scale(0.82) translateY(24px);transition-delay:0s; }
.reveal-clip.hide   { opacity:0; clip-path:inset(0 0 100% 0);           transition-delay:0s; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--cream);
}

.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,0.14) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none; opacity: 0.55;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--blue); background: rgba(26,86,219,0.09);
  border: 1px solid rgba(26,86,219,0.22);
  padding: 0.45rem 1rem; border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
}
.badge-available {
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}
.badge-available:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35), 0 2px 8px rgba(22,163,74,0.2);
}
.badge-dot {
  width: 7px; height: 7px; background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(22,163,74,0.55);
  animation: dotGlow 2s ease infinite;
}
@keyframes dotGlow {
  0%,100% { box-shadow: 0 0 5px 2px rgba(22,163,74,0.5);  transform: scale(1); }
  50%      { box-shadow: 0 0 12px 5px rgba(22,163,74,0.85); transform: scale(1.25); }
}

.hero-heading { display: flex; flex-direction: column; margin-bottom: 1rem; }
.hero-sub { font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800; color: var(--navy);
  line-height: 1; letter-spacing: -0.03em;
}

.hero-role {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 600; color: var(--blue);
  margin-bottom: 1.5rem; min-height: 2.4rem;
}
.cursor-blink { animation: blink 0.9s step-end infinite; color: var(--blue); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-tagline {
  font-size: 1rem; color: var(--muted);
  line-height: 1.75; margin-bottom: 2.5rem; max-width: 460px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.social-proof {
  font-size: 0.8rem; color: var(--muted-light);
  font-weight: 500; display: flex; align-items: center; gap: 0.4rem;
}
.proof-star { color: var(--blue); }

/* Hero right */
.hero-right { position: relative; }
.hero-visual {
  position: relative; height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.visual-glow {
  position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(26,86,219,0.16) 0%, transparent 70%);
  border-radius: 50%; filter: blur(48px);
  animation: glowPulse 5s ease-in-out infinite alternate;
}

.browser-card {
  width: 320px; background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  transform: rotate(-4deg); position: relative; z-index: 2;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.browser-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-blue), var(--shadow-blue);
}

.browser-bar {
  height: 36px; background: var(--cream-card);
  border-bottom: 1px solid var(--cream-dark);
  display: flex; align-items: center; padding: 0 12px; gap: 8px;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.browser-dots span:nth-child(1){background:#F87171;}
.browser-dots span:nth-child(2){background:#FCD34D;}
.browser-dots span:nth-child(3){background:#34D399;}
.browser-url {
  flex: 1; background: var(--cream); border-radius: 6px;
  height: 20px; font-size: 0.6rem; color: var(--muted);
  display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap;
}

.browser-body { padding: 14px; }
.mock-nav { height: 10px; background: var(--cream-card); border-radius: 4px; margin-bottom: 12px; }
.mock-hero-block {
  background: linear-gradient(135deg, rgba(26,86,219,0.12), rgba(26,86,219,0.04));
  border-radius: 8px; padding: 14px; margin-bottom: 10px;
  border: 1px solid rgba(26,86,219,0.1);
}
.mock-title { height: 10px; width: 70%; background: var(--blue); border-radius: 3px; margin-bottom: 7px; opacity: 0.6; }
.mock-sub   { height: 7px; width: 90%; background: var(--muted-light); border-radius: 3px; margin-bottom: 10px; opacity: 0.4; }
.mock-btn   { height: 20px; width: 35%; background: var(--blue); border-radius: 4px; opacity: 0.75; }
.mock-cards { display: flex; gap: 6px; }
.mock-card  { flex: 1; height: 44px; background: var(--cream-card); border-radius: 6px; border: 1px solid var(--cream-dark); }

/* Define cream-card / cream-dark for browser mock */
:root {
  --cream-card: #E8E0D5;
  --cream-dark: #DDD4C5;
}

.skill-badge {
  position: absolute;
  background: var(--white); border: 1.5px solid var(--border-blue);
  color: var(--blue); font-size: 0.72rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm), 0 0 10px rgba(26,86,219,0.1);
  white-space: nowrap; z-index: 3;
}
.badge-1 { top: 30px;    left: -10px;  }
.badge-2 { top: 80px;    right: -20px; }
.badge-3 { bottom: 120px;left: -20px;  }
.badge-4 { bottom: 60px; right: 0;     }
.badge-5 { top: 150px;   right: -30px; }

.floating { animation: floating 4s ease-in-out infinite; }
@keyframes floating {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-14px); }
}
.floating-slow { animation: floatSlow 5.5s ease-in-out infinite; }
@keyframes floatSlow {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted-light); text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-arrow  { display: flex; flex-direction: column; align-items: center; gap: 0; }
.scroll-line   { width: 1px; height: 28px; background: linear-gradient(to bottom, var(--blue), transparent); }
.scroll-chevron{ color: var(--blue); font-size: 0.8rem; line-height: 1; margin-top: -2px; }
@keyframes scrollBounce {
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%    { transform: translateX(-50%) translateY(6px); }
}

.proof-strip {
  background: var(--cream-2);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.2rem 2rem;
}
.proof-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
}
.proof-divider { width: 1px; height: 16px; background: var(--cream-dark); }
.proof-label   { color: var(--muted); font-weight: 500; }
.proof-item    { color: var(--navy); font-weight: 600; }

.proof-link {
  position: relative;
  color: var(--navy);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.22s, background 0.22s, transform 0.22s var(--ease-bounce), letter-spacing 0.22s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.proof-link::after {
  content: '↗';
  font-size: 0.65rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.22s var(--ease-out);
}
.proof-link:hover {
  color: #15803d;
  background: rgba(22,163,74,0.09);
  transform: translateY(-2px);
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(22,163,74,0.18), 0 0 0 1px rgba(22,163,74,0.15);
  border-radius: var(--radius-sm);
}
.proof-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { background: var(--cream); }
.about-text { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }

/* Header row */
.about-header { margin-bottom: 2rem; }

/* Photo + panels grid */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

/* Photo column */
.about-photo-col { display: flex; }
.about-photo-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 48px rgba(26,86,219,0.14);
}
.about-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient overlay text */
.photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10,18,40,0.88) 0%, transparent 100%);
  color: #fff;
  transform: translateY(4px);
  transition: transform 0.35s var(--ease-out);
}
.about-photo-wrap:hover .photo-overlay { transform: translateY(0); }
.overlay-quote {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.overlay-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.overlay-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.overlay-role {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}


/* Panels — fill the right side */
.about-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: stretch;
}
.about-panels .skill-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  flex: 1;
}
.about-panels .skill-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.about-panels .skill-name { font-size: 1rem; margin-bottom: 0.4rem; }
.about-panels .skill-desc { font-size: 0.82rem; line-height: 1.55; margin-top: auto; padding-top: 0.4rem; }

/* Bio + tech below grid */
.about-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}
.about-bio .about-text { margin-bottom: 1.75rem; }
.about-tech .tech-label { margin-bottom: 1rem; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.skill-card {
  background: var(--cream-card); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease-bounce);
}
.skill-card:hover {
  border-color: rgba(26,86,219,0.25);
  animation: hoverFloat 2.2s ease-in-out infinite;
  transition: none;
}
.skill-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.skill-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.skill-desc { font-size: 0.77rem; color: var(--muted); line-height: 1.4; }

.tech-stack { margin-top: 0.5rem; }
.tech-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.75rem; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pill {
  font-size: 0.76rem; font-weight: 600; color: var(--blue);
  background: rgba(26,86,219,0.08); border: 1px solid rgba(26,86,219,0.18);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.25s var(--ease-bounce);
}
.tech-pill:hover { background: rgba(26,86,219,0.15); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.services { background: var(--cream-2); }

/* Services offered — 2-card layout */
.services-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.service-offer-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s, border-color 0.3s;
}
.service-offer-card:hover {
  border-color: rgba(26,86,219,0.2);
  animation: hoverFloat 2.2s ease-in-out infinite;
  transition: none;
}

.soc-featured {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.03);
}
.soc-featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: var(--shadow-blue);
}

.soc-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--blue);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(26,86,219,0.25);
  white-space: nowrap;
}

.soc-icon {
  font-size: 2rem; margin-bottom: 0.9rem;
}

.soc-title {
  font-family: var(--font-serif);
  font-size: 1.55rem; font-weight: 800;
  color: var(--navy); margin-bottom: 0.75rem; line-height: 1.2;
}
.soc-featured .soc-title { color: #fff; }

.soc-desc {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.soc-featured .soc-desc { color: rgba(255,255,255,0.75); }

.soc-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.soc-features li {
  font-size: 0.84rem; color: var(--navy);
  display: flex; align-items: flex-start; gap: 0.6rem;
  line-height: 1.4;
}
.soc-featured .soc-features li { color: rgba(255,255,255,0.9); }

.pf-check {
  color: #16a34a; font-weight: 700; flex-shrink: 0; font-size: 0.8rem;
}
.soc-featured .pf-check { color: #86efac; }

.soc-price-note {
  font-size: 0.75rem; font-weight: 600;
  color: var(--blue); letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(26,86,219,0.07);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  width: fit-content;
}
.soc-featured .soc-price-note {
  background: rgba(255,255,255,0.12);
  border-left-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
}

.soc-btn { width: 100%; justify-content: center; margin-top: auto; }
.soc-response-note {
  text-align: center;
  font-size: 0.72rem; color: var(--muted);
  margin-top: 0.6rem; letter-spacing: 0.02em;
}
.soc-response-note--light { color: rgba(255,255,255,0.6); }
.soc-featured .btn-ghost {
  border-color: rgba(255,255,255,0.5); color: #fff;
}
.soc-featured .btn-ghost:hover {
  background: rgba(255,255,255,0.12); border-color: #fff;
}

.pricing-note {
  text-align: center;
  font-size: 0.88rem; color: var(--muted);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.75rem;
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0 auto; width: fit-content;
}
.pricing-note strong { color: var(--navy); }
.pnote-icon { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════════════════════ */
.projects { background: var(--cream); }
.projects-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }

.project-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s, border-color 0.3s;
}
.project-card:hover { border-color: rgba(26,86,219,0.25); animation: hoverFloat 2.2s ease-in-out infinite; transition: none; }

.project-image       { position: relative; overflow: hidden; height: 240px; }
.project-image.small { height: 200px; }
.project-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,86,219,0.08), rgba(26,86,219,0.02));
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}

.project-screenshot {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease-out), filter 0.4s;
  filter: brightness(1);
}
.project-card:hover .project-screenshot {
  transform: scale(1.04) translateY(-8px);
  filter: brightness(0.92);
}
.project-img-placeholder.alt    { background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(16,185,129,0.01)); }
.project-img-placeholder.alt2   { background: linear-gradient(135deg, rgba(245,158,11,0.07), rgba(245,158,11,0.01)); }
.project-img-placeholder.agency {
  background: linear-gradient(135deg, rgba(234,88,12,0.1), rgba(251,146,60,0.04));
  align-items: flex-start;
  padding: 0.75rem;
}
.agency-mockup {
  width: 100%; height: 100%;
  background: #fff8f4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(234,88,12,0.15);
}
.agency-bar {
  height: 22px;
  background: #ea580c;
  opacity: 0.85;
}
.agency-hero {
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.agency-title { height: 9px; width: 65%; background: #ea580c; border-radius: 3px; opacity: 0.7; }
.agency-sub   { height: 6px; width: 85%; background: #fbbf24; border-radius: 3px; opacity: 0.45; }
.agency-btn   { height: 16px; width: 32%; background: #ea580c; border-radius: 4px; opacity: 0.8; margin-top: 4px; }

.placeholder-browser { width:100%;height:100%;background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-md);overflow:hidden;border:1px solid var(--cream-dark); }
.pb-bar { height:28px;background:var(--cream-card);display:flex;align-items:center;padding:0 10px;gap:6px;border-bottom:1px solid var(--cream-dark); }
.pb-dots { display:flex;gap:4px; }
.pb-dots span { width:7px;height:7px;border-radius:50%; }
.pb-dots span:nth-child(1){background:#F87171;}.pb-dots span:nth-child(2){background:#FCD34D;}.pb-dots span:nth-child(3){background:#34D399;}
.pb-url  { flex:1;background:var(--cream);border-radius:4px;height:16px;font-size:0.55rem;color:var(--muted);display:flex;align-items:center;padding:0 6px; }
.pb-content { padding:10px; }
.pb-headline{ height:10px;width:60%;background:var(--blue);border-radius:3px;margin-bottom:6px;opacity:0.6; }
.pb-tagline { height:7px;width:85%;background:var(--muted-light);border-radius:3px;margin-bottom:10px;opacity:0.4; }
.pb-grid    { display:grid;grid-template-columns:1fr 1fr;gap:5px; }
.pb-grid div{ height:28px;background:var(--cream-card);border-radius:4px; }
.ph-icon    { font-size:2.5rem;margin-bottom:0.5rem; }
.ph-text    { font-size:0.8rem;font-weight:600;color:var(--muted); }

.project-overlay { position:absolute;inset:0;background:rgba(26,86,219,0.88);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s; }
.project-card:hover .project-overlay { opacity:1; }
.project-link-btn { color:#fff;font-size:0.85rem;font-weight:700;padding:0.65rem 1.5rem;border:2px solid rgba(255,255,255,0.5);border-radius:var(--radius-full);transition:background 0.2s,transform 0.2s; }
.project-link-btn:hover  { background:rgba(255,255,255,0.15);transform:scale(1.05); }
.project-link-btn.coming { cursor:default;opacity:0.7; }

.project-info  { padding:1.5rem; }

.project-tag-row {
  display: flex; align-items: center; gap: 0.6rem;
  flex-wrap: wrap; margin-bottom: 0.6rem;
}
.project-tag {
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
}
.project-tag.flagship {
  background: rgba(26,86,219,0.1);
  color: var(--blue);
  border: 1px solid rgba(26,86,219,0.25);
}
.project-tag.client {
  background: rgba(16,185,129,0.09);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.25);
}
.project-tag-badges { display: flex; gap: 0.4rem; }
.project-badge {
  font-size: 0.62rem; font-weight: 700;
  background: var(--navy); color: #fff;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-title { font-family:var(--font-serif);font-size:1.1rem;font-weight:700;color:var(--navy);margin-bottom:0.6rem;line-height:1.3; }
.project-desc  { font-size:0.82rem;color:var(--muted);line-height:1.7;margin-bottom:0.85rem; }
.project-tech  { display:flex;flex-wrap:wrap;gap:0.4rem;margin-bottom:1rem; }
.project-tech span { font-size:0.68rem;font-weight:600;color:var(--muted);background:var(--cream-card);border:1px solid var(--cream-dark);padding:0.2rem 0.6rem;border-radius:var(--radius-full); }
.project-cta   { display:inline-flex;align-items:center;gap:0.3rem;font-size:0.85rem;font-weight:700;color:var(--blue);transition:gap 0.2s; }
.project-cta:hover { gap:0.6rem; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact { background: var(--cream-2); }
.contact-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl); padding: 4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
  box-shadow: var(--shadow-md); position: relative; z-index: 1; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(26,86,219,0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contact-sub { font-size:1rem;color:var(--muted);line-height:1.7;margin-bottom:2.5rem; }
.contact-links { display:flex;flex-direction:column;gap:1rem; }
.contact-link {
  display:flex;align-items:center;gap:1rem;
  padding:1rem 1.25rem;background:var(--cream);border:1px solid var(--cream-dark);
  border-radius:var(--radius-md);
  transition:border-color 0.3s,transform 0.3s var(--ease-bounce),box-shadow 0.3s;
}
.contact-link:hover { border-color:rgba(26,86,219,0.3); animation: hoverFloat 2.2s ease-in-out infinite; transition: none; }
.contact-link-icon { width:40px;height:40px;background:rgba(26,86,219,0.09);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:0.9rem;font-weight:700;color:var(--blue);flex-shrink:0; }
.contact-link-icon--ig { background: rgba(26,86,219,0.09); color: var(--blue); }
.contact-link-label { font-size:0.68rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted-light);margin-bottom:0.15rem; }
.contact-link-val   { font-size:0.88rem;font-weight:600;color:var(--navy); }

/* Book CTA */
.book-project-cta {
  margin-top: 1.75rem;
  width: 100%; justify-content: center;
}
.book-response-note {
  font-size: 0.75rem; color: var(--muted);
  text-align: center; margin-top: 0.6rem;
  letter-spacing: 0.03em;
}

/* ── Code Terminal ─────────────────────────────────────────── */
.code-terminal {
  background: #0d1117;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(26,86,219,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: 'Courier New', Courier, monospace;
  animation: termFloat 5s ease-in-out infinite;
}
@keyframes termFloat {
  0%,100% { transform: translateY(0px); box-shadow: var(--shadow-lg), 0 0 40px rgba(26,86,219,0.18); }
  50%     { transform: translateY(-8px); box-shadow: var(--shadow-lg), 0 0 60px rgba(26,86,219,0.28); }
}
.terminal-bar {
  background: #161b22;
  padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-filename {
  flex: 1; text-align: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.terminal-status {
  font-size: 0.65rem; color: #28c840;
  font-weight: 700; letter-spacing: 0.08em;
  animation: statusBlink 2.5s ease infinite;
}
@keyframes statusBlink {
  0%,100% { opacity:1; } 50% { opacity:0.4; }
}

/* All three screens share the same fixed height */
.terminal-screen {
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
  box-sizing: border-box;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.terminal-screen.ts-active {
  display: block;
  opacity: 1;
}
.terminal-browser-screen {
  padding: 0;
}
.terminal-lines {
  font-size: 0.78rem;
  line-height: 1.75;
  white-space: pre;
  color: #c9d1d9;
}
#deployLines {
  font-size: 0.78rem;
  line-height: 1.8;
  white-space: pre;
  color: #c9d1d9;
}
.tc-tag   { color: #7ee787; }
.tc-attr  { color: #79c0ff; }
.tc-val   { color: #ffa657; }
.tc-text  { color: #e6edf3; }
.tc-comm  { color: #8b949e; }

.terminal-cursor {
  display: inline-block;
  width: 7px; height: 1em;
  background: #58a6ff;
  border-radius: 1px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.9s step-end infinite;
}
@keyframes cursorBlink {
  0%,100% { opacity:1; } 50% { opacity:0; }
}

/* Mini browser preview screen */
.mini-browser {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mini-browser-bar {
  background: #1e2329;
  padding: 0.5rem 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mini-browser-dots { display: flex; gap: 4px; }
.mini-browser-dots span { width: 8px; height: 8px; border-radius: 50%; }
.mini-browser-dots span:nth-child(1) { background: #ff5f57; }
.mini-browser-dots span:nth-child(2) { background: #febc2e; }
.mini-browser-dots span:nth-child(3) { background: #28c840; }
.mini-browser-url {
  flex: 1; text-align: center;
  font-size: 0.62rem; color: rgba(255,255,255,0.35);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.03em;
}
.mini-browser-body {
  flex: 1;
  background: linear-gradient(150deg, #080f20 0%, #0e1a3a 100%);
  padding: 0.7rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  overflow: hidden;
}
.mini-site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.3rem 0.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.05);
}
.mini-nav-logo { width: 36px; height: 6px; background: rgba(255,255,255,0.45); border-radius: 3px; }
.mini-nav-links { display: flex; gap: 5px; }
.mini-nav-links span { width: 18px; height: 5px; background: rgba(255,255,255,0.18); border-radius: 3px; }
.mini-site-hero { padding: 0.3rem 0.3rem; display: flex; flex-direction: column; gap: 0.28rem; }
.mini-hero-badge {
  font-size: 0.5rem; color: #28c840; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.mini-hero-title {
  font-size: 0.82rem; font-weight: 800;
  color: #fff; line-height: 1.25;
  font-family: Georgia, serif;
}
.mini-hero-sub { font-size: 0.54rem; color: rgba(255,255,255,0.45); }
.mini-hero-cta {
  display: inline-block; font-size: 0.52rem;
  background: #1a56db; color: #fff;
  padding: 0.22rem 0.55rem; border-radius: 4px;
  font-weight: 700; width: fit-content; margin-top: 0.15rem;
  font-family: 'Courier New', monospace;
}
.mini-site-cards { display: flex; gap: 0.4rem; margin-top: auto; }
.mini-s-card {
  flex: 1; height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
}

/* Quote block below terminal */
.terminal-quote-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26,86,219,0.06), rgba(26,86,219,0.02));
  border: 1px solid rgba(26,86,219,0.12);
  border-radius: var(--radius-lg);
}
.terminal-quote-text {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 1.25rem;
  font-style: italic;
}
.terminal-quote-text em { color: var(--blue); font-style: normal; font-weight: 700; }

/* ── Independent Creator badge ───────────────────────────── */
.solo-creator-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 0.9rem;
  position: relative;
}
.sct-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px 2px rgba(22,163,74,0.45);
  flex-shrink: 0;
  animation: dotGlow 2s ease-in-out infinite;
}
.sct-line {
  display: inline-block;
  width: 40px; height: 1.5px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
  opacity: 0.5;
}


/* ══════════════════════════════════════════════════════════
   RESULTS
══════════════════════════════════════════════════════════ */
.results { background: var(--white); }

/* Highlights strip */
.results-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2rem 3rem;
  margin-bottom: 2.5rem;
}
.result-metric { text-align: center; }
.rm-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.rm-label {
  font-size: 0.88rem; font-weight: 800;
  color: #fff; letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.rm-sub { font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.rm-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.1);
  margin: 0 2.5rem;
}

/* Outcome cards grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.result-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s, border-color 0.3s;
}
.result-card:hover {
  border-color: rgba(26,86,219,0.2);
  animation: hoverFloat 2.2s ease-in-out infinite;
  transition: none;
}
.result-card > * { position: relative; z-index: 1; }
.result-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(26,86,219,0.09), transparent 65%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.result-card:hover::after { opacity: 1; }

.rc-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.rc-icon { font-size: 1.8rem; }
.rc-tag {
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(26,86,219,0.07);
  border: 1px solid rgba(26,86,219,0.12);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
}
.rc-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 0.5rem;
}
.rc-desc {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 1.25rem; flex: 1;
}

/* Checklist */
.rc-checklist {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.45rem; margin-top: auto;
}
.rc-check {
  font-size: 0.8rem; font-weight: 600;
  color: var(--navy); display: flex; align-items: center; gap: 0.3rem;
}

/* Security badges */
.rc-badges { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: auto; }
.rc-badge {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #16a34a;
  background: rgba(22,163,74,0.07);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Live support indicator */
.rc-live {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
  margin-top: auto;
  padding: 0.6rem 0.85rem;
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.15);
  border-radius: var(--radius-md);
}
.rc-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px rgba(22,163,74,0.55);
  animation: dotGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .results-metrics { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
  .rm-divider { display: none; }
  .results-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--navy); padding: 2.5rem 2rem; }
.footer-inner { max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:2rem;flex-wrap:wrap; }
.footer-logo  { font-family:var(--font-serif);font-size:1.4rem;font-weight:700;color:#fff;margin-right:auto; }
.footer-copy  { font-size:0.8rem;color:var(--muted-light); }
.footer-links { display:flex;gap:1.5rem; }
.footer-links a { font-size:0.8rem;color:var(--muted-light);font-weight:500;transition:color 0.2s; }
.footer-links a:hover { color:#fff; }

/* ══════════════════════════════════════════════════════════
   HAMBURGER + MOBILE MENU
══════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--cream-2); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(240,234,224,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.05rem; font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--cream-dark);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--blue); padding-left: 6px; }
.mobile-cta { margin-top: 1.25rem; text-align: center; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width:1024px) {
  .about-grid    { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: auto; }
}

@media (max-width:768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger       { display: flex; }
  .mobile-menu         { display: flex; }

  /* Global */
  .section    { padding: 3.5rem 0; }
  .container  { padding: 0 1.25rem; }

  /* Hero */
  .hero-inner   { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; gap: 0; }
  .hero-right   { display: none; }
  .hero-name    { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-tagline { font-size: 0.9rem; }
  .hero-btns    { flex-direction: column; gap: 0.75rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; justify-content: center; }
  .scroll-indicator { display: none; }

  /* Proof strip */
  .proof-inner  { gap: 0.75rem; font-size: 0.75rem; }
  .proof-divider { display: none; }

  /* About */
  .about-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-col  { display: block; }
  .about-photo-wrap { height: 400px; width: 100%; }
  .about-photo      { width: 100%; height: 100%; min-height: unset;
                      object-fit: cover; object-position: center 30%; }
  .about-panels     { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .about-panels .skill-card { padding: 1.25rem 1rem; }
  .about-panels .skill-icon { font-size: 1.5rem; }
  .about-footer     { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-header     { margin-bottom: 1.5rem; }

  /* Services */
  .services-offer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .soc-featured { transform: none; }
  .soc-featured:hover { transform: translateY(-8px); }

  /* Projects */
  .projects-grid  { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }
  .project-image  { height: 200px; }
  .project-image.small { height: 170px; }

  /* Contact */
  .contact-card   { grid-template-columns: 1fr; padding: 1.75rem 1.25rem; gap: 2rem; }
  .contact-link-val { font-size: 0.78rem; }

  /* Section headings */
  .section-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-logo  { margin-right: 0; }
}

@media (max-width:480px) {
  .hero-name   { font-size: 2.6rem; }
  .hero-role   { font-size: 1rem; }
  .about-panels { grid-template-columns: 1fr 1fr; }
  .about-photo-wrap { height: 340px; }
  .about-photo      { object-position: center 28%; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-card  { padding: 1.5rem 1rem; }
  .section-heading { font-size: 1.55rem; }
  .btn-primary, .btn-ghost { padding: 0.75rem 1.5rem; font-size: 0.88rem; }
  .proof-inner { flex-wrap: wrap; justify-content: center; }
  .nav-inner   { padding: 0 1rem; }
}
