/* ===================================================================
   SHOPIFY DEVELOPER PORTFOLIO — CORE STYLESHEET
   Design language: dark, premium, "rendered template" motif.
   Signature element: Liquid-tag chips {% like %} this, used as the
   connective tissue across labels, pills, nav eyebrows and stats —
   a nod to Shopify's own templating language.
=================================================================== */

:root {
  /* ---- Color tokens ---- */
  --bg: #0D1117;
  --bg-elevated: #10151C;
  --bg-soft: #131922;
  --card: #161B22;
  --card-hover: #1B222C;
  --border: rgba(149, 191, 71, 0.14);
  --border-strong: rgba(149, 191, 71, 0.32);

  --primary: #95BF47;
  --primary-bright: #ACD65E;
  --primary-dim: #6E9438;
  --emerald: #2FBF8F;
  --white: #F0F6FC;
  --soft-gray: #8B949E;
  --muted: #5C6470;

  --gradient-brand: linear-gradient(135deg, #95BF47 0%, #2FBF8F 100%);
  --gradient-border: linear-gradient(135deg, rgba(149,191,71,0.55), rgba(47,191,143,0.05));
  --gradient-radial: radial-gradient(circle at 20% 20%, rgba(149,191,71,0.10), transparent 45%);

  --shadow-soft: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lift: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(149,191,71,0.15);

  /* ---- Type tokens ---- */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* ---- Layout tokens ---- */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --gap-section: 140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: var(--primary); color: #0D1117; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ---- Background ambience ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-radial), var(--bg);
  z-index: -2;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  background: rgba(149,191,71,0.08);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

.eyebrow::before { content: '{%'; opacity: 0.55; }
.eyebrow::after { content: '%}'; opacity: 0.55; }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--soft-gray); font-size: 17px; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #08110A;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(149,191,71,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(149,191,71,0.35); }

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--white);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--primary); background: rgba(149,191,71,0.06); }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple .6s var(--ease);
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.5); opacity: 0; } }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: all .4s var(--ease);
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(13,17,23,0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--soft-gray);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; z-index: 210; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s var(--ease); }

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 300;
  width: 0%;
}

/* ---- Mouse glow ---- */
.mouse-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149,191,71,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}

