:root {
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Dark theme (default) */
  --bg-1: #0B1220;
  --bg-2: #060A14;
  --bg-radial: #101a30;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --heading: #FFFFFF;
  --text: #E8ECF4;
  --text-soft: #C9D2E3;
  --muted: #94A3B8;
  --accent: #2563EB;
  --accent-2: #3B82F6;
  --accent-soft: rgba(37, 99, 235, 0.16);
  --accent-text: #93C5FD;
  --on-accent: #FFFFFF;
  --gold: #EAB308;
  --gold-2: #FACC15;
  --gold-soft: rgba(234, 179, 8, 0.2);
  --on-gold: #0F172A;
  --shadow: 0 20px 50px rgba(4, 8, 20, 0.45);
  --shadow-sm: 0 10px 24px rgba(4, 8, 20, 0.35);
  --input-bg: rgba(0, 0, 0, 0.3);
  --media-bg: rgba(0, 0, 0, 0.2);
  --star-opacity: 0.55;
  --nav-bg: rgba(6, 10, 20, 0.75);
  --nav-bg-mobile: rgba(6, 10, 20, 0.97);
  --glow-1: rgba(249, 115, 22, 0.45);
  --glow-2: rgba(234, 88, 12, 0.24);
  --glow-inset: rgba(255, 255, 255, 0.18);
  --card-tint-1: rgba(37, 99, 235, 0.15);
  --card-tint-2: rgba(234, 179, 8, 0.12);
  --thumb-overlay: rgba(6, 10, 20, 0.55);
  --icon-chip-bg: #FFFFFF;
  --icon-chip-border: rgba(15, 23, 42, 0.08);
  --orbit-line: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg-1: #EAF4FF;
  --bg-2: #FFFFFF;
  --bg-radial: #DCEEFF;
  --sky-top: #BFE0FB;
  --sky-mid: #DCEEFC;
  --sky-horizon: #F3F9FF;
  --sun-glow: rgba(255, 209, 128, 0.55);
  --sun-glow-soft: rgba(255, 236, 179, 0.35);
  --cloud-color: rgba(255, 255, 255, 0.85);
  --surface: #FFFFFF;
  --surface-hover: #F1F5F9;
  --border: #E2E8F0;
  --heading: #0F172A;
  --text: #1E293B;
  --text-soft: #334155;
  --muted: #64748B;
  --accent: #1E3A8A;
  --accent-2: #2563EB;
  --accent-soft: rgba(30, 58, 138, 0.08);
  --accent-text: #1D4ED8;
  --on-accent: #FFFFFF;
  --gold: #EAB308;
  --gold-2: #FACC15;
  --gold-soft: rgba(234, 179, 8, 0.14);
  --on-gold: #0F172A;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 18px rgba(15, 23, 42, 0.06);
  --input-bg: #F8FAFC;
  --media-bg: #F1F5F9;
  --star-opacity: 0;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-bg-mobile: rgba(255, 255, 255, 0.97);
  --glow-1: rgba(249, 115, 22, 0.32);
  --glow-2: rgba(234, 88, 12, 0.18);
  --glow-inset: rgba(255, 255, 255, 0.5);
  --card-tint-1: rgba(30, 58, 138, 0.06);
  --card-tint-2: rgba(234, 179, 8, 0.08);
  --card-tint-2: rgba(124, 58, 237, 0.06);
  --thumb-overlay: rgba(15, 23, 42, 0.55);
  --icon-chip-bg: #FFFFFF;
  --icon-chip-border: rgba(15, 23, 42, 0.08);
  --orbit-line: rgba(30, 58, 138, 0.22);
  color-scheme: light;
}

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

h1, h2, h3,
.logo-word,
.avatar-core span,
.hero-title,
.section-title,
.timeline-header h3,
.project-content h3,
.blog-card h3,
.blog-list-card h2,
.post-header h1,
.admin-card h2 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

html {
  scroll-behavior: smooth;
}

