/* =============================================================
   RealKingHubs — style.css
   Colors : #0f172a · #1e293b · #2a3f5f · #38bdf8
   Font   : Manrope
============================================================= */

:root {
  --bg:            #eef2ef;
  --surface:       #ffffff;
  --surface-2:     #f5f7f6;
  --surface-3:     #e7ece8;
  --border:        #cfd8d2;
  --border-strong: #b7c5bc;
  --accent:        #2a7a56;
  --accent-strong: #1f6345;
  --accent-soft:   #6c9f84;
  --accent-dim:    rgba(42, 122, 86, 0.08);
  --accent-glow:   rgba(42, 122, 86, 0.14);
  --shadow-soft:   rgba(19, 33, 26, 0.06);
  --shadow-mid:    rgba(19, 33, 26, 0.1);
  --text:          #142019;
  --text-2:        #435349;
  --text-3:        #6d7c73;
  --green:         #53a97c;
  --nav-h:         70px;
  --radius:        10px;
  --radius-lg:     16px;
  --ease:          0.25s ease;
}

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

html { scroll-behavior: smooth; }

html:focus-within { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(42, 122, 86, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.035), transparent 26%),
    linear-gradient(180deg, #f7faf8 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }


/* ----- SHARED ----- */

.section { padding: 100px 10%; }

.section-title {
  text-align: center;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 55px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 10px auto 0;
}


/* ----- BUTTONS ----- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease),
              background var(--ease), color var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.primary {
  background: linear-gradient(180deg, #2f845d, var(--accent));
  color: #f8fcf9;
  border-color: var(--accent);
  justify-content: center;
  box-shadow: 0 10px 22px rgba(42, 122, 86, 0.18);
}

.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 14px 28px rgba(42, 122, 86, 0.22);
}

.secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 8px 18px rgba(19, 33, 26, 0.04);
}

.secondary:hover {
  background: var(--surface);
  border-color: var(--text-2);
  box-shadow: 0 12px 24px rgba(19, 33, 26, 0.08);
}


/* ----- NAVBAR ----- */

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(183, 197, 188, 0.72);
  box-shadow: 0 6px 22px rgba(19, 33, 26, 0.04);
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 10%;
  gap: 18px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--ease);
}

.nav-links a:hover        { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  border: 0;
  line-height: 1;
}


/* ----- HERO ----- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  filter: saturate(0.8);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.28) 72%, transparent);
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 24px 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Status Badge */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(183, 197, 188, 0.6);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(19, 33, 26, 0.04);
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.status-divider {
  color: var(--border-strong);
  font-size: 10px;
}

.status-tag {
  color: var(--accent);
  font-weight: 700;
}

/* Title & Name */
.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-title .highlight-name {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Subtitle & Typewriter */
.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.subtitle-prefix {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-subtitle h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  min-height: 32px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.cursor {
  color: var(--accent);
  font-weight: 700;
  animation: blink 0.8s step-end infinite;
}

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

/* Bio */
.hero-bio {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 34px;
  font-weight: 450;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn-hero .icon-arrow {
  transition: transform var(--ease);
}

.btn-hero:hover .icon-arrow {
  transform: translateX(4px);
}

/* Tech Stack Chips */
.hero-tech-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 720px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(183, 197, 188, 0.55);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--ease);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.tech-pill:hover {
  background: #ffffff;
  border-color: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 122, 86, 0.08);
}


/* ----- INNER PAGE HEROES ----- */

.page-hero {
  position: relative;
  padding: 150px 10% 70px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(42, 122, 86, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(247, 250, 248, 0.98), rgba(239, 243, 240, 0.94));
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(42, 122, 86, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: 18px;
}

.page-hero-copy {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero-architecture::after,
.page-hero-contact::after,
.page-hero-projects::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(42, 122, 86, 0.08);
  filter: blur(10px);
}

.page-hero-architecture::after {
  right: -90px;
  top: 30px;
}

.page-hero-contact::after {
  left: -80px;
  top: 20px;
}

.page-hero-projects::after {
  right: -70px;
  top: 40px;
}


/* ----- MOTION ----- */

.hero-content,
.page-hero-inner {
  animation: heroLift 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > *:nth-child(1),
.page-hero-inner > *:nth-child(1) { animation: heroFade 0.55s ease both; animation-delay: 0.08s; }
.hero-content > *:nth-child(2),
.page-hero-inner > *:nth-child(2) { animation: heroFade 0.65s ease both; animation-delay: 0.16s; }
.hero-content > *:nth-child(3),
.page-hero-inner > *:nth-child(3) { animation: heroFade 0.75s ease both; animation-delay: 0.24s; }
.hero-content > *:nth-child(4),
.page-hero-inner > *:nth-child(4) { animation: heroFade 0.85s ease both; animation-delay: 0.32s; }

.motion-section,
.motion-card,
.motion-panel,
.motion-list-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(6px);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-card {
  transform: translateY(30px) scale(0.985);
}

.motion-list-item {
  transform: translateX(16px);
}

.motion-section.is-visible,
.motion-card.is-visible,
.motion-panel.is-visible,
.motion-list-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
  filter: blur(0);
}

.skill-card,
.project-card,
.arch-card,
.contact-panel,
.social-links a {
  transform-origin: center bottom;
}

.skill-card:hover,
.project-card:hover,
.arch-card:hover,
.contact-panel:hover {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.social-links a > i:first-child,
.card-icon {
  transition: transform 0.35s ease, background 0.35s ease;
}

.social-links a:hover > i:first-child,
.project-card:hover .card-icon,
.arch-card:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
}

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

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


/* ----- ABOUT ----- */

.about { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 248, 0.96)); }