/* ---- Cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}
.card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

.glass {
  background: rgba(22,27,34,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 .role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.42em;
  font-weight: 500;
  color: var(--primary);
  margin-top: 14px;
}
.hero .cursor {
  display: inline-block;
  width: 3px; height: 0.9em;
  background: var(--primary);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

.hero p.lead {
  font-size: 18px;
  color: var(--soft-gray);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 44px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
}
.stat-num span.suffix { color: var(--primary); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Hero visual ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
}
.orbit-ring {
  position: absolute;
  width: 380px; height: 380px;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit-ring.ring-2 { width: 440px; height: 440px; animation-duration: 34s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.shopify-badge {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: spin 26s linear infinite;
}
.shopify-badge img { width: 96px; height: 96px; opacity: 0.9; filter: drop-shadow(0 0 22px rgba(149,191,71,0.4)); }

.profile-frame {
  position: relative;
  width: 260px; height: 260px;
  border-radius: 50%;
  padding: 5px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  z-index: 3;
}
.profile-frame img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  pointer-events: none;
  animation: floaty linear infinite;
}
@keyframes floaty {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-140px) translateX(20px); opacity: 0; }
}

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.scroll-cue .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid var(--muted);
  border-radius: 12px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 6px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldown 1.6s ease infinite;
}
@keyframes scrolldown { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- About preview / grid ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.about-visual .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.floating-tag {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow-soft);
  animation: hover-float 5s ease-in-out infinite;
}
.floating-tag.tag-1 { top: 12%; right: -40px; }
.floating-tag.tag-2 { bottom: 10%; left: -36px; animation-delay: 1.5s; }
@keyframes hover-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.about-copy h3 { font-size: 26px; margin-bottom: 18px; }
.about-copy p { color: var(--soft-gray); margin-bottom: 18px; }
.about-copy p:last-of-type { margin-bottom: 28px; }

.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.mini-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--soft-gray); }
.mini-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---- Skills ---- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-card { text-align: left; }
.skill-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(149,191,71,0.09);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 18px;
}
.skill-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.skill-card p { font-size: 13.5px; color: var(--soft-gray); margin-bottom: 16px; }

.skill-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.skill-bar span {
  display: block; height: 100%;
  background: var(--gradient-brand);
  border-radius: 4px;
  width: 0;
  transition: width 1.4s var(--ease);
}

.liquid-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary-bright);
  background: rgba(149,191,71,0.08);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-num {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { color: var(--soft-gray); font-size: 14.5px; margin-bottom: 20px; flex-grow: 1; }
.service-link { font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.service-link:hover { gap: 10px; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1.5px;
  background: linear-gradient(var(--primary), transparent);
}
.timeline-item { position: relative; padding-bottom: 52px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px; top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
}
.timeline-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.timeline-item h3 { font-size: 19px; margin-bottom: 6px; }
.timeline-item .org { color: var(--soft-gray); font-size: 14px; margin-bottom: 12px; }
.timeline-item p.desc { color: var(--soft-gray); font-size: 14.5px; max-width: 620px; }

/* ---- Projects ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg-soft); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,17,23,0.9));
}
.project-body { padding: 26px 28px 28px; }
.project-body h3 { font-size: 18.5px; margin-bottom: 10px; }
.project-body p { color: var(--soft-gray); font-size: 14px; margin-bottom: 18px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tech-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--soft-gray);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}
.project-actions { display: flex; gap: 12px; }
.project-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  transition: all .3s;
}
.project-actions a.visit { background: var(--gradient-brand); color: #08110A; border: none; }
.project-actions a.visit:hover { filter: brightness(1.08); }
.project-actions a.code:hover { background: rgba(149,191,71,0.08); }

/* ---- Process ---- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { text-align: left; position: relative; }
.process-step .step-tag {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 18px;
  display: block;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--soft-gray); }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12px; right: -12px;
  width: 24px; height: 1px;
  background: var(--border-strong);
  display: none;
}
@media (min-width: 992px) { .process-step:not(:last-child)::after { display: block; } }

/* ---- Testimonials ---- */
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { display: flex; flex-direction: column; }
.t-quote-mark { font-family: var(--font-mono); font-size: 34px; color: var(--primary); line-height: 1; margin-bottom: 14px; }
.t-card p.quote { color: var(--soft-gray); font-size: 14.5px; margin-bottom: 26px; flex-grow: 1; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; color: #08110A; font-size: 14px;
}
.t-name { font-size: 14px; font-weight: 500; }
.t-role { font-size: 12.5px; color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--card);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  font-size: 15.5px; font-weight: 500;
}
.faq-icon { font-family: var(--font-mono); color: var(--primary); transition: transform .35s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
  color: var(--soft-gray);
  font-size: 14.5px;
}
.faq-a-inner { padding: 0 26px 24px; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---- Contact CTA (home) ---- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(149,191,71,0.08), rgba(47,191,143,0.03));
}
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.cta-banner p { color: var(--soft-gray); max-width: 520px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13.5px; color: var(--soft-gray); margin-bottom: 8px; font-family: var(--font-mono); }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14.5px;
  transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(149,191,71,0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-info-card { margin-bottom: 20px; }
.contact-info-card .row { display: flex; align-items: center; gap: 16px; }
.contact-info-card .icon-wrap { flex-shrink: 0; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 14px; color: var(--soft-gray); }
.map-placeholder {
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-soft);
}
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
  font-size: 15px;
}
.social-icon:hover { background: var(--primary); color: #08110A; transform: translateY(-4px); border-color: var(--primary); }

/* ---- Footer ---- */
.footer { padding: 90px 0 30px; border-top: 1px solid var(--border); margin-top: var(--gap-section); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer-brand p { color: var(--soft-gray); font-size: 14px; margin: 18px 0 24px; max-width: 300px; }
.footer h4 { font-size: 14.5px; margin-bottom: 20px; color: var(--white); }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 14px; color: var(--soft-gray); transition: color .25s, padding-left .25s; }
.footer ul li a:hover { color: var(--primary); padding-left: 4px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 6px; }
.newsletter-form input {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 13.5px;
}
.newsletter-form button {
  background: var(--gradient-brand);
  color: #08110A;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}
.back-to-top {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.back-to-top:hover { background: var(--primary); color: #08110A; transform: translateY(-4px); }

/* ---- Page header (inner pages) ---- */
.page-header { padding: 170px 0 80px; text-align: center; }
.page-header .eyebrow { margin: 0 auto 20px; }
.page-header h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 16px; }
.page-header p { color: var(--soft-gray); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 18px; }
.breadcrumb span { color: var(--primary); }

/* ---- Loader ---- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark { font-family: var(--font-mono); color: var(--primary); font-size: 15px; }
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0%; background: var(--gradient-brand); animation: load 1.1s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

/* ---- Misc ---- */
.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); display: inline-block; }
.download-cv { display: inline-flex; align-items: center; gap: 10px; }
.awards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lang-row { display: flex; gap: 30px; }
.lang-item { flex: 1; }
.lang-item h4 { font-size: 15px; margin-bottom: 10px; }