/* ---------- Accessibility: focus & skip link ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--gold);
  color: var(--on-gold);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 2000;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--on-gold);
  outline-offset: 2px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body, header, section, footer, a, button, input, textarea, svg {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, var(--bg-radial) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  transition: background 0.4s ease;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(1.5px 1.5px at 6% 12%, var(--accent-text), transparent),
    radial-gradient(1px 1px at 14% 68%, var(--gold), transparent),
    radial-gradient(1.5px 1.5px at 23% 34%, var(--accent-text), transparent),
    radial-gradient(1px 1px at 31% 82%, var(--accent-text), transparent),
    radial-gradient(2px 2px at 38% 8%, var(--gold), transparent),
    radial-gradient(1px 1px at 44% 55%, var(--accent-text), transparent),
    radial-gradient(1.5px 1.5px at 52% 25%, var(--accent-text), transparent),
    radial-gradient(1px 1px at 59% 90%, var(--gold), transparent),
    radial-gradient(1.5px 1.5px at 66% 45%, var(--accent-text), transparent),
    radial-gradient(1px 1px at 73% 15%, var(--accent-text), transparent),
    radial-gradient(2px 2px at 80% 63%, var(--gold), transparent),
    radial-gradient(1px 1px at 87% 30%, var(--accent-text), transparent),
    radial-gradient(1.5px 1.5px at 93% 78%, var(--accent-text), transparent),
    radial-gradient(1px 1px at 9% 95%, var(--gold), transparent),
    radial-gradient(1px 1px at 97% 5%, var(--accent-text), transparent);
  background-repeat: repeat;
  background-size: 380px 380px;
  animation: stars 60s linear infinite;
  opacity: var(--star-opacity);
  transition: opacity 0.5s ease;
  z-index: -1;
}

@keyframes stars {
  from { transform: translateY(0px); }
  to { transform: translateY(-380px); }
}

/* ---------- Light mode: animated day sky ---------- */

[data-theme="light"] body::before {
  background:
    radial-gradient(900px 620px at 82% -6%, var(--sun-glow) 0%, var(--sun-glow-soft) 32%, transparent 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-horizon) 72%, var(--bg-2) 100%);
  background-size: 160% 160%, 100% 100%;
  background-position: 100% 0%, 0 0;
  animation: skyDrift 26s ease-in-out infinite;
}

@keyframes skyDrift {
  0%   { background-position: 100% 0%, 0 0; }
  50%  { background-position: 70% 16%, 0 0; }
  100% { background-position: 100% 0%, 0 0; }
}