.about-container {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.about-container,
.project-card,
.arch-card,
.contact-wrapper,
.social-links a {
  min-width: 0;
}

.about-image {
  position: relative;
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
  background: var(--surface-2);
  box-shadow: 0 26px 50px rgba(19, 33, 26, 0.08);
}

/* Corner accent brackets around the photo */
.img-border::before,
.img-border::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--accent);
  border-style: solid;
}

.img-border::before {
  top: -8px;
  left: -8px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}

.img-border::after {
  bottom: -8px;
  right: -8px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}

.about-text {
  max-width: 680px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.85;
}

.about-lead {
  font-size: 1.14rem;
  color: var(--text);
  max-width: 56ch;
  margin-bottom: 16px;
}

.about-copy {
  display: grid;
  gap: 14px;
  max-width: 60ch;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.about-details {
  margin: 28px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 16px;
  align-items: stretch;
}

.about-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(19, 33, 26, 0.03);
}

.about-details li:last-child {
  grid-column: 1 / -1;
}

.about-details li span {
  display: block;
  line-height: 1.6;
}

.about-details li i {
  color: var(--accent);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ----- SKILLS ----- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 14px 28px rgba(19, 33, 26, 0.035);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.skill-card:hover {
  border-color: rgba(42, 122, 86, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(19, 33, 26, 0.07);
}

.skill-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.skill-card-head i {
  color: var(--accent);
  font-size: 18px;
}

.skill-card-head h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.skill-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.skill-pct {
  color: var(--accent);
  font-weight: 600;
}

.skill-track {
  height: 5px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

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

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tags span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: border-color var(--ease), color var(--ease);
}

.skill-tags span:hover {
  border-color: var(--border-strong);
  color: var(--text-2);
}


/* ----- PROJECTS ----- */

.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter {
  padding: 7px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-2);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease);
}

.filter:hover,
.filter.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(42, 122, 86, 0.08);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.project-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--surface-2);
  cursor: zoom-in;
  border: 1px solid var(--border);
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  isolation: isolate;
  height: auto;
  box-shadow: 0 18px 34px rgba(19, 33, 26, 0.04);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(42, 122, 86, 0.04), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 247, 0.98));
  z-index: -1;
}

.project-card:hover {
  border-color: rgba(42, 122, 86, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(19, 33, 26, 0.08);
}

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

.project-card.hidden { display: none; }

.project-card.featured {
  grid-column: span 2;
  border-color: rgba(42, 122, 86, 0.16);
  padding: 28px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-icon { font-size: 28px; line-height: 1; }

.featured-badge {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(42, 122, 86, 0.08);
  border: 1px solid rgba(42, 122, 86, 0.16);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.project-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.28;
}

.project-card > p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin: 0;
}

.project-card > p + p {
  margin-top: -2px;
}

.card-outcomes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid rgba(183, 197, 188, 0.62);
}

.card-outcomes li {
  font-size: 13px;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.card-outcomes li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 10px;
}

.card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-stack span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
}