[data-theme="light"] body::after {
  background-image:
    radial-gradient(90px 26px at 8% 18%, var(--cloud-color), transparent 72%),
    radial-gradient(60px 20px at 20% 14%, var(--cloud-color), transparent 72%),
    radial-gradient(120px 32px at 55% 30%, var(--cloud-color), transparent 72%),
    radial-gradient(70px 22px at 68% 26%, var(--cloud-color), transparent 72%),
    radial-gradient(100px 28px at 88% 10%, var(--cloud-color), transparent 72%),
    radial-gradient(80px 24px at 35% 70%, var(--cloud-color), transparent 72%),
    radial-gradient(110px 30px at 78% 66%, var(--cloud-color), transparent 72%);
  background-repeat: repeat;
  background-size: 900px 500px;
  filter: blur(1.5px);
  opacity: 0.55;
  animation: cloudDrift 80s linear infinite;
}

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-900px); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 70px;
  color: var(--heading);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ---------- Navbar ---------- */

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.logo-word {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
  cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
  color: var(--heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-cv-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-cv-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle svg {
  position: absolute;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--heading);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-text .greeting,
.hero-text .hero-title,
.hero-text .hero-quote,
.hero-text .hero-buttons,
.hero-text .hero-social {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text .greeting { animation-delay: 0.05s; }
.hero-text .hero-title { animation-delay: 0.15s; }
.hero-text .hero-quote { animation-delay: 0.25s; }
.hero-text .hero-buttons { animation-delay: 0.35s; }
.hero-text .hero-social { animation-delay: 0.45s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.greeting {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--heading), var(--accent-text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cursor {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-quote {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  gap: 14px;
}

.social-link {
  color: var(--muted);
  padding: 10px;
  border-radius: 50%;
  transition: all 0.25s ease;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  cursor: pointer;
}

.social-link:hover {
  color: var(--accent-text);
  transform: scale(1.08) translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px var(--accent-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
  box-shadow: 0 10px 30px var(--gold-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--gold-soft);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
  transform: translateY(-2px);
}

/* ---------- Hero visual / avatar ---------- */

.hero-visual {
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.avatar-container {
  position: relative;
  width: 460px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-core {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow:
    0 0 50px var(--glow-1),
    0 0 100px var(--glow-2),
    inset 0 0 40px var(--glow-inset);
  animation: coreGlow 3s ease-in-out infinite alternate;
  transition: box-shadow 0.4s ease;
}

.avatar-core span {
  font-size: 3rem;
  font-weight: 700;
  color: var(--on-gold);
  letter-spacing: 1px;
}

@keyframes coreGlow {
  0% {
    box-shadow: 0 0 50px var(--glow-1), 0 0 100px var(--glow-2), inset 0 0 40px var(--glow-inset);
  }
  100% {
    box-shadow: 0 0 65px var(--glow-1), 0 0 130px var(--glow-2), inset 0 0 50px var(--glow-inset);
  }
}

/* Orbit paths: dashed guide rings drawn behind the avatar, purely decorative */
.orbit-path {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed var(--orbit-line, var(--border));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.orbit-path.ring-inner { width: 260px; height: 260px; }
.orbit-path.ring-outer { width: 420px; height: 420px; }

/* Orbit rings: zero-size pivots that rotate a full circle; each carries one
   icon positioned out at --radius along its local axis, so rotating the
   ring traces a perfect circle around the avatar. */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation-name: orbitRotate;
  animation-duration: var(--duration, 24s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.orbit-ring.reverse {
  animation-name: orbitRotateReverse;
}

.orbit-ring.ring-inner { --radius: 130px; }
.orbit-ring.ring-outer { --radius: 210px; }

@keyframes orbitRotate {
  from { transform: rotate(var(--start-angle, 0deg)); }
  to { transform: rotate(calc(var(--start-angle, 0deg) + 360deg)); }
}

@keyframes orbitRotateReverse {
  from { transform: rotate(var(--start-angle, 0deg)); }
  to { transform: rotate(calc(var(--start-angle, 0deg) - 360deg)); }
}

/* The icon chip counter-rotates in perfect sync with its ring so the logo
   itself always stays upright while it travels around the orbit. Rendered as
   a circular "planet" chip with subtle spherical shading. */
.orbit-icon {
  position: absolute;
  top: 0;
  left: var(--radius, 130px);
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--icon-chip-bg);
  border: 1px solid var(--icon-chip-border);
  box-shadow:
    var(--shadow-sm),
    inset -6px -6px 10px rgba(15, 23, 42, 0.06),
    inset 4px 4px 8px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  animation-name: counterRotate;
  animation-duration: var(--duration, 24s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.orbit-ring.reverse .orbit-icon {
  animation-name: counterRotateReverse;
}

.orbit-icon:hover {
  box-shadow:
    var(--shadow),
    inset -6px -6px 10px rgba(15, 23, 42, 0.06),
    inset 4px 4px 8px rgba(255, 255, 255, 0.6);
  border-color: var(--gold);
  z-index: 2;
}

.orbit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover tooltip: reveals the technology name above the planet chip. Since
   .orbit-icon itself carries the counter-rotation that keeps it upright, the
   pseudo-element inherits that same upright frame and always reads correctly
   regardless of where the chip currently sits on its orbit. */
.orbit-icon::after {
  content: attr(data-tech);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: rgba(15, 23, 42, 0.92);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(4, 8, 20, 0.25);
  z-index: 6;
}

.orbit-icon:hover::after,
.orbit-icon:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes counterRotate {
  from { transform: rotate(calc(var(--start-angle, 0deg) * -1)); }
  to { transform: rotate(calc((var(--start-angle, 0deg) + 360deg) * -1)); }
}

@keyframes counterRotateReverse {
  from { transform: rotate(calc(var(--start-angle, 0deg) * -1)); }
  to { transform: rotate(calc((var(--start-angle, 0deg) - 360deg) * -1)); }
}

/* ---------- About ---------- */

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
  margin-top: 40px;
  min-width: 0;
}

.about-content > * {
  min-width: 0;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.85;
  color: var(--muted);
}

.skills h3 {
  color: var(--heading);
  margin-bottom: 18px;
  font-size: 1.15rem;
  margin-top: 36px;
}

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

.skill-tag {
  background: var(--accent-soft);
  color: var(--accent-text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  border: 1px solid var(--accent-soft);
  transition: all 0.25s ease;
  cursor: default;
}

.skill-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: scale(1.05);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: sticky;
  top: 110px;
  min-width: 0;
}

.code-animation {
  background: #0B1220;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 1rem;
  color: #A9C0FF;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.code-line {
  margin-bottom: 8px;
  white-space: nowrap;
}

.code-line.indent {
  margin-left: 20px;
}

/* ---------- Timeline (Experience) ---------- */

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 46px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-soft);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.timeline-header h3 {
  font-size: 1.15rem;
  color: var(--heading);
}

.timeline-date {
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-org {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
  font-style: italic;
}

.timeline-content ul {
  color: var(--muted);
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Resume tabs ---------- */

.resume-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 44px;
}

.resume-tab-btn {
  font-family: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.resume-tab-btn:hover {
  color: var(--heading);
  border-color: var(--accent-soft);
}

.resume-tab-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
}

.resume-panel[hidden] {
  display: none;
}

.resume-panel.active {
  animation: fadeInScale 0.35s ease;
}

/* ---------- Achievements grid ---------- */

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.achievement-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-soft);
}

.achievement-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold);
}

.achievement-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.achievement-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.achievement-desc {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.4;
}

.timeline-loading {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 30px 0;
  grid-column: 1 / -1;
}

/* ---------- Testimonial ---------- */

.testimonial {
  margin-top: 90px;
  text-align: center;
}

.testimonial-eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.testimonial-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--heading);
  margin-bottom: 40px;
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testimonial-identity {
  min-width: 0;
}

.testimonial-body p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.testimonial-author-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--heading);
  font-size: 1.05rem;
}

.testimonial-author-name svg {
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-author-role {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 3px;
  line-height: 1.5;
}

.testimonial-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.testimonial-footer .testimonial-meta {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
  margin: 0;
}

.testimonial-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  text-decoration: none;
}

.testimonial-linkedin-link:hover {
  text-decoration: underline;
}

/* ---------- Projects ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.project-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.project-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.project-content h3 {
  color: var(--heading);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.project-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-tech span {
  background: var(--surface-hover);
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}

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

.project-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 21px;
  background: var(--accent-soft);
  color: var(--accent-text);
  border: 1px solid var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}

.project-store svg {
  flex-shrink: 0;
}

.project-store:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-soft);
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  color: var(--accent-text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.project-link:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-soft);
}

/* ---------- Blog (preview + list) ---------- */

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

.blog-preview-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.blog-card,
.blog-list-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.blog-card:hover,
.blog-list-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--card-tint-1), var(--card-tint-2));
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-thumb img,
.blog-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img,
.blog-list-card:hover .blog-card-thumb img,
.blog-card:hover .blog-card-thumb video,
.blog-list-card:hover .blog-card-thumb video {
  transform: scale(1.06);
}

.blog-card-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.45;
}

.blog-card-thumb .thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--thumb-overlay);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.blog-card-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card h3,
.blog-list-card h2 {
  color: var(--heading);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-card p,
.blog-list-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.blog-card-meta .post-date {
  color: var(--muted);
  font-weight: 500;
}

.blog-card-meta .post-views-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 600;
}