.card-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.link-accent {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--ease);
}

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

.link-muted {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--ease);
}

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

.project-card .card-header + h3 {
  margin-top: 2px;
}

.project-card h3 + .project-img,
.project-card h3 + p {
  margin-top: 2px;
}

.project-card-expandable {
  gap: 14px;
}

.project-visual-frame {
  position: relative;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(183, 197, 188, 0.56);
  background: linear-gradient(180deg, rgba(245, 247, 246, 0.98), rgba(255, 255, 255, 0.98));
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.project-visual-wrapper {
  position: relative;
  width: 100%;
}

.project-visual-wrapper .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  font-family: sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  background: var(--accent, #2a7a56);
  border: 2px solid #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0.8;
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-visual-wrapper .carousel-arrow.prev {
  left: 20px;
}

.project-visual-wrapper .carousel-arrow.next {
  right: 20px;
}

.project-visual-wrapper .carousel-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.12);
  background: var(--accent-strong, #1f6345);
}

.project-visual-wrapper .carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.project-visual-wrapper .carousel-arrow.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (hover: none) {
  .project-visual-wrapper .carousel-arrow {
    opacity: 0.85;
  }
}

.project-visual-frame::-webkit-scrollbar {
  height: 6px;
}

.project-visual-frame::-webkit-scrollbar-thumb {
  background: var(--border-strong, rgba(0, 0, 0, 0.2));
  border-radius: 3px;
}

.project-visual-frame .project-img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  object-fit: cover;
}

.project-lead {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.project-subtitle {
  font-size: 15px;
  color: var(--text);
  font-weight: 800;
  margin-top: 2px;
}

.project-details {
  display: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.project-details.open {
  display: block;
}

.project-details .card-links {
  margin-top: 16px;
}

.project-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.project-toggle-btn:hover {
  background: #edf2ef;
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.project-card.is-open .project-toggle-btn {
  background: rgba(42, 122, 86, 0.08);
  border-color: rgba(42, 122, 86, 0.18);
  color: var(--accent-strong);
}


/* ----- PROJECTS PAGE ----- */

.projects-page-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.project-page-section {
  padding-top: 40px;
}

.project-section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.project-grid-library {
  grid-template-columns: 1fr;
  max-width: 1280px;
  align-items: stretch;
  gap: 26px;
}

.project-grid-library .project-card,
.project-grid-library .project-card.featured {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 30px;
}

.project-grid-library .project-card h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  line-height: 1.14;
  max-width: 980px;
}

.project-grid-library .card-header {
  margin-bottom: 6px;
}

.project-grid-library .card-icon {
  font-size: 34px;
}

.project-grid-library .project-visual-frame {
  padding: 12px;
  border-radius: 24px;
}

.project-grid-library .project-img {
  aspect-ratio: 16 / 8.3;
  border-radius: 18px;
}

.project-grid-library .project-lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 980px;
}

.project-grid-library .card-stack {
  gap: 12px;
}

.project-grid-library .card-stack span {
  font-size: 12px;
  padding: 9px 16px;
}

.project-grid-library .project-details {
  padding-top: 22px;
}

.project-grid-library .project-details p,
.project-grid-library .card-outcomes li,
.project-grid-library .link-accent,
.project-grid-library .link-muted {
  font-size: 15px;
}

.project-grid-library .project-subtitle {
  font-size: 18px;
  margin-bottom: 2px;
}

.project-grid-library .card-outcomes {
  gap: 10px;
  padding: 20px 22px;
  border-radius: 22px;
}

.project-grid-library .project-toggle-btn {
  min-height: 56px;
  border-radius: 20px;
  font-size: 15px;
}


/* ----- CONTACT ----- */

.contact { background: var(--surface); }

.contact-page-section {
  padding-top: 26px;
}

.contact-section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.contact-section-copy {
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px rgba(19, 33, 26, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
  height: 100%;
}

.contact-form-panel {
  display: flex;
  flex-direction: column;
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(90, 163, 127, 0.35));
}

.contact-panel-head {
  margin-bottom: 24px;
}

.contact-panel-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel-head h3 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 0;
}

.contact-left form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.form-group input,
.form-group textarea {
  background: linear-gradient(180deg, rgba(250, 251, 250, 0.98), rgba(245, 247, 246, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text);
  width: 100%;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  resize: vertical;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 122, 86, 0.12);
  transform: translateY(-1px);
}