.blog-card-meta .post-views-count svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.blog-empty {
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
  padding: 20px 0;
}

/* ---------- Skeleton loading states ---------- */

.skeleton-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.skeleton-thumb {
  aspect-ratio: 5 / 4;
  background: var(--surface-hover);
}

.skeleton-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--surface-hover);
  overflow: hidden;
}

.skeleton-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--skeleton-shimmer, rgba(255, 255, 255, 0.12)), transparent);
  animation: shimmer 1.6s ease-in-out infinite;
}

[data-theme="light"] .skeleton-line::after {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
}

.skeleton-line.title { width: 70%; height: 16px; margin-bottom: 2px; }
.skeleton-line.wide { width: 100%; }
.skeleton-line.short { width: 55%; }

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-line::after {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .blog-preview-grid,
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .blog-preview-grid,
  .blog-list {
    grid-template-columns: 1fr;
  }
}

.blog-hero {
  padding-top: 150px;
  padding-bottom: 40px;
  text-align: center;
}

.blog-title {
  margin-bottom: 16px;
}

.blog-title::after {
  left: 50%;
}

.blog-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.blog-list-section {
  padding-top: 20px;
}

/* ---------- Single post ---------- */

.post-section {
  padding-top: 150px;
}

.post-container {
  max-width: 760px;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 30px;
  font-size: 0.92rem;
  transition: color 0.25s ease;
  cursor: pointer;
}

.back-link:hover {
  color: var(--accent-text);
}

.post-header h1 {
  font-size: 2.2rem;
  color: var(--heading);
  margin-bottom: 16px;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.post-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.post-media {
  margin-bottom: 34px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--media-bg);
}

.post-media img,
.post-media video {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-body p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 22px;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 40px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item span {
  font-weight: 500;
}

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

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-submit {
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.site-footer p {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Scroll-in reveal animations ---------- */

.slide-in-left,
.slide-in-right,
.slide-in-up {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left { transform: translateX(-30px); }
.slide-in-right { transform: translateX(30px); }
.slide-in-up { transform: translateY(30px); }

.slide-in-left.in-view,
.slide-in-right.in-view,
.slide-in-up.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered reveal for grid/list children once their container is in view */
.projects-grid.in-view > .project-card,
.timeline.in-view > .timeline-item,
.blog-preview-grid.in-view > a,
.blog-list.in-view > a {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.projects-grid.in-view > .project-card:nth-child(1),
.timeline.in-view > .timeline-item:nth-child(1),
.blog-preview-grid.in-view > a:nth-child(1),
.blog-list.in-view > a:nth-child(1) { animation-delay: 0ms; }

.projects-grid.in-view > .project-card:nth-child(2),
.timeline.in-view > .timeline-item:nth-child(2),
.blog-preview-grid.in-view > a:nth-child(2),
.blog-list.in-view > a:nth-child(2) { animation-delay: 90ms; }

.projects-grid.in-view > .project-card:nth-child(3),
.timeline.in-view > .timeline-item:nth-child(3),
.blog-preview-grid.in-view > a:nth-child(3),
.blog-list.in-view > a:nth-child(3) { animation-delay: 180ms; }

.blog-list.in-view > a:nth-child(4) { animation-delay: 270ms; }
.blog-list.in-view > a:nth-child(5) { animation-delay: 360ms; }
.blog-list.in-view > a:nth-child(6) { animation-delay: 450ms; }
.blog-list.in-view > a:nth-child(n+7) { animation-delay: 500ms; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-text .greeting,
  .hero-text .hero-title,
  .hero-text .hero-quote,
  .hero-text .hero-buttons,
  .hero-text .hero-social,
  .hero-visual {
    opacity: 1;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-quote {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    position: static;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 63px;
    left: 0;
    width: 100%;
    background: var(--nav-bg-mobile);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .avatar-container {
    width: 320px;
    height: 320px;
  }

  .avatar-core {
    width: 120px;
    height: 120px;
  }

  .avatar-core span {
    font-size: 2rem;
  }

  .orbit-ring.ring-inner { --radius: 95px; }
  .orbit-ring.ring-outer { --radius: 145px; }
  .orbit-path.ring-inner { width: 190px; height: 190px; }
  .orbit-path.ring-outer { width: 290px; height: 290px; }

  .orbit-icon {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }

  .timeline {
    padding-left: 22px;
  }

  .timeline-content {
    padding: 20px;
  }

  .code-animation {
    padding: 22px 20px;
    font-size: 0.85rem;
  }

  .post-header h1 {
    font-size: 1.7rem;
  }

  .resume-tab-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .testimonial-card {
    padding: 26px;
  }

  .testimonial-heading {
    font-size: 1.5rem;
  }
}

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

  .avatar-container {
    width: 280px;
    height: 280px;
  }

  .avatar-core {
    width: 90px;
    height: 90px;
  }

  .avatar-core span {
    font-size: 1.5rem;
  }

  .orbit-ring.ring-inner { --radius: 78px; }
  .orbit-ring.ring-outer { --radius: 118px; }
  .orbit-path.ring-inner { width: 156px; height: 156px; }
  .orbit-path.ring-outer { width: 236px; height: 236px; }

  .orbit-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
    margin: -17px 0 0 -17px;
  }

  .nav-cv-button {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .logo-word {
    display: none;
  }

  .contact-form {
    padding: 22px;
  }

  .social-links {
    justify-content: center;
  }
}

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

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-quote {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 40px;
  }

  .avatar-container {
    width: 230px;
    height: 230px;
  }

  .avatar-core {
    width: 78px;
    height: 78px;
  }

  .avatar-core span {
    font-size: 1.3rem;
  }

  .orbit-ring.ring-inner { --radius: 64px; }
  .orbit-ring.ring-outer { --radius: 98px; }
  .orbit-path.ring-inner { width: 128px; height: 128px; }
  .orbit-path.ring-outer { width: 196px; height: 196px; }

  .orbit-icon {
    width: 28px;
    height: 28px;
    padding: 5px;
    margin: -14px 0 0 -14px;
  }

  .code-animation {
    font-size: 0.72rem;
    padding: 18px 16px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 20px;
  }
}