.contact-form-panel .btn.primary {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  font-size: 15px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(250, 251, 250, 0.98), rgba(245, 247, 246, 0.96));
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.social-links a:hover {
  border-color: rgba(42, 122, 86, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(19, 33, 26, 0.08);
}

.social-links a > i:first-child {
  font-size: 20px;
  color: var(--accent);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  text-align: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(42, 122, 86, 0.08);
}

.social-links a div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-links a div span  { font-size: 15px; font-weight: 700; color: var(--text); }
.social-links a div small { font-size: 12px; color: var(--text-2); line-height: 1.5; }

.social-links a .arrow {
  font-size: 12px;
  color: var(--text-3);
  transition: color var(--ease), transform var(--ease);
}

.social-links a:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.avail-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 246, 0.98));
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  box-shadow: 0 12px 26px rgba(19, 33, 26, 0.04);
}

.avail-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);   }
}


/* ----- FOOTER ----- */

footer {
  margin-top: 0;
  background:
    linear-gradient(180deg, #182019 0%, #121914 100%);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  padding: 40px 10% 34px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.site-footer-logo i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(90, 163, 127, 0.14);
  color: var(--accent-soft);
  font-size: 22px;
}

.site-footer-copy {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-column h3 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.1;
  color: #f5f8f6;
  font-weight: 700;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-links a,
.site-footer-contact a,
.site-footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer-links a {
  text-decoration: none;
  transition: color var(--ease), transform var(--ease);
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #b4d2be;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer-contact p,
.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-footer-contact i {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer-social-title {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(216, 231, 221, 0.18);
  border-radius: 8px;
  font-size: 20px;
  transition: transform var(--ease), color var(--ease), background var(--ease), border-color var(--ease);
}

.site-footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(90, 163, 127, 0.14);
  border-color: rgba(90, 163, 127, 0.24);
  color: #c6dfcf;
}

.site-footer-bottom {
  background: rgba(16, 23, 18, 0.9);
  border-top: 1px solid rgba(216, 231, 221, 0.12);
  padding: 12px 10%;
  text-align: center;
}

.site-footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer-bottom a {
  color: #b4d2be;
}

.site-footer-bottom a:hover {
  color: #ffffff;
}


/* ----- ARCHITECTURE PAGE ----- */

.architecture-section {
  padding: 40px 10% 100px;
  background: var(--bg);
}

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

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.arch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(19, 33, 26, 0.04);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.arch-card:hover {
  border-color: rgba(42, 122, 86, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(19, 33, 26, 0.08);
}

.arch-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--surface-2);
}

.project-img:hover,
.arch-img:hover {
  filter: saturate(1.02);
}

.arch-card-body { padding: 20px; }

.arch-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.arch-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.view-more-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 7px 16px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.view-more-btn:hover {
  background: rgba(42, 122, 86, 0.08);
  border-color: rgba(42, 122, 86, 0.22);
  color: var(--accent-strong);
}

.arch-more {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.arch-more.open { display: block; }

.skill-card,
.project-card,
.arch-card,
.social-links a {
  content-visibility: auto;
  contain-intrinsic-size: 1px 280px;
}


/* ----- IMAGE MODAL ----- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.show { display: flex; }

.modal-content {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 38px;
  color: var(--text-2);
  cursor: pointer;
  line-height: 1;
  transition: color var(--ease);
}

.close:hover { color: var(--text); }


/* ----- RESPONSIVE ----- */

@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }

  .navbar {
    padding: 0 6%;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h); right: -100%;
    width: min(280px, 82vw);
    height: calc(100vh - var(--nav-h));
    background: rgba(247, 250, 248, 0.98);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 32px rgba(19, 33, 26, 0.08);
    flex-direction: column;
    padding: 28px 22px;
    gap: 4px;
    transition: right var(--ease);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after { display: none; }

  .menu-toggle { display: block; }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-content,
  .page-hero-inner {
    max-width: 680px;
  }

  .about-container   { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about-image       { max-width: 250px; margin: 0 auto; }
  .about-text        { max-width: 100%; }
  .about-lead,
  .about-copy        { max-width: 100%; }
  .about-details     { grid-template-columns: 1fr; justify-items: center; }
  .about-details li,
  .about-details li:last-child { grid-column: auto; width: min(100%, 460px); text-align: left; }
  .about-actions     { justify-content: center; }

  .contact-wrapper   { grid-template-columns: 1fr; gap: 22px; }
  .site-footer-main  {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.75fr) minmax(0, 0.95fr);
    gap: 24px;
    padding: 34px 6% 28px;
  }
  .site-footer-copy  { max-width: 320px; }

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

  .project-grid-library .project-card,
  .project-grid-library .project-card.featured {
    padding: 28px 24px;
  }

  .project-grid-library .project-card h3 {
    font-size: clamp(1.7rem, 4vw, 2rem);
  }

  .project-grid-library .project-img {
    aspect-ratio: 16 / 9.5;
  }

  .filter-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .filter-row::-webkit-scrollbar {
    height: 4px;
  }

  .filter {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .section { padding: 80px 6%; }
  .page-hero { padding: 130px 6% 56px; }
  .architecture-section { padding: 28px 6% 80px; }
  .project-card.featured { grid-column: span 1; }
}

@media (max-width: 820px) {
  .site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .site-footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  html,
  html:focus-within { scroll-behavior: auto; }

  .hero-content h1 { font-size: 2rem; }
  .skills-grid     { grid-template-columns: 1fr; }
  .architecture-grid { grid-template-columns: 1fr; }
  .hero-buttons    { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 240px; justify-content: center; }
  .page-hero { padding: 118px 6% 48px; }
  .page-hero-tag { font-size: 11px; letter-spacing: 0.11em; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero-copy { font-size: 15px; }
  .page-hero-actions { flex-direction: column; align-items: center; }
  .page-hero-actions .btn { width: 100%; max-width: 260px; justify-content: center; }
  .about-lead {
    font-size: 0.98rem;
  }
  .about-details li {
    justify-content: flex-start;
    width: 100%;
    padding: 12px 13px;
  }
  .about-actions {
    flex-direction: column;
  }
  .about-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .contact-panel { padding: 22px 18px; border-radius: 22px; }
  .contact-section-copy { margin-top: 0; }
  .contact-panel-head h3 { font-size: 1.55rem; }
  .social-links a { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .social-links a > i:first-child { width: 40px; height: 40px; font-size: 18px; }
  .avail-pill { padding: 14px 16px; }
  .site-footer-logo { font-size: 15px; }
  .site-footer-logo i { width: 40px; height: 40px; font-size: 20px; }
  .site-footer-column h3 { font-size: 1.45rem; }
  .site-footer-bottom { padding: 12px 6%; }
  .project-grid-library .project-card,
  .project-grid-library .project-card.featured {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .project-grid-library .project-card h3 {
    font-size: 1.8rem;
  }
  .project-grid-library .project-lead {
    font-size: 16px;
  }
  .project-grid-library .project-img {
    aspect-ratio: 16 / 10;
  }
  .project-grid-library .project-toggle-btn {
    min-height: 52px;
    font-size: 14px;
  }
  .project-card,
  .skill-card,
  .arch-card-body { padding-left: 18px; padding-right: 18px; }
  .card-links { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .about-container {
    gap: 30px;
  }

  .about-image {
    max-width: 220px;
  }

  .navbar {
    padding: 0 5%;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero-content {
    padding: 0 16px;
  }

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

  .hero-subtitle h2 {
    font-size: 0.98rem;
    min-height: 26px;
  }

  .section {
    padding: 72px 5%;
  }

  .page-hero {
    padding: 108px 5% 42px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero-copy,
  .projects-page-copy,
  .contact-section-copy,
  .contact-intro {
    font-size: 14px;
  }

  .project-grid-library .project-card,
  .project-grid-library .project-card.featured,
  .contact-panel,
  .skill-card,
  .arch-card-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-grid-library .project-card h3 {
    font-size: 1.55rem;
  }

  .project-grid-library .card-stack span,
  .card-stack span {
    padding: 7px 12px;
  }

  .site-footer-main {
    padding: 30px 5% 24px;
  }

  .site-footer-links a,
  .site-footer-contact a,
  .site-footer-contact p,
  .site-footer-copy {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within { scroll-behavior: auto; }

  .hero-content,
  .page-hero-inner,
  .hero-content > *,
  .page-hero-inner > *,
  .motion-section,
  .motion-card,
  .motion-panel,
  .motion-list-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
